Skip to content

Commit

Permalink
ci(testing): sync multi arch with vault module
Browse files Browse the repository at this point in the history
  • Loading branch information
g-iannelli committed Nov 12, 2024
1 parent c90e3fb commit 1e5bd73
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- "main"
# - "feat/product540/improve-support-for-arm64"
- "feat/product540/improve-support-for-arm64"
schedule:
- cron: "0 2 * * *"

Expand All @@ -17,6 +17,7 @@ jobs:
id: set_output
run: |
MODULES_TO_SYNC_JSON=$(find modules -type d -mindepth 1 -maxdepth 1 | cut -d/ -f2 | sort | jq -R | jq -cs . )
MODULES_TO_SYNC_JSON='["vault"]'
echo "MODULES_TO_SYNC_JSON=${MODULES_TO_SYNC_JSON}" >> $GITHUB_OUTPUT
outputs:
modules_to_sync: ${{ steps.set_output.outputs.MODULES_TO_SYNC_JSON }}
Expand Down Expand Up @@ -45,14 +46,14 @@ jobs:
sudo apt-get update && sudo apt-get install -yqq wget
sudo wget -q https://github.com/mikefarah/yq/releases/download/v4.19.1/yq_linux_amd64 -O /usr/bin/yq
sudo chmod +x /usr/bin/yq
- # Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/arm64
# - # Add support for more platforms with QEMU (optional)
# # https://github.com/docker/setup-qemu-action
# name: Set up QEMU
# uses: docker/setup-qemu-action@v3
# - name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v3
# with:
# platforms: linux/amd64,linux/arm64
- name: Iterate
run: |
yq --version
Expand Down

0 comments on commit 1e5bd73

Please sign in to comment.