Skip to content

(MAINT) - Validating ubuntu user-data #408

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/ubuntu_user_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: "Ubuntu user data scirpt validation"

on: [pull_request]


env:
SERVICE_URL: "https://facade-maint-grep-command-exit-code-fix-6f3kfepqcq-ew.a.run.app/v1/provision"

jobs:
Provision:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- name: Checkout Source
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Activate Ruby 2.7
uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"
bundler-cache: true

- name: Provision Ubuntu 2004
run: |
bundle exec rake "litmus:provision[provision_service,ubuntu-2004-lts]"

- name: Provision Ubuntu 2204 ARM
run: |
bundle exec rake "litmus:provision[provision_service,ubuntu-2204-lts-arm64]"

- name: Remove test environment
if: always()
continue-on-error: true
run: |
bundle exec rake litmus:tear_down