Skip to content

Commit

Permalink
changes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
ElaiShalevRH committed Nov 27, 2024
1 parent 25fdf79 commit 12e036b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions scaffolder-templates/build/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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
1 change: 0 additions & 1 deletion scaffolder-templates/gitlab-workflow/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,3 @@ spec:
- title: Quay Repository
icon: dashboard
url: ${{ steps['createQuayRepository'].output.repositoryUrl }}
- title: Project Token

0 comments on commit 12e036b

Please sign in to comment.