4
4
5
5
jobs :
6
6
run_debian_11 :
7
- name : " Run in DigitalOcean Droplet with Debian 11"
7
+ name : " Test new runtime on Droplet with Debian 11"
8
8
runs-on : ubuntu-latest
9
- concurrency : droplet-aleph-vm-debian-11
9
+ concurrency : droplet-aleph-vm-runtime
10
10
11
11
steps :
12
12
- name : Checkout repository
41
41
--vpc-uuid 8c422d04-5dfa-4eca-add7-1e41b5f60d39 \
42
42
--enable-ipv6 \
43
43
--ssh-keys 18:09:36:58:79:44:bb:84:45:c8:6f:9a:f6:b8:0a:c5 \
44
- aleph-vm-ci-debian-11
45
-
46
- - name : Build custom runtime
44
+ aleph-vm-ci-runtime
45
+
46
+ - name : " Build custom runtime"
47
47
- run : |
48
48
sudo apt update
49
49
sudo apt install -y debootstrap
@@ -61,18 +61,18 @@ jobs:
61
61
62
62
- name : Wait for the system to setup and boot
63
63
run : |
64
- export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
64
+ export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
65
65
until ssh-keyscan -H ${DROPLET_IPV4}; do sleep 1; done
66
66
67
67
- name : Copy the runtime to the system
68
68
run : |
69
- export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
69
+ export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
70
70
ssh-keyscan -H ${DROPLET_IPV4} > ~/.ssh/known_hosts
71
71
scp runtimes/aleph-debian-11-python/rootfs.squashfs root@${DROPLET_IPV4}:/opt
72
72
73
73
- name : Install Aleph-VM on the Droplet
74
74
run : |
75
- export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
75
+ export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
76
76
ssh-keyscan -H ${DROPLET_IPV4} > ~/.ssh/known_hosts
77
77
78
78
ssh root@${DROPLET_IPV4} DEBIAN_FRONTEND=noninteractive "apt-get -o DPkg::Lock::Timeout=60 update"
90
90
91
91
- name : Test Aleph-VM on the Droplet
92
92
run : |
93
- export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
93
+ export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
94
94
95
95
sleep 3
96
96
curl --retry 5 --max-time 10 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
99
99
- name : Cleanup
100
100
if : always()
101
101
run : |
102
- doctl compute droplet delete -f aleph-vm-ci-debian-11
103
-
102
+ doctl compute droplet delete -f aleph-vm-ci-runtime
0 commit comments