File tree Expand file tree Collapse file tree 6 files changed +21
-21
lines changed
Expand file tree Collapse file tree 6 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,15 @@ version: 2.1
33executors :
44 python3 :
55 docker :
6- - image : cimg/python:3.12 .3
6+ - image : cimg/python:3.14 .3
77
88commands :
99 ditto-transform :
1010 description : Run Ditto in order to transform the BASE_URL instead of http://localhost
1111 steps :
1212 - run :
1313 name : Install Ditto
14- command : pip install --user 'pokeapi-ditto==1.0.3 '
14+ command : pip install --user 'pokeapi-ditto==1.0.4 '
1515 - run :
1616 name : Transform api-data's JSON files to have the correct BASE_URL instead of http://localhost
1717 command : bash -x scripts/transform.sh
Original file line number Diff line number Diff line change 99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout
12- uses : actions/checkout@v4
12+ uses : actions/checkout@v6
1313 - name : Run and test
1414 run : (cd updater && bash cmd.bash)
1515 env :
@@ -25,17 +25,17 @@ jobs:
2525 runs-on : ubuntu-latest
2626 steps :
2727 - name : Checkout
28- uses : actions/checkout@v4
28+ uses : actions/checkout@v6
2929 - name : Docker meta
3030 id : meta
31- uses : docker/metadata-action@v5
31+ uses : docker/metadata-action@v6
3232 with :
3333 images : pokeapi/updater
3434 - name : Set up QEMU
35- uses : docker/setup-qemu-action@v3
35+ uses : docker/setup-qemu-action@v4
3636 - name : Set up Docker Buildx
3737 id : buildx
38- uses : docker/setup-buildx-action@v3
38+ uses : docker/setup-buildx-action@v4
3939 - name : Inspect builder
4040 run : |
4141 echo "Name: ${{ steps.buildx.outputs.name }}"
4545 echo "Platforms: ${{ steps.buildx.outputs.platforms }}"
4646 - name : Build
4747 id : docker_build
48- uses : docker/build-push-action@v5
48+ uses : docker/build-push-action@v7
4949 with :
5050 context : ./updater
5151 load : true
Original file line number Diff line number Diff line change 66# - master
77jobs :
88 update-gql-v1beta-data :
9- runs-on : ubuntu-22 .04
9+ runs-on : ubuntu-24 .04
1010 concurrency :
1111 group : serial
1212 cancel-in-progress : false
1313 permissions :
1414 contents : ' read'
1515 id-token : ' write'
1616 steps :
17- - uses : ' actions/checkout@v4 '
18- - uses : ' google-github-actions/auth@v2 '
17+ - uses : actions/checkout@v6
18+ - uses : google-github-actions/auth@v3
1919 with :
2020 project_id : ' pokeapi-215911'
2121 workload_identity_provider : ' projects/569595515170/locations/global/workloadIdentityPools/github/providers/deploy'
22- - name : ' Set up Cloud SDK'
23- uses : ' google-github-actions/setup-gcloud@v2 '
22+ - name : Set up Cloud SDK
23+ uses : google-github-actions/setup-gcloud@v3
2424 with :
2525 version : ' >= 390.0.0'
26- - name : ' Make snapshot'
26+ - name : Make snapshot
2727 run : |
2828 gcloud compute snapshots create gql-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT} \
2929 --labels=trigger=gql-data-update,next-head-ref=${GITHUB_SHA} \
3030 --snapshot-type=ARCHIVE \
3131 --source-disk=graphql5 \
3232 --source-disk-zone=us-east1-b \
3333 --storage-location=us-east1
34- - name : ' Update data'
35- uses : ' google-github-actions/ssh-compute@v1 '
34+ - name : Update data
35+ uses : google-github-actions/ssh-compute@v2
3636 with :
3737 instance_name : ' graphql5'
3838 zone : ' us-east1-b'
Original file line number Diff line number Diff line change 66 - master
77jobs :
88 update-gql-v1beta2-data :
9- runs-on : ubuntu-22 .04
9+ runs-on : ubuntu-24 .04
1010 concurrency :
1111 group : serial
1212 cancel-in-progress : false
1313 permissions :
1414 contents : ' read'
1515 id-token : ' write'
1616 steps :
17- - uses : ' actions/checkout@v4 '
18-
17+ - uses : ' actions/checkout@v6 '
18+
1919 - name : ' Update data'
2020 run : |-
2121 echo "$GCP_STAGING_GRAPHQL1_VM_SSH_PRIVATE_KEY" > pk.key
Original file line number Diff line number Diff line change 1- FROM docker:24.0.7 -dind-alpine3.18
1+ FROM docker:29.3.0 -dind-alpine3.23
22
33RUN apk update
44RUN apk add curl python3 git bash build-base python3-dev py3-pip
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ git branch "$BRANCH_NAME"
3535git checkout " $BRANCH_NAME "
3636python -m venv .venv
3737source .venv/bin/activate
38- pip install ' pokeapi-ditto==1.0.3 '
38+ pip install ' pokeapi-ditto==1.0.4 '
3939rm -rf ./data
4040ditto clone --src-url http://localhost/ --dest-dir ./data
4141# (╯°□°)╯ *always* assume magikarp failed and grab it again #clowntown
You can’t perform that action at this time.
0 commit comments