Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LSO
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
GÉANT Orchestration and Automation Team
GAP
LSO
Commits
a9373242
Verified
Commit
a9373242
authored
1 year ago
by
Karel van Klink
Browse files
Options
Downloads
Patches
Plain Diff
Make dockerfile use external lso pypi package
parent
6031bada
No related branches found
No related tags found
1 merge request
!83
Feature/make lso agnostic
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+0
-16
0 additions, 16 deletions
.gitlab-ci.yml
Dockerfile
+8
-2
8 additions, 2 deletions
Dockerfile
with
8 additions
and
18 deletions
.gitlab-ci.yml
deleted
100644 → 0
+
0
−
16
View file @
6031bada
---
stages
:
-
trigger_jenkins_build
trigger_jenkins_build
:
stage
:
trigger_jenkins_build
image
:
alpine:latest
before_script
:
-
apk add --no-cache curl
script
:
curl -u "$JENKINS_USERNAME:$JENKINS_API_TOKEN"
--data "PROJECT=goat-lso"
"http://test-swd-release-service01.geant.org:8080/job/build-python-snapshot/buildWithParameters"
only
:
-
develop
tags
:
-
docker-executor
This diff is collapsed.
Click to expand it.
Dockerfile
+
8
−
2
View file @
a9373242
FROM
ghcr.io/workfloworchestrator/lso
FROM
python:3.11-alpine
# We have to pin to 3.11 due to ncclient not supporting python 3.12 as of 2024-03-11
WORKDIR
/app
COPY
./ansible-galaxy-requirements.yaml ./ansible-galaxy-requirements.yaml
COPY
./requirements.txt ./requirements.txt
COPY
./ansible-galaxy-requirements.yaml ./ansible-galaxy-requirements.yaml
RUN
apk add
--update
--no-cache
gcc libc-dev libffi-dev curl vim bash openssh
RUN
pip
install
orchestrator-lso
==
"1.0.1"
RUN
pip
install
-r
requirements.txt
RUN
ansible-galaxy
install
\
-r
ansible-galaxy-requirements.yaml
\
-p
/app/gap/ansible
RUN
ansible-galaxy collection
install
\
-r
ansible-galaxy-requirements.yaml
\
-p
/app/gap/ansible
EXPOSE
8000
ENTRYPOINT
[]
CMD
["python", "-m", "uvicorn", "lso.app:app", "--host", "0.0.0.0", "--port", "8000"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment