Skip to content

Commit 78c64c0

Browse files
committed
(MAINT) - Validating ubuntu user-data
1 parent 38f8d16 commit 78c64c0

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "Ubuntu user data scirpt validation"
2+
3+
on: [pull_request]
4+
5+
6+
env:
7+
SERVICE_URL: "https://facade-maint-grep-command-exit-code-fix-6f3kfepqcq-ew.a.run.app/v1/provision"
8+
9+
jobs:
10+
Provision:
11+
runs-on: ubuntu-latest
12+
timeout-minutes: 120
13+
steps:
14+
- name: Checkout Source
15+
uses: actions/checkout@v3
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Activate Ruby 2.7
20+
uses: ruby/setup-ruby@v1
21+
with:
22+
ruby-version: "2.7"
23+
bundler-cache: true
24+
25+
- name: Spec Prep
26+
run: |
27+
echo ::group::Create the fixtures directory
28+
bundle exec rake spec_prep
29+
echo ::endgroup::
30+
31+
- name: Provision Ubuntu 2004
32+
run: |
33+
bundle exec rake "litmus:provision[provision_service,ubuntu-2004-lts]
34+
35+
- name: Provision Ubuntu 2204 ARM
36+
run: |
37+
bundle exec rake "litmus:provision[provision_service,ubuntu-2204-lts-arm64]

0 commit comments

Comments
 (0)