Skip to content

Environment variables to define credentials #203

@gionn

Description

@gionn

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions