Merge lp:~pedronis/adt-continuous-deployer/ols-tweak into lp:adt-continuous-deployer

Proposed by Samuele Pedroni
Status: Merged
Approved by: Celso Providelo
Approved revision: 65
Merged at revision: 66
Proposed branch: lp:~pedronis/adt-continuous-deployer/ols-tweak
Merge into: lp:adt-continuous-deployer
Diff against target: 11 lines (+2/-0)
1 file modified
mojo.py (+2/-0)
To merge this branch: bzr merge lp:~pedronis/adt-continuous-deployer/ols-tweak
Reviewer Review Type Date Requested Status
Celso Providelo (community) Approve
Review via email: mp+262424@code.launchpad.net

Commit message

check in tweak lying about on wendigo for ols deployments

Description of the change

code tweak as found on wendigo

To post a comment you must log in.
Revision history for this message
Celso Providelo (cprov) wrote :

Samuele,

I have mixed feelings about generating configuration on-the-fly.

I think we have to evolve in the way we deal with *configurations* and split then in 3 groups: 'service', 'system' and 'secrets' characteristics.

The 'service' parameters influence how the service works (timeouts, database names, log filename, etc) and per immutable-services could as well be code 'constants' (changes in service aspects are recorded in the code history, not as a separate branch).

The 'system' characteristics (basically server IPs/DNS) come from a service-discovery infrastructure and don't necessarily need to be precisely tracked because changes to not impact the system (i.e. the system is prepared for changes).

Finally the 'secrets' ones, which might remain in wendigo disk and be distributed from there, because that's the only place they make sense.

That said, I don't mind you committing this now, but we could also start thinking about removing on-the-fly configs from our workflow.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'mojo.py'
2--- mojo.py 2015-06-08 05:16:12 +0000
3+++ mojo.py 2015-06-19 08:19:38 +0000
4@@ -106,6 +106,8 @@
5 filename = 'adt.conf'
6 elif 'snappy-proposed' in stage:
7 filename = 'snappy-proposed-service.conf'
8+ elif 'ols' in stage:
9+ filename = 'service.conf'
10 else:
11 filename = 'core-service.conf'
12

Subscribers

People subscribed via source and target branches

to all changes: