1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

Rebase and re-apply openssh-server addition to CIs

This commit is contained in:
Chip Senkbeil 2021-09-26 21:30:50 -05:00 committed by Wez Furlong
parent 072bb1c470
commit 68fd2035cd
25 changed files with 94 additions and 0 deletions

View File

@ -45,6 +45,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -54,6 +54,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
yum install -y curl yum install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
yum install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -36,6 +36,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -41,6 +41,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
yum install -y curl yum install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
yum install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -22,6 +22,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -41,6 +41,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
apt-get install -y curl apt-get install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -22,6 +22,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -41,6 +41,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
apt-get install -y curl apt-get install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -22,6 +22,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -45,6 +45,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -54,6 +54,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
apt-get install -y curl apt-get install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -36,6 +36,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -25,6 +25,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
yum install -y curl yum install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
yum install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -16,6 +16,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -25,6 +25,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
yum install -y curl yum install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
yum install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -16,6 +16,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "yum install -y curl" run: "yum install -y curl"
- name: "Install openssh-server"
shell: bash
run: "yum install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -31,6 +31,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -41,6 +41,11 @@ jobs:
run: | run: |
export BUILD_REASON=Schedule export BUILD_REASON=Schedule
apt-get install -y curl apt-get install -y curl
- name: "Install openssh-server"
shell: bash
run: |
export BUILD_REASON=Schedule
apt-get install -y openssh-server
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -22,6 +22,9 @@ jobs:
- name: "Install curl" - name: "Install curl"
shell: bash shell: bash
run: "apt-get install -y curl" run: "apt-get install -y curl"
- name: "Install openssh-server"
shell: bash
run: "apt-get install -y openssh-server"
- name: "checkout repo" - name: "checkout repo"
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:

View File

@ -160,6 +160,11 @@ class Target(object):
return self.install_system_package("curl") return self.install_system_package("curl")
return [] return []
def install_openssh_server(self):
if self.uses_yum() or (self.uses_apt() and self.container):
return self.install_system_package("openssh-server")
return []
def install_newer_compiler(self): def install_newer_compiler(self):
steps = [] steps = []
if self.name == "centos7": if self.name == "centos7":
@ -493,6 +498,7 @@ cargo build --all --release""",
steps += self.install_newer_compiler() steps += self.install_newer_compiler()
steps += self.install_git() steps += self.install_git()
steps += self.install_curl() steps += self.install_curl()
steps += self.install_openssh_server()
steps += [ steps += [
CheckoutStep(), CheckoutStep(),
# We need tags in order to use git describe for build/packaging # We need tags in order to use git describe for build/packaging