Skip to content
Snippets Groups Projects
Commit 1a2724d3 authored by Anton Joubert's avatar Anton Joubert
Browse files

Replace docker-executor with k8srunner for CI

docker-executor is deprecated - the replacement is k8srunner.
parent 5f370d53
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,7 @@ stages: ...@@ -27,7 +27,7 @@ stages:
build wheel: build wheel:
stage: build stage: build
tags: tags:
- docker-executor - k8srunner
script: script:
- python3 setup.py sdist bdist_wheel - python3 setup.py sdist bdist_wheel
artifacts: artifacts:
...@@ -40,7 +40,7 @@ build wheel: ...@@ -40,7 +40,7 @@ build wheel:
test: test:
stage: test stage: test
# tags: # tags:
# - docker-executor # - k8srunner
script: script:
- pipenv run python3 setup.py test - pipenv run python3 setup.py test
- mv coverage.xml ./build/reports/code-coverage.xml - mv coverage.xml ./build/reports/code-coverage.xml
...@@ -67,7 +67,7 @@ list_dependencies: ...@@ -67,7 +67,7 @@ list_dependencies:
linting: linting:
image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
tags: tags:
- docker-executor - k8srunner
stage: linting stage: linting
script: script:
- make lint - make lint
...@@ -79,7 +79,7 @@ linting: ...@@ -79,7 +79,7 @@ linting:
publish to nexus: publish to nexus:
stage: publish stage: publish
tags: tags:
- docker-executor - k8srunner
variables: variables:
TWINE_USERNAME: $TWINE_USERNAME TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD TWINE_PASSWORD: $TWINE_PASSWORD
...@@ -101,7 +101,7 @@ publish to nexus: ...@@ -101,7 +101,7 @@ publish to nexus:
pages: pages:
stage: deploy stage: deploy
tags: tags:
- docker-executor - k8srunner
dependencies: dependencies:
- test - test
script: script:
...@@ -120,7 +120,7 @@ create ci metrics: ...@@ -120,7 +120,7 @@ create ci metrics:
image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
when: always when: always
tags: tags:
- docker-executor - k8srunner
script: script:
# Gitlab CI badges creation: START # Gitlab CI badges creation: START
- apt-get -y update - apt-get -y update
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment