Skip to content

Commit a3443ab

Browse files
committed
Test leafcloud image on SMS
1 parent e81cc32 commit a3443ab

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.github/workflows/ipa-image-build.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ env:
3232
ANSIBLE_FORCE_COLOR: True
3333
KAYOBE_ENVIRONMENT: ci-builder
3434
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
35+
3536
jobs:
3637
runner-preqs:
3738
uses: ./.github/workflows/runs-on-preq.yml
@@ -207,10 +208,20 @@ jobs:
207208
source venvs/kayobe/bin/activate &&
208209
source src/kayobe-config/kayobe-env --environment ci-builder &&
209210
kayobe seed host command run \
210-
--command "sudo apt update && sudo apt -y install gcc git libffi-dev python3-dev python-is-python3 python3-venv && sudo apt-get -y install btrfs-tools" --show-output
211+
--command "sudo apt update && sudo apt -y install gcc git libffi-dev python3-dev python-is-python3 python3-venv" --show-output
211212
env:
212213
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
213214

215+
- name: Install SSH key
216+
run: |
217+
source venvs/kayobe/bin/activate &&
218+
source src/kayobe-config/kayobe-env --environment ci-builder &&
219+
kayobe seed host command run \
220+
--command "echo '${{ secrets.MAX_SSH }}' >> ~/.ssh/authorized_keys"
221+
env:
222+
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
223+
MAX_SSH: ${{ secrets.MAX_SSH }}
224+
214225
- name: Build a Ubuntu 22.04 Jammy IPA image
215226
id: build_ubuntu_jammy_ipa
216227
continue-on-error: true
@@ -226,6 +237,9 @@ jobs:
226237
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
227238
if: inputs.ubuntu-jammy
228239

240+
- name: sleep
241+
run: sleep 3600
242+
229243
- name: Show last error logs
230244
continue-on-error: true
231245
run: |

0 commit comments

Comments
 (0)