Skip to content

Commit

Permalink
Switch to guild-deploy for workflows (WIP)
Browse files Browse the repository at this point in the history
 - Ubuntu
 - Rocky Linux
 - Debian
  • Loading branch information
rdlrt committed Dec 2, 2022
1 parent 5f424fe commit 61a87c6
Show file tree
Hide file tree
Showing 30 changed files with 391 additions and 597 deletions.
10 changes: 5 additions & 5 deletions .github/disabled-workflows/premerge_amazonlinux2.yml
Expand Up @@ -8,7 +8,7 @@ on:
- scripts/cnode-helper-scripts/cabal-build-all.sh
- files/cabal.project.local
- files/tests/amazonlinux2_prereqs.sh.containerfile
- files/tests/amazonlinux2_prereqs.sh_-l.containerfile
- files/tests/amazonlinux2_prereqs.sh-l.containerfile

jobs:
prerequisites:
Expand Down Expand Up @@ -117,11 +117,11 @@ jobs:
export BRANCH=${{ steps.pr_branch.outputs.branch }}
export G_ACCOUNT=${{ steps.pr_branch.outputs.owner }}
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
docker build . --file files/tests/pre-merge/amazonlinux2_prereqs.sh_-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --build-arg G_ACCOUNT --tag ghcr.io/cardano-community/pre-merge-amazonlinux2:prereqs_-l_${COMMIT}
- name: Push pre-merge-amazonlinux2:prereqs_-l_${COMMIT}
docker build . --file files/tests/pre-merge/amazonlinux2_prereqs.sh-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --build-arg G_ACCOUNT --tag ghcr.io/cardano-community/pre-merge-amazonlinux2:prereqs-l_${COMMIT}
- name: Push pre-merge-amazonlinux2:prereqs-l_${COMMIT}
run: |
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
docker push ghcr.io/cardano-community/pre-merge-amazonlinux2:prereqs_-l_${COMMIT}
docker push ghcr.io/cardano-community/pre-merge-amazonlinux2:prereqs-l_${COMMIT}
build-with-system-libsodium:
needs: prerequisites-with-system-libsodium
Expand Down Expand Up @@ -155,4 +155,4 @@ jobs:
export BRANCH=${{ steps.pr_branch.outputs.branch }}
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
echo "Working from PR Branch ${BRANCH} on Commit ${COMMIT}"
docker build . --file files/tests/pre-merge/amazonlinux2-cabal_-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --tag ghcr.io/cardano-community/pre-merge-amazonlinux2:cabal_-l_${COMMIT}
docker build . --file files/tests/pre-merge/amazonlinux2-cabal-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --tag ghcr.io/cardano-community/pre-merge-amazonlinux2:cabal-l_${COMMIT}
10 changes: 5 additions & 5 deletions .github/disabled-workflows/premerge_debian.yml
Expand Up @@ -8,7 +8,7 @@ on:
- scripts/cnode-helper-scripts/cabal-build-all.sh
- files/cabal.project.local
- files/tests/pre-merge/debian_prereqs.sh.containerfile
- files/tests/pre-merge/debian_prereqs.sh_-l.containerfile
- files/tests/pre-merge/debian_prereqs.sh-l.containerfile

jobs:
prerequisites:
Expand Down Expand Up @@ -116,11 +116,11 @@ jobs:
export BRANCH=${{ steps.pr_branch.outputs.branch }}
export G_ACCOUNT=${{ steps.pr_branch.outputs.owner }}
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
docker build . --file files/tests/pre-merge/debian_prereqs.sh_-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --build-arg G_ACCOUNT --tag ghcr.io/cardano-community/pre-merge-debian:prereqs_-l_${COMMIT}
- name: Push pre-merge-debian:prereqs_-l_${COMMIT}
docker build . --file files/tests/pre-merge/debian_prereqs.sh-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --build-arg G_ACCOUNT --tag ghcr.io/cardano-community/pre-merge-debian:prereqs-l_${COMMIT}
- name: Push pre-merge-debian:prereqs-l_${COMMIT}
run: |
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
docker push ghcr.io/cardano-community/pre-merge-debian:prereqs_-l_${COMMIT}
docker push ghcr.io/cardano-community/pre-merge-debian:prereqs-l_${COMMIT}
build-with-system-libsodium:
needs: prerequisites-with-system-libsodium
Expand Down Expand Up @@ -155,4 +155,4 @@ jobs:
export BRANCH=${{ steps.pr_branch.outputs.branch }}
export COMMIT=$(git rev-parse --short "$GITHUB_SHA")
echo "Working from PR Branch ${BRANCH} on Commit ${COMMIT}"
docker build . --file files/tests/pre-merge/debian-cabal_-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --tag ghcr.io/cardano-community/pre-merge-debian:cabal_-l_${COMMIT}
docker build . --file files/tests/pre-merge/debian-cabal-l.containerfile --compress --build-arg BRANCH --build-arg COMMIT --tag ghcr.io/cardano-community/pre-merge-debian:cabal-l_${COMMIT}
158 changes: 0 additions & 158 deletions .github/disabled-workflows/premerge_rockylinux8.yml

This file was deleted.

158 changes: 0 additions & 158 deletions .github/disabled-workflows/premerge_ubuntu.yml

This file was deleted.

0 comments on commit 61a87c6

Please sign in to comment.