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:
build wheel:
stage: build
tags:
- docker-executor
- k8srunner
script:
- python3 setup.py sdist bdist_wheel
artifacts:
......@@ -40,7 +40,7 @@ build wheel:
test:
stage: test
# tags:
# - docker-executor
# - k8srunner
script:
- pipenv run python3 setup.py test
- mv coverage.xml ./build/reports/code-coverage.xml
......@@ -67,7 +67,7 @@ list_dependencies:
linting:
image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
tags:
- docker-executor
- k8srunner
stage: linting
script:
- make lint
......@@ -79,7 +79,7 @@ linting:
publish to nexus:
stage: publish
tags:
- docker-executor
- k8srunner
variables:
TWINE_USERNAME: $TWINE_USERNAME
TWINE_PASSWORD: $TWINE_PASSWORD
......@@ -101,7 +101,7 @@ publish to nexus:
pages:
stage: deploy
tags:
- docker-executor
- k8srunner
dependencies:
- test
script:
......@@ -120,7 +120,7 @@ create ci metrics:
image: nexus.engageska-portugal.pt/ska-docker/ska-python-buildenv:latest
when: always
tags:
- docker-executor
- k8srunner
script:
# Gitlab CI badges creation: START
- 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