Skip to content

Commit

Permalink
Fix release pipeline
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Harding <[email protected]>
  • Loading branch information
azdagron committed Dec 3, 2021
1 parent 8e19325 commit a1860bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push images
run: ./.github/workflows/scripts/push-scratch-images.sh "${GITHUB_REF#refs/tags/v}"
run: ./.github/workflows/scripts/push-images.sh "${GITHUB_REF#refs/tags/v}"
6 changes: 3 additions & 3 deletions test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ apply-yaml() {
}

register-workload() {
"${KUBECTL}" exec -it \
"${KUBECTL}" exec \
-nspire-system \
deployment/spire-server -- \
/opt/spire/bin/spire-server entry create \
-node \
-spiffeID spiffe://test/node \
-selector k8s_psat:cluster:test

"${KUBECTL}" exec -it \
"${KUBECTL}" exec \
-nspire-system \
deployment/spire-server -- \
/opt/spire/bin/spire-server entry create \
Expand All @@ -122,7 +122,7 @@ check-workload-status() {
echo -n "Checking Workload API update status on $_which."
for ((i=1;i<=_numchecks;i++)); do
echo -n "."
_status=$(kubectl exec -it "deployment/$_which" -- /bin/cat status | tr -d '[:space:]')
_status=$("${KUBECTL}" exec "deployment/$_which" -- /bin/cat status | tr -d '[:space:]')
if [ "${_status}" == "updated" ]; then
echo "ok."
return 0
Expand Down

0 comments on commit a1860bc

Please sign in to comment.