Commit Graph

54 Commits

Author SHA1 Message Date
Joey Hafner
ab7275b97d
#17 Revert: Re-enable configuring known_hosts, combine steps into "Configure SSH" 2024-10-25 20:35:02 -07:00
Joey Hafner
edb7cbce8d
#17 Disable SSH known_hosts config and test
Can we get away with this?
2024-10-25 20:30:37 -07:00
Joey Hafner
24f948e56f
#17 Tell deploy to use the correct ssh key 2024-10-25 20:26:29 -07:00
Joey Hafner
c717e3b680
#17 Attempt to configure Cachix 2024-10-25 20:17:26 -07:00
Joey Hafner
e257778aad
#17 Enable step to run deploy-rs from flake as dry-run 2024-10-25 18:18:01 -07:00
Joey Hafner
8e7febf5f1
#17 Fix hanging ssh command 2024-10-25 18:14:33 -07:00
Joey Hafner
c351329640
#17 Fix long-lived typo in cluster name
"Silver-hand" -> "Silver-flame"
2024-10-25 18:11:16 -07:00
Joey Hafner
0c66fa4a0b
#17 Set nix_path to nixos-24.05, add Run deploy-rs from flake, trigger workflow
All checks were successful
Deploy NixOS System Configurations to Silver-Hand Hosts / deploy (push) Successful in 4m56s
2024-10-25 16:34:01 -07:00
Joey Hafner
d17537c724
#17 Init silver-hand-deploy
- Attempt to install Nix into the runner
2024-10-25 14:45:07 -07:00
Joey Hafner
e959e05636
#16 Rename job 2024-10-25 14:44:38 -07:00
Joey Hafner
983ad7da04
Disable hacking workflow 2024-10-25 14:10:41 -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
f7d26ab405
Init workflow for hacking with Gitea Actions 2024-10-24 16:11:52 -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
Joey Hafner
30114d497d
WIP SSH action template
Some checks failed
SSH and echo to file / ssh (push) Failing after 5s
2024-09-12 14:19:15 -07:00
Joey Hafner
54ed170745
Gitea Actions does not support the workflow_dispatch trigger event... 2024-09-06 14:23:55 -07:00
Joey Hafner
91f24ac272
Add manual input for domain name
Switch to key-based authentication
2024-09-06 14:20:29 -07:00
Joey Hafner
b8c000a6a7
Init test workflow
Some checks failed
SSH and echo to file / ssh (push) Failing after 3s
2024-09-06 13:55:30 -07:00
Joey Hafner
b6d4526cdb
Delete old configuration scripts, test workflow 2024-09-04 13:59:24 -07:00
Joey Hafner
1b827c04f5
Switch test workflow to run on generic default runner 2024-08-27 21:19:11 -07:00