fix: comments in pkg/chaosdaemon/util.GetChildProcesses (#4377) #5
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
name: Upload latest install related files to CDN | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- install.sh | |
- manifests/crd.yaml | |
- examples/web-show/deploy.sh | |
- pkg/chaosctl/** | |
- cmd/chaosctl/** | |
- tools/schedule-migration/** | |
permissions: read-all | |
jobs: | |
run: | |
if: github.repository_owner == 'chaos-mesh' | |
name: Upload | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Must use at least depth 2! | |
fetch-depth: 2 | |
- uses: actions/setup-python@v2 | |
- uses: actions/setup-go@v4 | |
with: | |
check-latest: true | |
go-version-file: "go.mod" | |
- name: Configure awscli | |
run: | | |
pip3 install awscli | |
printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure | |
- name: Build binary | |
run: | | |
make chaosctl | |
make schedule-migration | |
- name: Upload files | |
run: | | |
GIT_TAG=${GITHUB_REF##*/} | |
if [[ "$GIT_TAG" == "master" ]]; then | |
GIT_TAG="latest" | |
fi | |
aws s3 cp install.sh ${{ secrets.AWS_BUCKET_NAME }}/${GIT_TAG}/install.sh | |
aws s3 cp manifests/crd.yaml ${{ secrets.AWS_BUCKET_NAME }}/${GIT_TAG}/crd.yaml | |
aws s3 cp examples/web-show/deploy.sh ${{ secrets.AWS_BUCKET_NAME }}/${GIT_TAG}/web-show/deploy.sh | |
aws s3 cp bin/chaosctl ${{ secrets.AWS_BUCKET_NAME }}/${GIT_TAG}/chaosctl | |
aws s3 cp bin/schedule-migration ${{ secrets.AWS_BUCKET_NAME }}/${GIT_TAG}/schedule-migration |