Skip to content

Remove the manual creation of operator secret for tyk-oss charts #209

Remove the manual creation of operator secret for tyk-oss charts

Remove the manual creation of operator secret for tyk-oss charts #209

Workflow file for this run

name: Tyk Clusters Tests
# Controls when the workflow will run
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
env:
MAX_ATTEMPTS: 3
TIMEOUT: 30
jobs:
tyk-clusters:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
cluster:
- v1.27
- v1.28
- v1.29
- v1.30
steps:
- uses: actions/checkout@v4
- name: start Minikube
uses: medyagh/setup-minikube@latest
with:
kubernetes-version: "${{ matrix.cluster }}"
extra-config: 'kubelet.max-pods=100'
addons: 'default-storageclass,storage-provisioner,ingress'
start-args: '--force'
- name: Install helm
uses: Azure/setup-helm@v4
- name: Install newman
run: |
sudo apt update && \
sudo apt install nodejs npm -y && \
npm install -g newman
- name: Copy .env file
run: cp .env.example .env
- name: Deploy tyk-stack on ${{ matrix.cluster }}
uses: nick-invision/retry@v3
with:
max_attempts: ${{ env.MAX_ATTEMPTS }}
timeout_minutes: ${{ env.TIMEOUT }}
command: |
LICENSE="${{ secrets.DASH_LICENSE }}" \
MDCB_LICENSE="${{ secrets.MDCB_LICENSE }}" \
./up.sh -v tyk-stack
- name: Sleep 1 minute
run: sleep 60
- name: Test Tyk deployment
run: newman run --folder gateway --env-var "deployment=control-plane" tyk-k8s-demo.postman_collection.json