Commit Graph

33 Commits

Author SHA1 Message Date
Joey Hafner
e959e05636
#16 Rename job 2024-10-25 14:44:38 -07:00
Joey Hafner
97ecf6fe56
#16 Fix typo 2024-10-25 13:29:09 -07:00
Joey Hafner
1c450159af
#16 Configure decrypting config.boot
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 15s
SSH and echo to file / ssh (push) Failing after 0s
- Add age recipient key for wizard to .sops.yaml (also placed privatekey on wizard at /config/wizard.host.key)
- Add step to install sops from specific binary release v3.9.1
- Add step to decrypt config.boot locally
- Add step to push decrypted config.boot to vyos host
- Trigger workflow
2024-10-25 13:27:57 -07:00
Joey Hafner
d329ee1e1d
#16 Refactor vyos.sh to accept alternative ssh and scp command configurations, adapt vyos-deploy to pass new SSH_CMD and SCP_CMD
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 12s
2024-10-25 12:41:25 -07:00
Joey Hafner
af84c4725a
#16 Increase timeout threshold for ping 2024-10-25 12:08:20 -07:00
Joey Hafner
518e3a6abe
#16 Disable hacking#show-changes, get package index before attempting to install iputils-ping 2024-10-25 12:06:04 -07:00
Joey Hafner
6ca2d8ed46
#16 Small fixes
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 10s
- Hacking.yaml: Switch to simpler git command to show changes in most recent commit
- Vyos-deploy.yaml: Attempt to use the vyos.sh script to run an op-mode command
- Config: Ignore the documentation's suggestion that pubkeys should be base64 encoded
2024-10-25 11:59:25 -07:00
Joey Hafner
aa7f5849ff
#16 Fix ping package name, attempt to make git shut up about "ambiguous reference"
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
2024-10-25 00:31:50 -07:00
Joey Hafner
811baf18fa
#16 Commit working state for SSH, re-add ping, trigger workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 11s
SSH and echo to file / ssh (push) Failing after 10s
2024-10-25 00:29:29 -07:00
Joey Hafner
d2151597bb
#16 Set port properly 2024-10-25 00:13:27 -07:00
Joey Hafner
39f8e7aa22
#16 Decrease verbosity, re-enable StrictHostKeyChecking, set port explicitly 2024-10-25 00:12:02 -07:00
Joey Hafner
354cd35160
#16 Grab only the ed25519 host key, trigger workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 12s
2024-10-25 00:03:15 -07:00
Joey Hafner
3634634d1b
#16 Commit sin
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
SSH and echo to file / ssh (push) Failing after 12s
2024-10-24 23:54:34 -07:00
Joey Hafner
900b53822f
#16 Increase SSH command verbosity, trigger workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
SSH and echo to file / ssh (push) Failing after 12s
2024-10-24 23:49:48 -07:00
Joey Hafner
24714471d5
#16 Run ssh more explicitly 2024-10-24 23:47:43 -07:00
Joey Hafner
a1038ff2e4
#16 Remove ping test (ping not available in container), trigger workflow
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 10s
SSH and echo to file / ssh (push) Failing after 11s
2024-10-24 23:43:02 -07:00
Joey Hafner
b2bf19cf1d
#16 Add ping check, don't echo pubkey, run whoami in last step
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 13s
2024-10-24 23:39:51 -07:00
Joey Hafner
dd27255a0e
#16 Print pubkey
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-10-24 22:49:00 -07:00
Joey Hafner
6358df4721
#16 Add quick hello world
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 12s
Does the runner's shell environment get reset between steps?
2024-10-24 22:38:26 -07:00
Joey Hafner
3322db9c04
#16 Remove '-o StrictHostKeyChecking=accept-new' 2024-10-24 20:07:24 -07:00
Joey Hafner
8c2ab79a8d
#16 Hacking known_hosts
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
2024-10-24 19:50:22 -07:00
Joey Hafner
5c5413b6b1
#16 Switch to using the StrictHostKeyChecking=accept-new option
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
2024-10-24 16:55:00 -07:00
Joey Hafner
4d9d111542
#16 Initialize the known_hosts file before attempting to refresh it
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Has been cancelled
2024-10-24 16:49:08 -07:00
Joey Hafner
b66e468aea
#16 Add hostkey fingerprint to known_hosts
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
2024-10-24 16:46:11 -07:00
Joey Hafner
93b5321f75
#16 Secure SSH key, generate pubkey, print fingerprint
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
2024-10-24 16:42:13 -07:00
Joey Hafner
1904d24958
#16 Wrap var in quotes
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 11s
2024-10-24 16:35:40 -07:00
Joey Hafner
b5f77f5ab1
#16 Render newlines when echoing privkey to tmp
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 10s
2024-10-24 16:34:31 -07:00
Joey Hafner
a9901f3f24
#16 Run commands from vyos dir, add step to run commands via vyos.sh 2024-10-24 16:29:41 -07:00
Joey Hafner
d594148160
#16 Switch to printing a var instead of a secret 2024-10-24 15:53:26 -07:00
Joey Hafner
7410e41a04
#16 Update action version, print pubkey from env 2024-10-24 15:50:10 -07:00
Joey Hafner
75e7a8beff
#16 Enable debug for the SSH action 2024-10-24 15:46:48 -07:00
Joey Hafner
9f4aa64f8b
#16 Constrain workflow trigger to changes to homelab/vyos/config.boot
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s
2024-10-24 15:35:10 -07:00
Joey Hafner
f0221b363f
#16 Init workflow for VyOS deployments
- Attempts to SSH into host and create a hello text file.
2024-10-24 15:32:33 -07:00