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

Allow setting environment from custom application #310

Closed
wants to merge 1 commit into from

Conversation

afda16
Copy link
Contributor

@afda16 afda16 commented Dec 11, 2017

On AWS we want to run tests for the publishing and stack specific
domains. We also need to add new variables to have the tests working.

The smokey tests are called from Jenkins, as a job, via jenkins.sh
script, and are also running as a service in the monitoring server. In
both cases environment variables are first loaded from the environment
or from a /etc/smokey.sh file, and then set with govuk_setenv default.

This makes dificult to set up the right environment in first place and
have tests running with more than one setting, so this change allows us
to change the default govuk_setenv to load the environment from several
Smokey applications.

On AWS we want to run tests for the publishing and stack specific
domains. We also need to add new variables to have the tests working.

The smokey tests are called from Jenkins, as a job, via `jenkins.sh`
script, and are also running as a service in the monitoring server. In
both cases environment variables are first loaded from the environment
or from a `/etc/smokey.sh` file, and then set with `govuk_setenv default`.

This makes dificult to set up the right environment in first place and
have tests running with more than one setting, so this change allows us
to change the default `govuk_setenv` to load the environment from several
Smokey applications.
@issyl0
Copy link
Contributor

issyl0 commented Dec 11, 2017

What would the expected values of GOVUK_SETENV_APP be apart from default?

@afda16
Copy link
Contributor Author

afda16 commented Dec 11, 2017

Something like 'smokey-publishing' to use settings for the publishing domain, and 'smokey-stack' to use settings for the stack domain

@surminus
Copy link
Contributor

I do not believe this required for the time-being, so I am going to close it off.

@surminus surminus closed this Dec 18, 2017
@barrucadu barrucadu deleted the allow-govuk-setenv-app branch April 27, 2018 12:48
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.

None yet

3 participants