EOX GitLab Instance
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
View Server 2
harvester
Commits
7c98e7a6
Commit
7c98e7a6
authored
Nov 10, 2021
by
Nikola Jankovic
💻
Browse files
changed naming scheme for deployment
parent
51cdc51d
Pipeline
#18432
passed with stage
in 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7c98e7a6
stages
:
stages
:
-
test
-
test
-
deploy
-
publish
-
chart
-
chart
variables
:
variables
:
...
@@ -12,13 +12,13 @@ test:
...
@@ -12,13 +12,13 @@ test:
script
:
script
:
-
python3 setup.py install
-
python3 setup.py install
-
pip3 install -r requirements-test.txt
-
pip3 install -r requirements-test.txt
-
pytest
-
pytest
--cov harvester --cov-report term-missing
deploy
_latest
:
publish
_latest
:
image
:
docker:20.10.8
image
:
docker:20.10.8
services
:
services
:
-
docker:20.10.8-dind
-
docker:20.10.8-dind
stage
:
deploy
stage
:
publish
script
:
script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker build -t $CI_REGISTRY_IMAGE .
-
docker build -t $CI_REGISTRY_IMAGE .
...
@@ -26,11 +26,11 @@ deploy_latest:
...
@@ -26,11 +26,11 @@ deploy_latest:
only
:
only
:
-
main
-
main
deploy
:
publish
:
image
:
docker:20.10.8
image
:
docker:20.10.8
services
:
services
:
-
docker:20.10.8-dind
-
docker:20.10.8-dind
stage
:
deploy
stage
:
publish
script
:
script
:
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker login -u "$CI_REGISTRY_USER" -p "$CI_REGISTRY_PASSWORD" "$CI_REGISTRY"
-
docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
-
docker build --cache-from $CI_REGISTRY_IMAGE:latest -t $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG .
...
@@ -47,4 +47,3 @@ helm:
...
@@ -47,4 +47,3 @@ helm:
-
curl -u $HELM_CHART_REPOSITORY_CREDENTIALS -v -X POST https://charts-public.hub.eox.at/api/charts --data-binary "@${upload_filename}"
-
curl -u $HELM_CHART_REPOSITORY_CREDENTIALS -v -X POST https://charts-public.hub.eox.at/api/charts --data-binary "@${upload_filename}"
only
:
only
:
-
tags
-
tags
-
main
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment