1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 06:12:16 +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" run: "apk upgrade --update-cache"
- name: "Install CI dependencies" - name: "Install CI dependencies"
shell: sh shell: sh
run: "apk add nodejs zstd wget bash" run: "apk add nodejs zstd wget bash coreutils tar findutils"
- name: "Allow root login" - name: "Allow root login"
shell: bash shell: bash
run: "sed 's/root:!/root:*/g' -i /etc/shadow" run: "sed 's/root:!/root:*/g' -i /etc/shadow"
@ -79,7 +79,7 @@ jobs:
run: "bash ci/deploy.sh" run: "bash ci/deploy.sh"
- name: "Move APKs" - name: "Move APKs"
shell: bash shell: bash
run: "mv ~/packages/x86_64/*.apk ." run: "find ~/packages/ -ls ; mv ~/packages/x86_64/*.apk ."
- name: "Move APK keys" - name: "Move APK keys"
shell: bash shell: bash
run: "mv ~/.abuild/*.pub ." run: "mv ~/.abuild/*.pub ."

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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