Skip to content

[CI-v2] Add dns job with Github Action#2329

Merged
EmilienM merged 2 commits intogophercloud:masterfrom
shiftstack:civ2_dns
Jan 25, 2022
Merged

[CI-v2] Add dns job with Github Action#2329
EmilienM merged 2 commits intogophercloud:masterfrom
shiftstack:civ2_dns

Conversation

@mandre
Copy link
Copy Markdown
Contributor

@mandre mandre commented Jan 25, 2022

  • Deploy Designate with Devstack
  • Run dns acceptance tests
  • Logs failures if any

@mandre
Copy link
Copy Markdown
Contributor Author

mandre commented Jan 25, 2022

Together with #2328 and #2318, this will allow to drop the gophercloud-acceptance-test-networking job from openlab.

@coveralls
Copy link
Copy Markdown

coveralls commented Jan 25, 2022

Coverage Status

Coverage remained the same at 79.91% when pulling 02872a5 on shiftstack:civ2_dns into 0557ce8 on gophercloud:master.

with:
branch: ${{ matrix.openstack_version }}
conf_overrides: |
enable_plugin designate https://opendev.org/openstack/designate ${{ matrix.openstack_version }}
Copy link
Copy Markdown
Contributor

@EmilienM EmilienM Jan 25, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add:

Q_ML2_PLUGIN_EXT_DRIVERS=dns

So you have the dns extension enabled in Neutron.

@mandre mandre force-pushed the civ2_dns branch 2 times, most recently from 2cc3f1d to e29cb3a Compare January 25, 2022 15:28
@mandre
Copy link
Copy Markdown
Contributor Author

mandre commented Jan 25, 2022

Ah! the '^.*dns.*$' regex also pulls in the neutron dns extension :-/
I might have to enable the neutron-dns service just to please the CI.

find acceptance/openstack -name '*_test.go' -exec dirname {} \; | sort -n | uniq | grep -P --color=never '^.*dns.*$'         
acceptance/openstack/dns/v2
acceptance/openstack/networking/v2/extensions/dns

Or I could change the regex to '^acceptance/openstack/dns.*$'.

* Deploy Designate with Devstack
* Run dns acceptance tests
* Logs failures if any
It's not clear what is supposed to set the OS_DNS_ENVIRONMENT
environment variable. Looks like it's not coming from devstack.

Remove the RequireDNS check as we are now only running these acceptance
tests against environment that have DNSaaS anyway.
@EmilienM
Copy link
Copy Markdown
Contributor

the PR looks good to me. I'll merge it once CI jobs are green.

@EmilienM EmilienM merged commit 86aa60d into gophercloud:master Jan 25, 2022
@EmilienM EmilienM deleted the civ2_dns branch January 25, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants