From 5434be315794aa03e5b0b47b3e833472eb8c7408 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Jul 2024 14:33:22 +0200 Subject: [PATCH] ssh --- .forgejo/workflows/before_almalinux_8.yaml | 6 +----- .forgejo/workflows/before_alpine_3.19.yaml | 6 +----- .../before_archlinux_base-20231112.0.191179.yaml | 6 +----- .forgejo/workflows/before_debian_bullseye.yaml | 6 +----- .forgejo/workflows/before_fedora_39.yaml | 6 +----- .forgejo/workflows/before_rockylinux_8.yaml | 6 +----- .forgejo/workflows/before_ubuntu_jammy.yaml | 6 +----- .forgejo/workflows/latest_almalinux_9.yaml | 6 +----- .forgejo/workflows/latest_alpine_3.20.yaml | 6 +----- .../latest_archlinux_base-20240101.0.204074.yaml | 6 +----- .forgejo/workflows/latest_debian_bookworm.yaml | 9 ++++----- .forgejo/workflows/latest_fedora_40.yaml | 6 +----- .forgejo/workflows/latest_rockylinux_9.yaml | 6 +----- .forgejo/workflows/latest_ubuntu_noble.yaml | 6 +----- .github/workflows/main.yaml | 7 +------ .gitlab-ci.yml | 6 +----- 16 files changed, 19 insertions(+), 81 deletions(-) diff --git a/.forgejo/workflows/before_almalinux_8.yaml b/.forgejo/workflows/before_almalinux_8.yaml index 04336c1..918d1a6 100644 --- a/.forgejo/workflows/before_almalinux_8.yaml +++ b/.forgejo/workflows/before_almalinux_8.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}almalinux:8 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_alpine_3.19.yaml b/.forgejo/workflows/before_alpine_3.19.yaml index efd48cd..04ec3c5 100644 --- a/.forgejo/workflows/before_alpine_3.19.yaml +++ b/.forgejo/workflows/before_alpine_3.19.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}alpine:3.19 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_archlinux_base-20231112.0.191179.yaml b/.forgejo/workflows/before_archlinux_base-20231112.0.191179.yaml index e4f2dae..79805d3 100644 --- a/.forgejo/workflows/before_archlinux_base-20231112.0.191179.yaml +++ b/.forgejo/workflows/before_archlinux_base-20231112.0.191179.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}archlinux:base-20231112.0.191179 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_debian_bullseye.yaml b/.forgejo/workflows/before_debian_bullseye.yaml index eb998cf..ea3a83a 100644 --- a/.forgejo/workflows/before_debian_bullseye.yaml +++ b/.forgejo/workflows/before_debian_bullseye.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}debian:bullseye steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_fedora_39.yaml b/.forgejo/workflows/before_fedora_39.yaml index 191cd82..bf2f84f 100644 --- a/.forgejo/workflows/before_fedora_39.yaml +++ b/.forgejo/workflows/before_fedora_39.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}fedora:39 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_rockylinux_8.yaml b/.forgejo/workflows/before_rockylinux_8.yaml index 8f1c73b..dc01418 100644 --- a/.forgejo/workflows/before_rockylinux_8.yaml +++ b/.forgejo/workflows/before_rockylinux_8.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}rockylinux:8 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/before_ubuntu_jammy.yaml b/.forgejo/workflows/before_ubuntu_jammy.yaml index ac47086..29fe650 100644 --- a/.forgejo/workflows/before_ubuntu_jammy.yaml +++ b/.forgejo/workflows/before_ubuntu_jammy.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}ubuntu:jammy steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_almalinux_9.yaml b/.forgejo/workflows/latest_almalinux_9.yaml index 14522c8..a4f4a9c 100644 --- a/.forgejo/workflows/latest_almalinux_9.yaml +++ b/.forgejo/workflows/latest_almalinux_9.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}almalinux:9 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_alpine_3.20.yaml b/.forgejo/workflows/latest_alpine_3.20.yaml index a360d1c..fc61963 100644 --- a/.forgejo/workflows/latest_alpine_3.20.yaml +++ b/.forgejo/workflows/latest_alpine_3.20.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}alpine:3.20 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_archlinux_base-20240101.0.204074.yaml b/.forgejo/workflows/latest_archlinux_base-20240101.0.204074.yaml index e5df378..c1278b2 100644 --- a/.forgejo/workflows/latest_archlinux_base-20240101.0.204074.yaml +++ b/.forgejo/workflows/latest_archlinux_base-20240101.0.204074.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}archlinux:base-20240101.0.204074 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_debian_bookworm.yaml b/.forgejo/workflows/latest_debian_bookworm.yaml index 4840396..1e27586 100644 --- a/.forgejo/workflows/latest_debian_bookworm.yaml +++ b/.forgejo/workflows/latest_debian_bookworm.yaml @@ -5,12 +5,11 @@ jobs: image: ${{vars.DOCKER}}debian:bookworm steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + env: + SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}} + SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}} + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace - run: spcd-synchronize diff --git a/.forgejo/workflows/latest_fedora_40.yaml b/.forgejo/workflows/latest_fedora_40.yaml index 78964f9..bceb0be 100644 --- a/.forgejo/workflows/latest_fedora_40.yaml +++ b/.forgejo/workflows/latest_fedora_40.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}fedora:40 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_rockylinux_9.yaml b/.forgejo/workflows/latest_rockylinux_9.yaml index c8be126..52593e3 100644 --- a/.forgejo/workflows/latest_rockylinux_9.yaml +++ b/.forgejo/workflows/latest_rockylinux_9.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}rockylinux:9 steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.forgejo/workflows/latest_ubuntu_noble.yaml b/.forgejo/workflows/latest_ubuntu_noble.yaml index 17c88ab..c83bd92 100644 --- a/.forgejo/workflows/latest_ubuntu_noble.yaml +++ b/.forgejo/workflows/latest_ubuntu_noble.yaml @@ -5,11 +5,7 @@ jobs: image: ${{vars.DOCKER}}ubuntu:noble steps: - name: spcd - run: > - ${{vars.SPCD}} - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: ${{vars.SPCD}} - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 06e1b40..21bb544 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -6,12 +6,7 @@ jobs: image: ${{vars.DOCKER}}debian:bookworm steps: - name: spcd - run: > - echo '${{vars.SPCD}}' | tr -d '\r' | sh -s - "${{secrets.SPCD_SSH_KEY}}" - "${{vars.SPCD_SSH_HOSTS}}" + run: echo '${{vars.SPCD}}' | tr -d '\r' | sh -s - - run: spcd-list-environment - run: spcd-build-project - run: spcd-browse-workspace - - run: spcd-synchronize diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e8bd6db..5db3efa 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,7 @@ image: ${DOCKER}debian:bookworm job: script: - - > - sh ${SPCD} - ${SPCD_SSH_KEY} - ${SPCD_SSH_HOSTS} + - sh ${SPCD} - - spcd-list-environment - spcd-build-project - spcd-browse-workspace