-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HMS-2678 fix: container metadata files
It was observed some differences between the container generated from the CI/CD platform system and the container generated locally from the repository. This change add several changes to try to be aligned with that changes and generate the same or similar content to what is generated by the platform. Signed-off-by: Alejandro Visiedo <[email protected]>
- Loading branch information
Showing
5 changed files
with
47 additions
and
34 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,14 +1,14 @@ | ||
#!/bin/bash | ||
|
||
# APP_NAME=idmsvc | ||
# GIT_HASH="$( git rev-parse --verify HEAD )" | ||
APP_NAME=idmsvc | ||
# SRC_HASH is passed as a build argument | ||
|
||
# root files | ||
|
||
cat > "app.info.json" << EOF | ||
{ | ||
"app_name": "${APP_NAME}", | ||
"src_hash": "${GIT_HASH}", | ||
"src_hash": "${SRC_HASH}", | ||
"patternfly_dependencies": [], | ||
"rh_cloud_services_dependencies": [] | ||
} | ||
|
@@ -24,7 +24,7 @@ cat > "app.info.stable.json" << EOF | |
{ | ||
"app_name": "${APP_NAME}", | ||
"node_version": ">=16.0.0", | ||
"src_hash": "${GIT_HASH}", | ||
"src_hash": "${SRC_HASH}", | ||
"src_tag": "unknown", | ||
"src_branch": "unknown", | ||
"patternfly_dependencies": "[\"@patternfly/[email protected]\",\"@patternfly/[email protected]\"]", | ||
|
@@ -38,10 +38,11 @@ cat > "app.info.preview.json" << EOF | |
{ | ||
"app_name": "${APP_NAME}", | ||
"node_version": ">=16.0.0", | ||
"src_hash": "${GIT_HASH}", | ||
"src_hash": "${SRC_HASH}", | ||
"src_tag": "unknown", | ||
"src_branch": "unknown", | ||
"patternfly_dependencies": "[\"@patternfly/[email protected]\",\"@patternfly/[email protected]\"]", | ||
"rh_cloud_services_dependencies": "[\"@redhat-cloud-services/[email protected]\",\"@redhat-cloud-services/[email protected]\",\"@redhat-cloud-services/[email protected]\"]" | ||
} | ||
EOF | ||
|
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 |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
# General variables leveraged on the repository. | ||
## | ||
|
||
APP := idmsvc | ||
APP_NAME := idmsvc | ||
|
||
|