Bump golang.org/x/net from 0.17.0 to 0.23.0 #135
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: Pull Request | |
on: | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Lint golang code | |
run: make lint | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Run tests | |
run: make test | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19 | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Build binary | |
run: make build | |
image: | |
runs-on: ubuntu-latest | |
needs: | |
- lint | |
- test | |
- build | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Login to Docker Hub | |
uses: docker/login-action@v1 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- name: build image | |
uses: docker/build-push-action@v2 | |
with: | |
push: true | |
tags: zufardhiyaulhaq/istio-ratelimit-operator:dev-ci | |
e2e-global-gateway: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-gateway-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.gateway/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.gateway | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.gateway.validate | |
e2e-global-gateway-shadow-mode: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-gateway-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.gateway.shadow_mode/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.gateway.shadow_mode | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.gateway.shadow_mode.validate | |
e2e-global-gateway-headervaluematch: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-gateway-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.gateway.headervaluematch/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.gateway.headervaluematch | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.gateway.headervaluematch.validate | |
e2e-global-gateway-headervaluematch-shadow-mode: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-gateway-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.gateway.headervaluematch.shadow_mode/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.gateway.headervaluematch.shadow_mode | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.gateway.headervaluematch.shadow_mode.validate | |
e2e-global-sidecar: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-sidecar-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.sidecar/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.sidecar | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.sidecar.validate | |
e2e-global-sidecar-headervaluematch: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-sidecar-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.sidecar.headervaluematch/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.sidecar.headervaluematch | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.sidecar.headervaluematch.validate | |
e2e-global-sidecar-shadow-mode: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-sidecar-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.sidecar.shadow_mode/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.sidecar.shadow_mode | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.sidecar.shadow_mode.validate | |
e2e-global-sidecar-headervaluematch-shadow-mode: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-global-sidecar-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/global.sidecar.headervaluematch/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.global.sidecar.headervaluematch.shadow_mode | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.global.sidecar.headervaluematch.shadow_mode.validate | |
e2e-local-sidecar: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-local-sidecar-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/local.sidecar/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.local.sidecar | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.local.sidecar.validate | |
e2e-local-gateway: | |
runs-on: ubuntu-latest | |
needs: | |
- image | |
strategy: | |
fail-fast: false | |
matrix: | |
kubernetes: ["v1.26"] | |
istio: ["1.17.8","1.18.5", "1.19.4", "1.20.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
architecture: x64 | |
- name: Install Python dependencies | |
uses: py-actions/py-dependency-install@v2 | |
with: | |
path: "e2e/scripts/requirements.txt" | |
- name: Setup kubectl | |
uses: azure/setup-kubectl@v3 | |
with: | |
version: 'v1.21.7' | |
- name: Setup kustomize | |
uses: yokawasa/[email protected] | |
with: | |
kustomize: '3.8.3' | |
- name: Setup helm | |
uses: azure/setup-helm@v1 | |
with: | |
version: 'v3.3.1' | |
- name: Install kubernetes | |
uses: nolar/setup-k3d-k3s@v1 | |
with: | |
version: "${{ matrix.kubernetes }}" | |
k3d-args: --no-lb | |
k3d-name: "e2e-local-gateway-k3d-k3s" | |
- name: Setup Istioctl | |
uses: zufardhiyaulhaq/[email protected] | |
with: | |
version: "${{ matrix.istio }}" | |
- name: Deploy charts | |
run: helm install istio-ratelimit-operator ./charts/istio-ratelimit-operator --values ./charts/istio-ratelimit-operator/values.yaml --set operator.tag=dev-ci | |
- name: Install istio | |
run: istioctl upgrade -f ./e2e/usecases/local.gateway/istio_mesh/cluster.yaml --force --skip-confirmation | |
- name: Deploy manifests | |
run: make e2e.local.gateway | |
- name: Waiting every object to be created | |
run: sleep 300 | |
- name: Get envoyfilter | |
run: kubectl get envoyfilter --all-namespaces | |
- name: validate | |
run: make e2e.local.gateway.validate |