Skip to content

Commit

Permalink
Merge branch 'release/c1.1.x' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
chasers2012 committed Aug 12, 2021
2 parents b7abec7 + 69e02d3 commit 33f0d59
Show file tree
Hide file tree
Showing 5 changed files with 11,257 additions and 11 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,16 @@ jobs:
docker push docker.pkg.github.com/masami10/airflow/airflow:$(cat $GITHUB_WORKSPACE/AIRFLOW_RELEASE_VERSION)
docker push docker.pkg.github.com/masami10/airflow/airflow:latest
echo ${{ secrets.TENCENT_PASS }} | docker login -u ${{ secrets.TENCENT_USER }} ccr.ccs.tencentyun.com --password-stdin
docker tag docker.pkg.github.com/masami10/curve/airflow:${GITHUB_REF##*/} ccr.ccs.tencentyun.com/dev-tke/airflow:${GITHUB_REF##*/}
docker push ccr.ccs.tencentyun.com/dev-tke/airflow:${GITHUB_REF##*/}
- name: deploy to cluster
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl && mkdir -p ~/.kube
echo '${{ secrets.TENCENT_KUBECTL_DATA }}' > ~/.kube/config
export IMAGE="ccr.ccs.tencentyun.com/dev-tke/airflow:${GITHUB_REF##*/}"
envsubst < deploy_services/airflow.yaml | ./kubectl apply -f -

0 comments on commit 33f0d59

Please sign in to comment.