/setup-maas

A GitHub Action for installing and configuring MAAS

Setup MAAS GitHub Action

Tests

A GitHub Action for installing and configuring MAAS

Usage

Setup

Commands

MAAS with empty test database
- name: Setup MAAS
  uses: canonical/setup-maas@main
MAAS with pre-populated test database
- name: Setup MAAS
  uses: canonical/setup-maas@main
  with:
    use-maasdb-dump: true

Create a new user

To add a new user, use the maas createadmin command in the next step

- name: Create MAAS admin
  run: sudo maas createadmin --username=admin --password=test --email=fake@example.org