Skip to content

tox.ini: pass OS_* environment variables to integration tests#830

Merged
TheRealFalcon merged 1 commit into
canonical:masterfrom
OddBloke:openstack
Mar 3, 2021
Merged

tox.ini: pass OS_* environment variables to integration tests#830
TheRealFalcon merged 1 commit into
canonical:masterfrom
OddBloke:openstack

Conversation

@OddBloke
Copy link
Copy Markdown
Collaborator

@OddBloke OddBloke commented Mar 3, 2021

Proposed Commit Message

tox.ini: pass OS_* environment variables to integration tests

This allows source'd OpenStack credentials to be used for tox tests.

Test Steps

This fails without the change, and passes with it:

. /path/to/novarc
CLOUD_INIT_OS_IMAGE="..." CLOUD_INIT_PLATFORM=openstack tox -e integration-tests-ci

Checklist:

  • My code follows the process laid out in the documentation
  • I have updated or added any unit tests accordingly
  • I have updated or added any documentation accordingly

This allows source'd OpenStack credentials to be used for tox tests.
@OddBloke OddBloke mentioned this pull request Mar 3, 2021
3 tasks
Copy link
Copy Markdown
Contributor

@TheRealFalcon TheRealFalcon left a comment

Choose a reason for hiding this comment

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

It's good to support this option too, but for CI, it might be easier/preferrable to drop a clouds.yaml in instead.

@TheRealFalcon TheRealFalcon merged commit 106c57d into canonical:master Mar 3, 2021
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.

2 participants