1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 22:01:47 +03:00

ci: more grubbing about with alpine

This commit is contained in:
Wez Furlong 2022-04-19 06:19:59 -07:00
parent c3a9f75cba
commit 87e2afa4db
13 changed files with 25 additions and 25 deletions

View File

@ -28,7 +28,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -79,7 +79,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -31,7 +31,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -82,7 +82,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "find ~/packages -ls ; mv ~/packages/x86_64/*.apk ."
run: "mv ~/packages/x86_64/*.apk ."
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:

View File

@ -19,7 +19,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -70,7 +70,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -28,7 +28,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -79,7 +79,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -31,7 +31,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"

View File

@ -19,7 +19,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -70,7 +70,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -28,7 +28,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -79,7 +79,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -31,7 +31,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"

View File

@ -19,7 +19,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -70,7 +70,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -28,7 +28,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -79,7 +79,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -31,7 +31,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"

View File

@ -19,7 +19,7 @@ jobs:
run: "apk upgrade --update-cache"
- name: "Install CI dependencies"
shell: sh
run: "apk add nodejs zstd wget bash"
run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login"
shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -70,7 +70,7 @@ jobs:
run: "bash ci/deploy.sh"
- name: "Move APKs"
shell: bash
run: "mv ~/packages/x86_64/*.apk ."
run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys"
shell: bash
run: "mv ~/.abuild/*.pub ."

View File

@ -377,11 +377,11 @@ cargo build --all --release""",
f"mv ~/rpmbuild/RPMS/*/*.rpm .",
)
)
elif "alpine" in self.name:
elif self.uses_apk():
steps.append(
RunStep(
"Move APKs",
f"mv ~/packages/x86_64/*.apk .",
f"find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk .",
)
)
steps.append(
@ -434,7 +434,7 @@ cargo build --all --release""",
f"mv ~/rpmbuild/RPMS/*/*.rpm wezterm-nightly-{self.name}.rpm",
)
)
elif "alpine" in self.name:
elif self.uses_apk():
steps.append(
RunStep(
"Move APKs",
@ -608,7 +608,7 @@ cargo build --all --release""",
),
RunStep(
"Install CI dependencies",
"apk add nodejs zstd wget bash",
"apk add nodejs zstd wget bash coreutils tar findutils",
shell="sh",
),
RunStep(