Defaults
Some checks failed
Publish ApplicationRecord to Registry / cns_publish (pull_request) Failing after 1m22s
Some checks failed
Publish ApplicationRecord to Registry / cns_publish (pull_request) Failing after 1m22s
This commit is contained in:
parent
bf8c53d97a
commit
72ddd8af8d
@ -24,8 +24,4 @@ jobs:
|
|||||||
- name: "Install jq"
|
- name: "Install jq"
|
||||||
run: apt -y update && apt -y install jq
|
run: apt -y update && apt -y install jq
|
||||||
- name: "Publish Record"
|
- name: "Publish Record"
|
||||||
run: |
|
run: scripts/publish-app-record.sh
|
||||||
CERC_REPO_TAG=${{ github.sha }} \
|
|
||||||
CERC_LACONIC_BOND_ID=$CICD_LACONIC_BOND_ID \
|
|
||||||
CERC_LACONIC_USER_KEY=$CICD_LACONIC_USER_KEY \
|
|
||||||
scripts/publish-app-record.sh
|
|
||||||
|
@ -6,7 +6,7 @@ RECORD_FILE=tmp.rf.$$
|
|||||||
CONFIG_FILE=`mktemp`
|
CONFIG_FILE=`mktemp`
|
||||||
|
|
||||||
CERC_APP_TYPE=${CERC_APP_TYPE:-"webapp"}
|
CERC_APP_TYPE=${CERC_APP_TYPE:-"webapp"}
|
||||||
CERC_REPO_TAG=${CERC_REPO_TAG:-"main"}
|
CERC_REPO_TAG=${CERC_REPO_TAG:-${GITHUB_SHA:-main}}
|
||||||
|
|
||||||
rcd_name=$(jq -r '.name' package.json | sed 's/null//')
|
rcd_name=$(jq -r '.name' package.json | sed 's/null//')
|
||||||
rcd_desc=$(jq -r '.description' package.json | sed 's/null//')
|
rcd_desc=$(jq -r '.description' package.json | sed 's/null//')
|
||||||
@ -46,6 +46,6 @@ EOF
|
|||||||
|
|
||||||
cat $RECORD_FILE
|
cat $RECORD_FILE
|
||||||
env
|
env
|
||||||
laconic -c $CONFIG_FILE cns record publish --filename $RECORD_FILE --user-key "${CERC_LACONIC_USER_KEY}" --bond-id $CERC_LACONIC_BOND_ID
|
laconic -c $CONFIG_FILE cns record publish --filename $RECORD_FILE --user-key "${CERC_LACONIC_USER_KEY:-$CICD_LACONIC_USER_KEY}" --bond-id ${CERC_LACONIC_BOND_ID:-$CICD_LACONIC_BOND_ID}
|
||||||
|
|
||||||
rm -f $RECORD_FILE $CONFIG_FILE
|
rm -f $RECORD_FILE $CONFIG_FILE
|
||||||
|
Loading…
Reference in New Issue
Block a user