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

Add application configuration through env variables #103

Merged
merged 1 commit into from
Apr 24, 2017

Conversation

olblak
Copy link
Member

@olblak olblak commented Apr 24, 2017

This PR add an additional way to configure 'accountapp' trough environment variables that simplify deployment on kubernetes cluster.

I added a docker-compose file only for testing purpose.

! This PR doesn't take into account #96 as it is not up to date with master.

    * .gitignore: Add .env file used by docker-compose
                  for env variables
    * Add docker-compose for testing environment
    * Update documentation
    * Add an entrypoint script
    * Template config.properties if the file
      doesn't exist
@olblak olblak requested a review from rtyler April 24, 2017 13:30
@daniel-beck
Copy link
Contributor

Why are there so many similar PRs? #99 #100 #101 #102 and this seem to all be the same thing…?

@olblak
Copy link
Member Author

olblak commented Apr 24, 2017

There are two reasons to that and both are my fault.

  1. My Jenkinsfile change wasn't take into account (always using the one from master) and I created Configure account-app through env variables #99 [WIP] Env variable #100 [WIP] Add testing #101 to understand what was happening.
  2. In [WIP] Add configuration through variables + tests #102 I put two differents things in one PR (configuration + testing) and I just splitted that in order to facilitate the review.

@daniel-beck
Copy link
Contributor

@olblak That Jenkinsfile behavior tripped me up before 😄

Thanks!

@rtyler rtyler merged commit 6df93b1 into jenkins-infra:master Apr 24, 2017
@olblak olblak deleted the config/01 branch September 2, 2017 05:14
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