From d5eec208c2d237c2692a2e4b42909c1a4e4c4d1c Mon Sep 17 00:00:00 2001 From: Caleb Ellis Date: Mon, 18 May 2020 10:06:29 +1000 Subject: [PATCH] Fix maas init in CircleCI. --- .circleci/config.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c371b6143e..d5e37497df 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -54,9 +54,8 @@ jobs: - run: name: Initialise MAAS command: | - sudo maas init \ + sudo maas init region+rack \ --maas-url=http://$IP_ADDRESS:5240/MAAS \ - --mode region+rack \ --database-host=localhost \ --database-name=$MAAS_DBNAME \ --database-user=$MAAS_DBUSER \ @@ -65,7 +64,9 @@ jobs: --username=admin \ --password=test \ --email=fake@email.com - sudo maas config + # Uncomment when maas config bug is fixed on the backend + # https://bugs.launchpad.net/maas/+bug/1879205 + # sudo maas config - run: name: Set proxy url and start cypress tests command: |