Chore(deps): Bump google.golang.org/grpc from 1.63.2 to 1.67.0 #1259
Workflow file for this run
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: 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 |