-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from inovex/cloudsYAML
feat: switch to config via clouds.yaml to allow e.g. application-credentials
- Loading branch information
Showing
5 changed files
with
35 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ name: devstack | |
on: | ||
pull_request: | ||
|
||
env: | ||
OS_CLOUD: devstack-admin-demo | ||
|
||
jobs: | ||
external-dns-source-fake: | ||
runs-on: ubuntu-22.04 | ||
|
@@ -74,17 +77,14 @@ jobs: | |
|
||
- name: Create zones example.com | ||
run: | | ||
source ./devstack/openrc | ||
openstack zone create --email [email protected] example.com. | ||
- name: Wait for zone creation | ||
run: | | ||
source ./devstack/openrc | ||
while [ "$(openstack zone list -f csv | grep PENDING)" != "" ]; do date; openstack zone list -f value; sleep 1; done | ||
- name: Start external-dns-openstack-webhook in background | ||
run: | | ||
source ./devstack/openrc | ||
./build/bin/external-dns-openstack-webhook >/tmp/external-dns-openstack-webhook.log 2>&1 & | ||
- name: Run external-dns | ||
|
@@ -96,19 +96,16 @@ jobs: | |
|
||
- name: Wait for PENDING | ||
run: | | ||
source ./devstack/openrc | ||
while [ "$(openstack zone list -f csv | grep PENDING)" != "" ]; do date; openstack zone list -f value; sleep 1; done | ||
- name: Show created entries | ||
run: | | ||
source ./devstack/openrc | ||
echo "Zones:" | ||
openstack zone list -f value | ||
echo "Recordsets:" | ||
openstack recordset list all -f value | ||
- name: Check created entries | ||
run: | | ||
source ./devstack/openrc | ||
if [ $(openstack recordset list all -f value | grep -c " TXT ") -ne 20 ]; then exit 1; fi | ||
if [ $(openstack recordset list all -f value | grep -c " A ") -ne 10 ]; then exit 2; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters