[Snyk] Security upgrade tornado from 6.2 to 6.4.2 #87
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: k8s-example-chart-deploy | |
on: | |
push: | |
branches: | |
- main | |
- docs-branch # testing TODO: remove | |
- release-* | |
pull_request: | |
branches: '*' | |
jobs: | |
chart-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.11' | |
- name: Setup k3s test cluster | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install chart | |
run: | | |
cd examples/k8s | |
kubectl apply -f "https://github.com/rabbitmq/cluster-operator/releases/latest/download/cluster-operator.yml" | |
bash install_postgresql.sh | |
bash install_grader.sh | |
bash install_hub.sh | |
- name: Check deployments | |
run: | | |
kubectl get deployments.apps -n jupyter | |
kubectl get svc -n jupyter | |
kubectl get pods -n jupyter | |
kubectl rollout status deployment/grader-service -n jupyter --timeout=300s | |
kubectl rollout status deployment/grader-service-worker -n jupyter --timeout=300s | |
kubectl rollout status deployment/hub -n jupyter --timeout=300s | |
kubectl wait --for=condition=Ready pod/rabbitmq-grader-service-server-0 -n jupyter --timeout=300s | |