Compare commits

..

2 commits

Author SHA1 Message Date
27091dde5f
cd_key
Some checks failed
/ job (push) Failing after 5m39s
2024-06-01 23:31:41 +02:00
327e9bdf74
ssh 2024-06-01 22:44:10 +02:00
16 changed files with 15 additions and 44 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

1
cd.sh
View file

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