mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 13:52:55 +03:00
ci: more grubbing about with alpine
This commit is contained in:
parent
c3a9f75cba
commit
87e2afa4db
4
.github/workflows/gen_alpine3.12.yml
vendored
4
.github/workflows/gen_alpine3.12.yml
vendored
@ -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 ."
|
||||||
|
@ -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:
|
||||||
|
4
.github/workflows/gen_alpine3.12_tag.yml
vendored
4
.github/workflows/gen_alpine3.12_tag.yml
vendored
@ -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 ."
|
||||||
|
4
.github/workflows/gen_alpine3.13.yml
vendored
4
.github/workflows/gen_alpine3.13.yml
vendored
@ -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 ."
|
||||||
|
@ -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"
|
||||||
|
4
.github/workflows/gen_alpine3.13_tag.yml
vendored
4
.github/workflows/gen_alpine3.13_tag.yml
vendored
@ -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 ."
|
||||||
|
4
.github/workflows/gen_alpine3.14.yml
vendored
4
.github/workflows/gen_alpine3.14.yml
vendored
@ -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 ."
|
||||||
|
@ -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"
|
||||||
|
4
.github/workflows/gen_alpine3.14_tag.yml
vendored
4
.github/workflows/gen_alpine3.14_tag.yml
vendored
@ -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 ."
|
||||||
|
4
.github/workflows/gen_alpine3.15.yml
vendored
4
.github/workflows/gen_alpine3.15.yml
vendored
@ -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 ."
|
||||||
|
@ -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"
|
||||||
|
4
.github/workflows/gen_alpine3.15_tag.yml
vendored
4
.github/workflows/gen_alpine3.15_tag.yml
vendored
@ -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 ."
|
||||||
|
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user