-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bom.json and dependencies.txt to CPI CRS air-gapped container ima…
…ge (#234) Updated Makefile to auto populate version, registry, git-sha values in the template copies of bom.json and dependencies.txt and add them to the cpi-crs-airgapped image. ---- Signed-off-by: Aritra Sen <[email protected]> Co-authored-by: Aritra Sen <[email protected]>
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
FROM scratch | ||
COPY /artifacts/cloud-director-ccm-crs-airgap.yaml.template /src/artifact/ | ||
ENTRYPOINT ["/bin/sh"] | ||
COPY ./artifacts/cloud-director-ccm-crs-airgap.yaml.template \ | ||
./artifacts/dependencies.txt \ | ||
./artifacts/bom.json /src/artifact/ | ||
ENTRYPOINT ["/bin/sh"] |
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,20 @@ | ||
{ | ||
"name":"cpi-crs-airgapped", | ||
"version":"__VERSION__.__GIT_COMMIT__", | ||
"components": { | ||
"manifests":[ | ||
{ | ||
"name": "cloud-director-ccm-crs-airgap.yaml.template", | ||
"url": "" | ||
} | ||
], | ||
"binaries": [], | ||
"dependencies": [ | ||
{ | ||
"name":"cloud-provider-for-cloud-director", | ||
"version":"__VERSION__.__GIT_COMMIT__", | ||
"imageRepository":"__REGISTRY__" | ||
} | ||
] | ||
} | ||
} |
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 @@ | ||
__REGISTRY__ cloud-provider-for-cloud-director __VERSION__.__GIT_COMMIT__ |