Skip to content

Commit

Permalink
fix CI workflow typo
Browse files Browse the repository at this point in the history
Signed-off-by: HermioneKT <hermionegrangerkt@gmail.com>
  • Loading branch information
HermioneKT committed Apr 5, 2024
1 parent b53217b commit 6f0c85b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/e2e-spin-sleep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
- name: start docker-compose benchmark
run: |
docker-compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml pull
docker-compose -f ${{ matrix.YAML_DIR }}/dc-${{ matrix.service }}.yaml up &> log_file &
sleep 60s
cat log_file
- name: invoke the function directly
Expand Down Expand Up @@ -158,12 +159,12 @@ jobs:
kubectl patch configmap -n knative-serving config-domain -p "{\"data\": {\"$KNATIVE_DOMAIN\": \"\"}}"
- name: Deploy knative
run: |
kubectl apply -f ${{ env.YAML_DIR }}/${{ matrix.file }}
kubectl apply -f ${{ matrix.YAML_DIR }}/${{ matrix.file }}
- name: Check if service is ready
run: |
kubectl wait --for=condition=Ready -f ${{ env.YAML_DIR }}/${{ matrix.file }} --timeout 900s
kubectl wait --for=condition=Ready -f ${{ matrix.YAML_DIR }}/${{ matrix.file }} --timeout 900s
kubectl get service
kubectl get -f ${{ env.YAML_DIR }}/${{ matrix.file }}
kubectl get -f ${{ matrix.YAML_DIR }}/${{ matrix.file }}
- name: Test invoking once
working-directory: tools/test-client
run: |
Expand All @@ -184,4 +185,4 @@ jobs:
- name: Down
if: ${{ always() }}
run: |
kubectl delete -f ${{ env.YAML_DIR }}/${{ matrix.file }} --namespace default --wait
kubectl delete -f ${{ matrix.YAML_DIR }}/${{ matrix.file }} --namespace default --wait
2 changes: 1 addition & 1 deletion benchmarks/spinning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The spinning benchmark simulates a simple CPU bounded bounded task by allowing multiplication for 30000000 iterations.

This benchmark can be used to investigate the effects of cpu scaling on the latency of CPU-bound workloads.
This benchmark can be used to investigate the effects of CPU scaling on the latency of CPU-bound workloads.

The functionality is implemented in golang.

Expand Down

0 comments on commit 6f0c85b

Please sign in to comment.