Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update pipelines related to releasing #9653

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .semaphore/.gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
semaphore.yml linguist-generated=true
semaphore-scheduled-builds.yml linguist-generated=true
18 changes: 8 additions & 10 deletions .semaphore/generate-semaphore-yaml.sh
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
#!/bin/bash

for out_file in semaphore.yml semaphore-scheduled-builds.yml; do
echo "# !! WARNING, DO NOT EDIT !! This file is generated from semaphore.yml.tpl." >$out_file
echo "# To update, modify the template and then run 'make gen-semaphore-yaml'." >>$out_file
out_file=semaphore.yml
echo "# !! WARNING, DO NOT EDIT !! This file is generated from semaphore.yml.tpl." >$out_file
echo "# To update, modify the template and then run 'make gen-semaphore-yaml'." >>$out_file

cat semaphore.yml.d/01-preamble.yml >>$out_file
cat semaphore.yml.d/02-global_job_config.yml >>$out_file
cat semaphore.yml.d/03-promotions.yml >>$out_file
cat semaphore.yml.d/01-preamble.yml >>$out_file
cat semaphore.yml.d/02-global_job_config.yml >>$out_file
cat semaphore.yml.d/03-promotions.yml >>$out_file

echo "blocks:" >>$out_file
cat semaphore.yml.d/blocks/*.yml >>$out_file
done
echo "blocks:" >>$out_file
cat semaphore.yml.d/blocks/*.yml >>$out_file

sed -i "s/\${FORCE_RUN}/false/g" semaphore.yml
sed -i "s/\${FORCE_RUN}/true/g" semaphore-scheduled-builds.yml
1 change: 0 additions & 1 deletion .semaphore/release/hashrelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ blocks:
jobs:
- name: Build and publish hashrelease
commands:
- if [[ ${SEMAPHORE_WORKFLOW_TRIGGERED_BY_SCHEDULE} == "true" ]]; then export BUILD_CONTAINER_IMAGES=true; export PUBLISH_IMAGES=true; fi
- make hashrelease
prologue:
commands:
Expand Down
Loading
Loading