From c7d2e849db8d28228b91904a20f5b64e2b4af25f Mon Sep 17 00:00:00 2001 From: Stefan Hynek <stefan.hynek@uni-goettingen.de> Date: Fri, 13 Jan 2023 09:28:22 +0100 Subject: [PATCH] ci(gitlab): remove "generate pipfile" and "generate app sbom" jobs syft creates suffient container sboms including app dependencies close #39 --- .gitlab-ci.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c28234..ac2985e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -77,36 +77,6 @@ build container image: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_TAG -generate pipfile: - stage: build - image: docker.io/python:3.8-alpine - before_script: - - pip install pipenv - script: - - pipenv lock - artifacts: - paths: - - Pipfile* - needs: [] - rules: - - if: $CI_COMMIT_TAG - -generate app sbom: - stage: deploy - image: docker.io/node:18.12 - before_script: - - npm ci --ignore-scripts - script: - - npx cdxgen - --type python - --server-url https://deps.sub.uni-goettingen.de - --api-key ${DEPS_UPLOAD_TOKEN} - --project-name ${project_name} - --project-version ${CI_COMMIT_TAG} - needs: ["generate pipfile"] - rules: - - if: $CI_COMMIT_TAG - generate container sbom: stage: deploy image: docker.io/alpine:3.16 -- GitLab