Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment variables to define credentials #203

Open
gionn opened this issue Jan 28, 2020 · 1 comment
Open

Environment variables to define credentials #203

gionn opened this issue Jan 28, 2020 · 1 comment

Comments

@gionn
Copy link

gionn commented Jan 28, 2020

It looks like it's not supported to provide credentials via environment variables, which make really hard to configure CI.

I've also tried the upstream fog-openstack envs but they are not working:

https://github.com/fog/fog-openstack/blob/v1.0.0/spec/shared_context.rb#L102

OS_USERNAME=redacted OS_PASSWORD=redacted bundle exec kitchen converge default-ubuntu-1804
-----> Starting Kitchen (v1.23.2)
-----> Creating <default-ubuntu-1804>...
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Failed to complete #create action: [Missing required arguments: openstack_api_key, openstack_username or openstack_userid] on default-ubuntu-1804
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
@ramereth
Copy link
Contributor

ramereth commented Apr 8, 2020

@gionn is this still happening with the current version?

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

No branches or pull requests

2 participants