Compare commits

...

19 commits

Author SHA1 Message Date
d1a1816793
cd-bootstrap
All checks were successful
/ job (push) Successful in 1m14s
2024-03-23 13:43:35 +01:00
73ddb411d7
out
All checks were successful
/ job (push) Successful in 1m10s
2024-03-23 12:24:22 +01:00
05dbdbbd08
cd-init
All checks were successful
/ job (push) Successful in 51s
2024-03-23 01:39:44 +01:00
e8eef34306
packages
All checks were successful
/ job (push) Successful in 57s
2024-03-23 01:22:16 +01:00
d84b4606ad
init
Some checks failed
/ job (push) Failing after 38s
2024-03-23 01:19:52 +01:00
58e5aa6358
ssh
All checks were successful
/ job (push) Successful in 54s
2024-03-23 01:03:40 +01:00
1b44baeba4
dns
Some checks failed
/ job (push) Failing after 1m14s
2024-03-23 00:47:45 +01:00
370fba0b21
eval
Some checks failed
/ job (push) Failing after 59s
2024-03-23 00:39:53 +01:00
ba891ee0aa
sectop
Some checks failed
/ job (push) Failing after 57s
2024-03-23 00:31:27 +01:00
8e1f0167af
top
Some checks failed
/ job (push) Failing after 1s
2024-03-23 00:26:07 +01:00
ab09acce85
sbin
Some checks failed
/ job (push) Failing after 59s
2024-03-23 00:17:31 +01:00
a821a68e71
cd-
Some checks failed
/ job (push) Failing after 49s
2024-03-23 00:14:48 +01:00
773995a3d5
swap
Some checks failed
/ job (push) Failing after 1m19s
2024-03-23 00:06:37 +01:00
576bc20475
build
Some checks failed
/ job (push) Failing after 1m1s
2024-03-22 23:59:29 +01:00
bdfadec91a
sync
Some checks failed
/ job (push) Failing after 59s
2024-03-22 23:49:57 +01:00
34b3ecd0b9
branch
All checks were successful
/ job (push) Successful in 53s
2024-03-22 23:38:49 +01:00
0ed9a7691f
/cd
All checks were successful
/ job (push) Successful in 53s
2024-03-22 23:29:34 +01:00
c1c8238061
workspace
Some checks failed
/ job (push) Failing after 53s
2024-03-22 23:21:46 +01:00
b325dca13b
env
Some checks failed
/ job (push) Failing after 51s
2024-03-22 23:15:17 +01:00

View file

@ -1,57 +1,24 @@
on: [push] on: [push]
jobs: jobs:
job: job:
runs-on: docker runs-on: docker
container: container:
image: debian:bookworm image: debian:bookworm
steps: steps:
- name: Sort environment
run: env | sort
- name: List event - name: cd-bootstrap
run: cat "${GITHUB_EVENT_PATH}" env:
CD: '${{secrets.cd}}'
run: eval '${{vars.cd}}'
- name: Set DNS - run: cd-list-environment
run: |
echo '${{vars.dns}}' > '/etc/resolv.conf'
cat '/etc/resolv.conf'
- name: Update catalog - run: cd-clone-branch
run: apt-get update - run: cd-install-packages 'pandoc'
- name: Install tools - run: cd-build-project
run: | - run: cd-browse-workspace
apt-get install --assume-yes \
'git' \
'tree' \
'pandoc' \
'rsync' \
- name: Clone repository - run: cd-synchronize-output 'out'
run: git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" '.'
- name: Browse workspace
run: tree -a "${GITHUB_WORKSPACE}"
- name: Build
run: './build.sh'
- name: Configure Delivery
run: |
mkdir --parents ~/.ssh
echo '${{secrets.cd}}' > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
sha256sum ~/.ssh/id_ed25519
- name: Test connection
run: |
ssh -o StrictHostKeyChecking=accept-new 'cd@de.tilde.link' \
-- hostname
- name: Synchronize output
run: |
rsync \
--archive \
--verbose \
'out/' \
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"