Skip to content

Commit

Permalink
ci: generate vendor one by one
Browse files Browse the repository at this point in the history
Signed-off-by: usamoi <[email protected]>
  • Loading branch information
usamoi committed Nov 5, 2024
1 parent cd8edd7 commit 1c2ca8f
Showing 1 changed file with 12 additions and 13 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/update_vendor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,29 @@ jobs:
run: |
export PGRX_VERSION=$(grep 'pgrx = { version =' Cargo.toml | sed -E 's/.*version = "=([0-9]+\.[0-9]+\.[0-9]+)".*/\1/')
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=12" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=12" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=13" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=13" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=14" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=14" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=15" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=15" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=16" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=16" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/amd64 -v ./:/mnt/build \
-e "VERSION=17" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=17" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=12" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=12" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=13" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=13" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=14" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=14" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=15" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=15" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=16" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
-e "VERSION=16" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
docker run --rm --platform linux/arm64 -v ./:/mnt/build \
-e "VERSION=17" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh &
wait
-e "VERSION=17" -e "PGRX_VERSION=$PGRX_VERSION" debian:bookworm bash /mnt/build/scripts/update_vendor.sh
sudo chown -R $USER ./vendor
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit 1c2ca8f

Please sign in to comment.