From 60b377e3561c69a58277fe2b493e273ee0588ca8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 2 Jun 2024 15:43:45 +0200 Subject: [PATCH] ssh --- .forgejo/workflows/almalinux:8.yaml | 2 +- .forgejo/workflows/almalinux:9.yaml | 2 +- .forgejo/workflows/alpine:3.18.yaml | 2 +- .forgejo/workflows/alpine:3.19.yaml | 2 +- .forgejo/workflows/archlinux:base-20231112.0.191179.yaml | 2 +- .forgejo/workflows/archlinux:base-20240101.0.204074.yaml | 2 +- .forgejo/workflows/debian:bookworm.yaml | 2 +- .forgejo/workflows/debian:bullseye.yaml | 2 +- .forgejo/workflows/fedora:39.yaml | 2 +- .forgejo/workflows/fedora:40.yaml | 2 +- .forgejo/workflows/rockylinux:8.yaml | 2 +- .forgejo/workflows/rockylinux:9.yaml | 2 +- .forgejo/workflows/ubuntu:jammy.yaml | 2 +- .forgejo/workflows/ubuntu:noble.yaml | 2 +- .gitlab-ci.yml | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.forgejo/workflows/almalinux:8.yaml b/.forgejo/workflows/almalinux:8.yaml index 6a5b327..119a65d 100644 --- a/.forgejo/workflows/almalinux:8.yaml +++ b/.forgejo/workflows/almalinux:8.yaml @@ -5,7 +5,7 @@ jobs: image: almalinux:8 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/almalinux:9.yaml b/.forgejo/workflows/almalinux:9.yaml index bf06ca3..1adbd7c 100644 --- a/.forgejo/workflows/almalinux:9.yaml +++ b/.forgejo/workflows/almalinux:9.yaml @@ -5,7 +5,7 @@ jobs: image: almalinux:9 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/alpine:3.18.yaml b/.forgejo/workflows/alpine:3.18.yaml index 880031e..bb87efb 100644 --- a/.forgejo/workflows/alpine:3.18.yaml +++ b/.forgejo/workflows/alpine:3.18.yaml @@ -5,7 +5,7 @@ jobs: image: alpine:3.18 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/alpine:3.19.yaml b/.forgejo/workflows/alpine:3.19.yaml index 5ed484c..98437d5 100644 --- a/.forgejo/workflows/alpine:3.19.yaml +++ b/.forgejo/workflows/alpine:3.19.yaml @@ -5,7 +5,7 @@ jobs: image: alpine:3.19 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/archlinux:base-20231112.0.191179.yaml b/.forgejo/workflows/archlinux:base-20231112.0.191179.yaml index e48e21f..be6085d 100644 --- a/.forgejo/workflows/archlinux:base-20231112.0.191179.yaml +++ b/.forgejo/workflows/archlinux:base-20231112.0.191179.yaml @@ -5,7 +5,7 @@ jobs: image: archlinux:base-20231112.0.191179 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/archlinux:base-20240101.0.204074.yaml b/.forgejo/workflows/archlinux:base-20240101.0.204074.yaml index e73cf51..0f9a097 100644 --- a/.forgejo/workflows/archlinux:base-20240101.0.204074.yaml +++ b/.forgejo/workflows/archlinux:base-20240101.0.204074.yaml @@ -5,7 +5,7 @@ jobs: image: archlinux:base-20240101.0.204074 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/debian:bookworm.yaml b/.forgejo/workflows/debian:bookworm.yaml index 23619ec..c6f4ae1 100644 --- a/.forgejo/workflows/debian:bookworm.yaml +++ b/.forgejo/workflows/debian:bookworm.yaml @@ -5,7 +5,7 @@ jobs: image: debian:bookworm steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/debian:bullseye.yaml b/.forgejo/workflows/debian:bullseye.yaml index 17da330..7a1d736 100644 --- a/.forgejo/workflows/debian:bullseye.yaml +++ b/.forgejo/workflows/debian:bullseye.yaml @@ -5,7 +5,7 @@ jobs: image: debian:bullseye steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/fedora:39.yaml b/.forgejo/workflows/fedora:39.yaml index 15e886a..aad0848 100644 --- a/.forgejo/workflows/fedora:39.yaml +++ b/.forgejo/workflows/fedora:39.yaml @@ -5,7 +5,7 @@ jobs: image: fedora:39 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/fedora:40.yaml b/.forgejo/workflows/fedora:40.yaml index 1c527d4..fd1d5f9 100644 --- a/.forgejo/workflows/fedora:40.yaml +++ b/.forgejo/workflows/fedora:40.yaml @@ -5,7 +5,7 @@ jobs: image: fedora:40 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/rockylinux:8.yaml b/.forgejo/workflows/rockylinux:8.yaml index e3eebaa..54a1962 100644 --- a/.forgejo/workflows/rockylinux:8.yaml +++ b/.forgejo/workflows/rockylinux:8.yaml @@ -5,7 +5,7 @@ jobs: image: rockylinux:8 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/rockylinux:9.yaml b/.forgejo/workflows/rockylinux:9.yaml index ed15281..64d98a4 100644 --- a/.forgejo/workflows/rockylinux:9.yaml +++ b/.forgejo/workflows/rockylinux:9.yaml @@ -5,7 +5,7 @@ jobs: image: rockylinux:9 steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/ubuntu:jammy.yaml b/.forgejo/workflows/ubuntu:jammy.yaml index d9c4a9b..33c4578 100644 --- a/.forgejo/workflows/ubuntu:jammy.yaml +++ b/.forgejo/workflows/ubuntu:jammy.yaml @@ -5,7 +5,7 @@ jobs: image: ubuntu:jammy steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.forgejo/workflows/ubuntu:noble.yaml b/.forgejo/workflows/ubuntu:noble.yaml index b23f63b..739ca7c 100644 --- a/.forgejo/workflows/ubuntu:noble.yaml +++ b/.forgejo/workflows/ubuntu:noble.yaml @@ -5,7 +5,7 @@ jobs: image: ubuntu:noble steps: - name: cd - run: ${{vars.cd}} "${{secrets.cd_key}}" "${{vars.cd_hosts}}" + run: ${{vars.cd}} "${{secrets.cd_ssh_key}}" "${{vars.cd_ssh_hosts}}" - run: cd-list-environment - run: cd-clone-branch diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ac9143..a3634f6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ image: debian:bookworm job: script: - - sh ${CD} "${CD_KEY}" "${CD_HOSTS}" + - sh ${CD} ${CD_SSH_KEY} ${CD_SSH_HOSTS} - cd-list-environment - cd-clone-branch