Skip to content

Commit

Permalink
Fix: Job names were inprecise
Browse files Browse the repository at this point in the history
  • Loading branch information
hoh committed May 17, 2023
1 parent 9a1a5b2 commit 13af11a
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/test-new-runtime-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:

jobs:
run_debian_11:
name: "Run in DigitalOcean Droplet with Debian 11"
name: "Test new runtime on Droplet with Debian 11"
runs-on: ubuntu-latest
concurrency: droplet-aleph-vm-debian-11
concurrency: droplet-aleph-vm-runtime

steps:
- name: Checkout repository
Expand Down Expand Up @@ -41,9 +41,9 @@ jobs:
--vpc-uuid 8c422d04-5dfa-4eca-add7-1e41b5f60d39 \
--enable-ipv6 \
--ssh-keys 18:09:36:58:79:44:bb:84:45:c8:6f:9a:f6:b8:0a:c5 \
aleph-vm-ci-debian-11
- name: Build custom runtime
aleph-vm-ci-runtime
- name: "Build custom runtime"
- run: |
sudo apt update
sudo apt install -y debootstrap
Expand All @@ -61,18 +61,18 @@ jobs:
- name: Wait for the system to setup and boot
run: |
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
until ssh-keyscan -H ${DROPLET_IPV4}; do sleep 1; done
- name: Copy the runtime to the system
run: |
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
ssh-keyscan -H ${DROPLET_IPV4} > ~/.ssh/known_hosts
scp runtimes/aleph-debian-11-python/rootfs.squashfs root@${DROPLET_IPV4}:/opt
- name: Install Aleph-VM on the Droplet
run: |
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
ssh-keyscan -H ${DROPLET_IPV4} > ~/.ssh/known_hosts
ssh root@${DROPLET_IPV4} DEBIAN_FRONTEND=noninteractive "apt-get -o DPkg::Lock::Timeout=60 update"
Expand All @@ -90,7 +90,7 @@ jobs:
- name: Test Aleph-VM on the Droplet
run: |
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-debian-11 --output json | ./.github/scripts/extract_droplet_ipv4.py)"
export DROPLET_IPV4="$(doctl compute droplet get aleph-vm-ci-runtime --output json | ./.github/scripts/extract_droplet_ipv4.py)"
sleep 3
curl --retry 5 --max-time 10 --fail "http://${DROPLET_IPV4}:4020/about/usage/system"
Expand All @@ -99,5 +99,4 @@ jobs:
- name: Cleanup
if: always()
run: |
doctl compute droplet delete -f aleph-vm-ci-debian-11
doctl compute droplet delete -f aleph-vm-ci-runtime

0 comments on commit 13af11a

Please sign in to comment.