Skip to content

Commit 98e51d1

Browse files
authored
Merge pull request #924 from maddie480/tas-bump
Bump TAS check dependencies [ci skip]
2 parents 2654371 + f92d592 commit 98e51d1

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

.github/tas-check/2-1-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#!/bin/bash
22
# Installs Everest from the branch to test, CelesteTAS and the mod that is going to be TASed.
3-
# Parameters: ID of the mod to be TASed, URL of the TAS files
3+
# Parameters: URL of the TAS files, URL of the mod bundle
44

55
set -xeo pipefail
66

77
docker build \
88
--build-arg "MAIN_BUILD_URL=`cat /tmp/everest-pr-tas-check/download-link.txt`" \
9-
--build-arg "TAS_FILES_URL=$2" \
10-
--build-arg "TAS_TO_RUN=$1" \
9+
--build-arg "TAS_FILES_URL=$1" \
10+
--build-arg "BUNDLE_DOWNLOAD_URL=$2" \
1111
-t celeste .

.github/tas-check/2-2-install-inner.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ curl --fail -Lo CelesteTAS.zip "https://github.com/EverestAPI/CelesteTAS-Everest
3131

3232
# install the mod that is going to be TASed, downloaded as a bundle zip containing the mod zip
3333
# and all of its dependencies (https://maddie480.ovh/celeste/bundle-download?id=${TAS_TO_RUN})
34-
# for simplicity's sake, Celeste-Bundle.zip exists but is an empty zip
35-
curl --fail -Lo t.zip "https://celestemodupdater.0x0a.de/pinned-mods/${TAS_TO_RUN}-Bundle.zip"
36-
unzip t.zip
37-
rm -v t.zip
34+
if ! [ "${BUNDLE_DOWNLOAD_URL}" == "" ]; then
35+
curl --fail -Lo t.zip "${BUNDLE_DOWNLOAD_URL}"
36+
unzip t.zip
37+
rm -v t.zip
38+
fi

.github/tas-check/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM max480/everest:vanilla
22

3-
ARG MAIN_BUILD_URL TAS_FILES_URL TAS_TO_RUN
3+
ARG MAIN_BUILD_URL TAS_FILES_URL BUNDLE_DOWNLOAD_URL
44
COPY 2-2-install-inner.sh /tmp
55
RUN /tmp/2-2-install-inner.sh && rm /tmp/2-2-install-inner.sh

.github/tas-check/run-locally.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ case "$1" in
1616
;;
1717

1818
"StrawberryJam2021")
19-
TAS_URL="https://github.com/VampireFlower/StrawberryJamTAS/archive/fc7397c26f4d15468d4a8a3e58e7cc3d62d21223.zip"
20-
TAS_PATH="StrawberryJamTAS-fc7397c26f4d15468d4a8a3e58e7cc3d62d21223/0-SJ All Levels.tas"
19+
TAS_URL="https://github.com/VampireFlower/StrawberryJamTAS/archive/c9c589a8ef225def5aca869cc1ed3eedf588ec14.zip"
20+
TAS_PATH="StrawberryJamTAS-c9c589a8ef225def5aca869cc1ed3eedf588ec14/0-SJ All Levels.tas"
21+
BUNDLE_DOWNLOAD="https://celestemodupdater.0x0a.de/pinned-mods/StrawberryJam2021-Bundle-134df0f4.zip"
2122
;;
2223

2324
*)
@@ -27,5 +28,5 @@ esac
2728

2829
cd "`dirname "$0"`"
2930
./1-get-build-url.sh "$2"
30-
./2-1-install.sh "$1" "${TAS_URL}"
31+
./2-1-install.sh "${TAS_URL}" "${BUNDLE_DOWNLOAD}"
3132
./3-run.sh "${TAS_PATH}"

.github/workflows/tas-sync-check.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ jobs:
1010
matrix:
1111
tas:
1212
- name: Celeste 100%
13-
mod: Celeste
1413
url: "https://github.com/VampireFlower/CelesteTAS/archive/60b1680e61e43ec4681d7c9053d249491e0fe905.zip"
1514
path: "CelesteTAS-60b1680e61e43ec4681d7c9053d249491e0fe905/0 - 100%.tas"
1615

1716
- name: Strawberry Jam All Levels
18-
mod: StrawberryJam2021
19-
url: "https://github.com/VampireFlower/StrawberryJamTAS/archive/fc7397c26f4d15468d4a8a3e58e7cc3d62d21223.zip"
20-
path: "StrawberryJamTAS-fc7397c26f4d15468d4a8a3e58e7cc3d62d21223/0-SJ All Levels.tas"
17+
url: "https://github.com/VampireFlower/StrawberryJamTAS/archive/c9c589a8ef225def5aca869cc1ed3eedf588ec14.zip"
18+
path: "StrawberryJamTAS-c9c589a8ef225def5aca869cc1ed3eedf588ec14/0-SJ All Levels.tas"
19+
bundle: "https://celestemodupdater.0x0a.de/pinned-mods/StrawberryJam2021-Bundle-134df0f4.zip"
2120

2221
runs-on: ubuntu-latest
2322
timeout-minutes: 60
@@ -32,8 +31,8 @@ jobs:
3231
- name: Wait for Azure build on commit ${{ github.sha }}
3332
run: cd .github/tas-check && ./1-get-build-url.sh "${{ github.sha }}"
3433

35-
- name: Install Everest and ${{ matrix.tas.mod }}
36-
run: cd .github/tas-check && ./2-1-install.sh "${{ matrix.tas.mod }}" "${{ matrix.tas.url }}"
34+
- name: Install Everest and required mods
35+
run: cd .github/tas-check && ./2-1-install.sh "${{ matrix.tas.url }}" "${{ matrix.tas.bundle }}"
3736

3837
- name: Run TAS at ${{ matrix.tas.path }}
3938
run: cd .github/tas-check && ./3-run.sh "${{ matrix.tas.path }}"

0 commit comments

Comments
 (0)