Skip to content

Chore(deps-dev): Bump idna from 3.7 to 3.10 #1255

Chore(deps-dev): Bump idna from 3.7 to 3.10

Chore(deps-dev): Bump idna from 3.7 to 3.10 #1255

Workflow file for this run

name: End-to-End Tests
on:
schedule:
- cron: "0 9 * * 1"
workflow_dispatch:
push:
branches: [main]
pull_request:
branches: [main]
env:
GOOS: linux
GO111MODULE: on
jobs:
test-knative:
name: Test Knative Deployment
env:
KIND_VERSION: v0.22.0
K8S_VERSION: v1.29
YAML_DIR: workloads/container
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
service:
[
trace_func_go,
]
steps:
- uses: actions/checkout@v3
with:
lfs: "true"
- name: Checkout LFS objects
run: git lfs checkout
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Create k8s Kind Cluster
run: bash ./scripts/konk-ci/01-kind.sh
- name: Install Serving
run: bash ./scripts/konk-ci/02-serving.sh
- name: Install Kourier
run: bash ./scripts/konk-ci/02-kourier.sh
- name: Setup domain and autoscaler
run: |
INGRESS_HOST="127.0.0.1"
KNATIVE_DOMAIN=$INGRESS_HOST.sslip.io
kubectl patch configmap -n knative-serving config-domain -p "{\"data\": {\"$KNATIVE_DOMAIN\": \"\"}}"
kubectl patch configmap -n knative-serving config-autoscaler -p "{\"data\": {\"allow-zero-initial-scale\": \"true\"}}"
kubectl patch configmap -n knative-serving config-features -p "{\"data\": {\"kubernetes.podspec-affinity\": \"enabled\"}}"
kubectl label node knative-control-plane loader-nodetype=worker
- name: Build and run loader
run: go run cmd/loader.go --config pkg/config/test_config.json
- name: Check the output
run: test -f "data/out/experiment_duration_5.csv" && test $(grep true data/out/experiment_duration_5.csv | wc -l) -eq 0 # test the output file for errors (true means failure to invoke)
- name: Print logs
if: ${{ always() }}
run: |
set -x
container_list=$(kubectl get pods -n default -o jsonpath="{.items[*].spec.containers[*].name}")
for container_name in $container_list
do
kubectl logs -n default -c $container_name -l serving.knative.dev/service=${{ matrix.service }}
done
- name: Down
if: ${{ always() }}
run: |
kn service delete --all