Last active
August 16, 2020 18:03
-
-
Save jbrunton/15adb8fb530452927eb389b1b4e1d489 to your computer and use it in GitHub Desktop.
ytt - remove compose build context
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
api: | |
build: | |
context: /path/to/my/repo/services/api | |
client: | |
build: | |
context: /path/to/my/repo/services/client | |
depends_on: | |
- api | |
- nginx | |
- postgres | |
foo: | |
bar: baz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#@ load("@ytt:overlay", "overlay") | |
#@overlay/match by=overlay.all | |
--- | |
services: | |
#@overlay/match by=overlay.all,expects="1+" | |
_: | |
#@overlay/match missing_ok=True | |
#@overlay/remove | |
build: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment