Skip to content

Commit

Permalink
tmp: prevent auto release of rc
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Oct 16, 2024
1 parent 8ccb422 commit 91b8b41
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/docker-img.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,14 @@ jobs:
echo version=$version >> $GITHUB_OUTPUT
deploy-rc-on-data-validation:
needs:
- build-docker-img
if: ${{ github.event_name == 'push' }}
runs-on: self-hosted
steps:
- run: |
/bin/bash -c "cd /softwares/software && ./restart.sh"
# deploy-rc-on-data-validation:
# needs:
# - build-docker-img
# if: ${{ github.event_name == 'push' }}
# runs-on: self-hosted
# steps:
# - run: |
# /bin/bash -c "cd /softwares/software && ./restart.sh"

# rc
rm-cache-rc-at-helm:
Expand Down Expand Up @@ -194,14 +194,14 @@ jobs:
fi
done
deploy-rc-via-helm:
needs: warmup-rc-at-helm
if: ${{ github.event_name == 'release' && contains(github.ref, 'rc') }}
uses: ./.github/workflows/deploy-helm.yml
with:
DEPLOYMENT_NAME: rc
secrets:
KUBECONFIG: ${{ secrets.KUBECONFIG }}
# deploy-rc-via-helm:
# needs: warmup-rc-at-helm
# if: ${{ github.event_name == 'release' && contains(github.ref, 'rc') }}
# uses: ./.github/workflows/deploy-helm.yml
# with:
# DEPLOYMENT_NAME: rc
# secrets:
# KUBECONFIG: ${{ secrets.KUBECONFIG }}

# prod
copy-by-helm:
Expand Down

0 comments on commit 91b8b41

Please sign in to comment.