File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11series : jammy
22applications :
3- ghost :
4- charm : " prometheus "
3+ grafana :
4+ charm : " grafana "
55 channel : stable
66 num_units : 1
7- mysql :
7+ prometheus :
88 charm : " prometheus"
99 channel : stable
1010 num_units : 1
1111 test :
1212 charm : " ./tests/integration/charm"
1313relations :
14- - ["prometheus:grafana-source", "grafana:grafana-source"]
14+ - ["prometheus:grafana-source", "grafana:grafana-source"]
Original file line number Diff line number Diff line change 11description : An overlay for the wiki-simple bundle to remove mysql and add memcached
22applications :
33 test :
4- mysql :
4+ prometheus :
55 memcached :
66 charm : " memcached"
77 channel : stable
Original file line number Diff line number Diff line change 1- description : Another overlay to remove memcached and add back the mysql and relate
1+ description : Another overlay to remove memcached
22applications :
3- memcached :
4- ghost :
5- options :
6- config : include-file://config1.yaml
3+ memcached:
Original file line number Diff line number Diff line change @@ -242,16 +242,11 @@ async def test_deploy_bundle_with_multiple_overlays_with_include_files(event_loo
242242 overlay2_path = OVERLAYS_DIR / 'test-overlay3.yaml'
243243
244244 await model .deploy (str (bundle_yaml_path ), overlays = [overlay1_path , overlay2_path ])
245- # the bundle : installs ghost, mysql and a local test charm
246- # overlay1 : removes test, mysql, installs memcached
247- # overlay2 : removes memcached, adds config to ghost with include-file
248- assert 'mysql' not in model .applications
245+
246+ assert 'influxdb' not in model .applications
249247 assert 'test' not in model .applications
250248 assert 'memcached' not in model .applications
251- assert 'ghost' in model .applications
252- ghost = model .applications .get ('ghost' , None )
253- assert ghost .config .get ('port' , None ) == 2369
254- assert ghost .config .get ('url' , "" ) == 'http://my-ghost.blg'
249+ assert 'grafana' in model .applications
255250
256251
257252@base .bootstrapped
You can’t perform that action at this time.
0 commit comments