Skip to content

Commit

Permalink
Ensure buildstrap is up-to-date
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Sep 12, 2024
1 parent 10b8074 commit d4956ab
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,17 @@ jobs:
- run:
name: "Run the build itself: this will do rpmlint and check RPMs existence among other things."
command: ./utils/version-from-tag.sh && build
- run:
name: "Check for RPM files and halt if none exist"
command: |
set -x
if ls /output/*.rpm 1> /dev/null 2>&1; then
echo "RPM files found. Proceeding with persistence to workspace."
else
echo "No RPM files found. Halting the job."
curl --request POST --url https://circleci.com/api/v2/workflow/$CIRCLE_WORKFLOW_ID/cancel --header "Circle-Token: ${CIRCLE_TOKEN}"
circleci-agent step halt
fi
- persist_to_workspace:
root: /output
paths:
Expand Down Expand Up @@ -80,6 +91,7 @@ workflows:
build-deploy-amzn2-aarch64:
jobs:
- build:
context: org-global
dist: amzn2
filters:
tags: {only: /.*/}
Expand All @@ -96,6 +108,7 @@ workflows:
build-deploy-amzn2-x86_64:
jobs:
- build:
context: org-global
dist: amzn2
filters:
tags: {only: /.*/}
Expand All @@ -111,6 +124,7 @@ workflows:
build-deploy-amzn2023-aarch64:
jobs:
- build:
context: org-global
dist: amzn2023
filters:
tags: {only: /.*/}
Expand All @@ -127,6 +141,7 @@ workflows:
build-deploy-amzn2023-x86_64:
jobs:
- build:
context: org-global
dist: amzn2023
filters:
tags: {only: /.*/}
Expand All @@ -142,6 +157,7 @@ workflows:
build-deploy-el7-aarch64:
jobs:
- build:
context: org-global
dist: el7
filters:
tags: {only: /.*/}
Expand All @@ -158,6 +174,7 @@ workflows:
build-deploy-el7-x86_64:
jobs:
- build:
context: org-global
dist: el7
filters:
tags: {only: /.*/}
Expand All @@ -173,6 +190,7 @@ workflows:
build-deploy-el8-aarch64:
jobs:
- build:
context: org-global
dist: el8
filters:
tags: {only: /.*/}
Expand All @@ -189,6 +207,7 @@ workflows:
build-deploy-el8-x86_64:
jobs:
- build:
context: org-global
dist: el8
filters:
tags: {only: /.*/}
Expand All @@ -204,6 +223,7 @@ workflows:
build-deploy-el9-aarch64:
jobs:
- build:
context: org-global
dist: el9
filters:
tags: {only: /.*/}
Expand All @@ -220,6 +240,7 @@ workflows:
build-deploy-el9-x86_64:
jobs:
- build:
context: org-global
dist: el9
filters:
tags: {only: /.*/}
Expand All @@ -235,6 +256,7 @@ workflows:
build-deploy-fc39-aarch64:
jobs:
- build:
context: org-global
dist: fc39
filters:
tags: {only: /.*/}
Expand All @@ -251,6 +273,7 @@ workflows:
build-deploy-fc39-x86_64:
jobs:
- build:
context: org-global
dist: fc39
filters:
tags: {only: /.*/}
Expand All @@ -266,6 +289,7 @@ workflows:
build-deploy-fc40-aarch64:
jobs:
- build:
context: org-global
dist: fc40
filters:
tags: {only: /.*/}
Expand All @@ -282,6 +306,7 @@ workflows:
build-deploy-fc40-x86_64:
jobs:
- build:
context: org-global
dist: fc40
filters:
tags: {only: /.*/}
Expand All @@ -297,6 +322,7 @@ workflows:
build-deploy-sles15-aarch64:
jobs:
- build:
context: org-global
dist: sles15
filters:
tags: {only: /.*/}
Expand All @@ -313,6 +339,7 @@ workflows:
build-deploy-sles15-x86_64:
jobs:
- build:
context: org-global
dist: sles15
filters:
tags: {only: /.*/}
Expand Down

0 comments on commit d4956ab

Please sign in to comment.