From 12e036bfb2db060a39eccf67acd8ec2e16fe7ec5 Mon Sep 17 00:00:00 2001 From: Elai Shalev Date: Tue, 19 Nov 2024 10:46:57 +0200 Subject: [PATCH] changes after review --- scaffolder-templates/build/.gitlab-ci.yml | 6 ++---- scaffolder-templates/gitlab-workflow/template.yaml | 1 - 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/scaffolder-templates/build/.gitlab-ci.yml b/scaffolder-templates/build/.gitlab-ci.yml index 2233834..cd73c3d 100644 --- a/scaffolder-templates/build/.gitlab-ci.yml +++ b/scaffolder-templates/build/.gitlab-ci.yml @@ -3,13 +3,11 @@ stages: update_pipelinerun: tags: - - shared-podman # Change to whatever tag your Gitlab runner is set to + - shared-podman # Change to whatever tag your Gitlab runner is set to stage: update image: ubuntu:latest script: | apt-get update && apt-get install -y git - apt-get install apt-transport-https ca-certificates -y - update-ca-certificates git config --global http.sslVerify "false" COMMIT_AUTHOR_EMAIL=$(git log -1 --pretty=format:'%ae') COMMIT_AUTHOR_NAME=$(git log -1 --pretty=format:'%an') @@ -22,4 +20,4 @@ update_pipelinerun: sed "s/__COMMIT_ID__/$COMMIT_ID/g" pipelinerun.template > pipelinerun.yaml git add pipelinerun.yaml git commit -m "Updated PipelineRun with commit id $COMMIT_ID" - git push origin HEAD:main -o ci.skip + git push origin HEAD:main -o ci.skip diff --git a/scaffolder-templates/gitlab-workflow/template.yaml b/scaffolder-templates/gitlab-workflow/template.yaml index c49ac8c..77f031f 100644 --- a/scaffolder-templates/gitlab-workflow/template.yaml +++ b/scaffolder-templates/gitlab-workflow/template.yaml @@ -448,4 +448,3 @@ spec: - title: Quay Repository icon: dashboard url: ${{ steps['createQuayRepository'].output.repositoryUrl }} - - title: Project Token