cd_key
Some checks failed
/ job (push) Failing after 5m39s

This commit is contained in:
Marc Beninca 2024-06-01 23:31:41 +02:00
parent 327e9bdf74
commit 27091dde5f
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
16 changed files with 15 additions and 44 deletions

View file

@ -5,9 +5,7 @@ jobs:
image: almalinux:8
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: almalinux:9
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: alpine:3.18
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: alpine:3.19
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: archlinux:base-20231112.0.191179
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: archlinux:base-20240101.0.204074
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: debian:bookworm
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: debian:bullseye
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: fedora:39
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: fedora:40
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: rockylinux:8
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: rockylinux:9
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: ubuntu:jammy
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -5,9 +5,7 @@ jobs:
image: ubuntu:noble
steps:
- name: cd
env:
CD: ${{secrets.cd}}
run: ${{vars.cd}} "${{vars.cd_hosts}}"
run: ${{vars.cd}} ${{secrets.cd_key}} "${{vars.cd_hosts}}"
- run: cd-list-environment
- run: cd-clone-branch

View file

@ -1,7 +1,7 @@
image: debian:bookworm
job:
script:
- sh ${CD} ${CD_HOSTS}
- sh ${CD} ${CD_KEY} ${CD_HOSTS}
- cd-list-environment
- cd-clone-branch

1
cd.sh
View file

@ -13,7 +13,6 @@ rwx \
# main
cd_main () {
echo "${@}"
cd_set_environment_variables
cd_set_packages_repositories
cd_set_packages_configuration