Verified Commit a9140e66 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

automagic bom upload by convention

parent 8339d1e6
Pipeline #303109 canceled with stages
in 1 minute and 29 seconds
......@@ -8,7 +8,7 @@ include:
- template: Code-Quality.gitlab-ci.yml
- project: 'dariah-de/gitlab-templates'
ref: 'main'
file: '/templates/.deps.gitlab-ci.yml'
file: '/templates/SBOM-Upload.gitlab-ci.yml'
variables:
......@@ -126,30 +126,3 @@ pages:
only:
- develop
# Upload bom.json to deps.sub.uni-goettingen.de
upload-develop-sbom:
stage: deploy
# only:
# - develop
variables:
X_API_KEY: $DEPS_UPLOAD_TOKEN
AUTO_CREATE_PROJECT: 'true'
PROJECT_NAME: $CI_PROJECT_NAME
PROJECT_VERSION: develop
BOM_LOCATION: 'bom.json'
extends:
- .upload-bom-to-deps
upload-release-sbom:
stage: deploy
only:
- tags
variables:
X_API_KEY: $DEPS_UPLOAD_TOKEN
AUTO_CREATE_PROJECT: 'true'
PROJECT_NAME: $CI_PROJECT_NAME
PROJECT_VERSION: $CI_COMMIT_TAG
BOM_LOCATION: 'bom.json'
extends:
- .upload-bom-to-deps
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment