Skip to content

Commit

Permalink
fix gha ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Feb 27, 2024
1 parent b9185a6 commit c8f4ca0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Set Vars
run: |
SAPI_VERSION=$(cat api/VERSION)
git_hash=$(git rev-parse --short HEAD)
GIT_HASH=$(git rev-parse --short HEAD)
echo "SAPI_VERSION: $SAPI_VERSION"
echo "GIT_HASH: $GIT_HASH"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker-img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ jobs:
steps:
- run: |
REDIS_POD=$(kubectl get pod -l app=cache-redis | grep Running | awk '{print $1}')
echo kubectl --kubeconfig=SECRET exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done"
kubectl --kubeconfig=$kubecfg_path exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done"
echo kubectl exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done"
kubectl exec $REDIS_POD -- /bin/ash -c "redis-cli redis-cli --scan --pattern '*\[${{ needs.setup-envvar.outputs.version }}\]*' | while IFS= read -r line; do redis-cli del "$line"; done"
deploy-rc-via-helm:
needs: warmup-rc-at-helm
Expand Down

0 comments on commit c8f4ca0

Please sign in to comment.