-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
588876c
commit 0779e13
Showing
5 changed files
with
42 additions
and
19 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
const packages = [] | ||
|
||
const withLocalPreview = args.withLocalPreview == "true" | ||
|
||
if (withLocalPreview) { | ||
const docker = { | ||
"name": "docker", | ||
"type": "docker", | ||
"deps": [ | ||
"install/installer:app", | ||
"install/preview/prettylog:app" | ||
], | ||
"argdeps": [ | ||
"imageRepoBase" | ||
], | ||
"srcs": [ | ||
"entrypoint.sh", | ||
"manifests/*.yaml" | ||
], | ||
"config": { | ||
"dockerfile": "leeway.Dockerfile", | ||
"image": [`${args.imageRepoBase}/local-preview:${args.version}`] | ||
} | ||
} | ||
packages.push(docker) | ||
} else { | ||
packages.push({ | ||
"name": "docker", | ||
"type": "generic", | ||
"config": { | ||
"commands": [ | ||
["echo", "Skipping build of install/preview:docker as -DwithLocalPreview was not set to true"] | ||
] | ||
} | ||
}) | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +0,0 @@ | ||
packages: | ||
- name: docker | ||
type: docker | ||
deps: | ||
- install/installer:app | ||
- install/preview/prettylog:app | ||
argdeps: | ||
- imageRepoBase | ||
srcs: | ||
- "entrypoint.sh" | ||
- "manifests/*.yaml" | ||
config: | ||
dockerfile: leeway.Dockerfile | ||
image: | ||
- ${imageRepoBase}/local-preview:${version} | ||