Skip to content
Snippets Groups Projects

CWG-75: Secure jobs with secrets and raise awareness

Merged CWG-75: Secure jobs with secrets and raise awareness
Merged Corné Lukken requested to merge CWG-75 into main
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -108,8 +108,7 @@ package_files:
paths:
- dist/*
script:
# - curl -sSL https://get.docker.com/ | sh
# - python -m pip install cibuildwheel==2.13.1 cookiecutter
- source scripts/setup-docker-host.sh
- cibuildwheel --platform linux --output-dir dist
package_docs:
@@ -156,6 +155,7 @@ publish_on_test_pypi:
when: manual
rules:
- if: $CI_COMMIT_TAG
allow_failure: true
script:
- echo "run twine for test pypi"
# - |
@@ -164,6 +164,7 @@ publish_on_test_pypi:
# TODO: replace URL with a pipy URL
# python -m twine upload \
# --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- exit 1
publish_on_pypi:
stage: publish
@@ -173,6 +174,7 @@ publish_on_pypi:
when: manual
rules:
- if: $CI_COMMIT_TAG
allow_failure: true
script:
- echo "run twine for pypi"
# - |
@@ -181,6 +183,7 @@ publish_on_pypi:
# TODO: replace URL with a pipy URL
# python -m twine upload \
# --repository-url ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/pypi dist/*
- exit 1
publish_to_readthedocs:
stage: publish
@@ -194,3 +197,14 @@ publish_to_readthedocs:
script:
- echo "scp docs/* ???"
- exit 1
release_job:
stage: publish
image: registry.gitlab.com/gitlab-org/release-cli:latest
rules:
- if: '$CI_COMMIT_TAG && $CI_COMMIT_REF_PROTECTED == "true"'
script:
- echo "running release_job"
release:
tag_name: '$CI_COMMIT_TAG'
description: '$CI_COMMIT_TAG'
Loading