-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (59 loc) · 1.98 KB
/
test-dot.yml
File metadata and controls
69 lines (59 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
name: Test dot
on:
workflow_dispatch:
jobs:
test-dot:
runs-on: ubuntu-latest
steps:
- name: Requirement for dot
run: |
sudo apt update
sudo apt install -y zsh
- name: Run dot command - apps tailscale
uses: gbraad-dotfiles/dot-action@main
with:
run: |
apps tailscale install
apps tailscale config operator
apps tailscale up
# ssh needs to be set after going up
apps tailscale config ssh
env:
TAILSCALE_AUTHKEY: ${{ secrets.TAILSCALE_AUTHKEY }}
- name: Run dot command - apps codium install
uses: gbraad-dotfiles/dot-action@main
with:
run: |
apps codium install
- name: Run dot command - apps distrobox install
uses: gbraad-dotfiles/dot-action@main
with:
run: |
apps distrobox install
# Not possible as privatekey needs to be known
#- name: Run dot command - dotfiles switch
# uses: gbraad-dotfiles/dot-action@main
# with:
# run: |
# dotfiles switch
- name: Run dot command - devenv dotfedora exec cat /etc/os-release
uses: gbraad-dotfiles/dot-action@main
with:
run: |
devenv dotfedora exec cat /etc/os-release
- name: Run dot command - devbox fedora start
uses: gbraad-dotfiles/dot-action@main
with:
run: |
devbox fedora start
- name: Run dot command - devbox fedora exec cat /etc/os-release
uses: gbraad-dotfiles/dot-action@main
with:
run: |
devbox fedora exec cat /etc/os-release
- name: Hang around
if: ${{ failure() }}
run: |
IP=`tailscale ip -4`
echo "Use the following command to connect \`tailscale ssh runner@${IP}\` or \`dotscreen runner@${IP}\`"
sleep infinity