Skip to content

Commit

Permalink
Fix errors for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Jul 30, 2024
1 parent b812fe6 commit 654ef4f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/open-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,28 @@ jobs:
- name: make compose-test
run: |
make compose-test
- name: make kind-create-cluster
run: |
make kind-create-cluster
- name: make kind-load-image
run: |
make kind-load-image
- name: install score-k8s
uses: score-spec/setup-score@v3
with:
file: score-k8s
token: ${{ secrets.GITHUB_TOKEN }}
version: ${{ env.SCORE_K8S_VERSION }}
- name: make k8s-up
id: k8s-up
run: |
make k8s-up
- name: catch k8s-up errors
if: ${{ failure() && steps.k8s-up.outcome == 'failure' }}
run: |
kubectl get events
kubectl logs \
-l app.kubernetes.io/name=${{ env.WORKLOAD_NAME }}
- name: authenticate to google cloud
uses: google-github-actions/auth@v2
with:
Expand Down
3 changes: 0 additions & 3 deletions score/score.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ containers:
cpu: "25m"
variables:
MESSAGE: "Hello, World!"
MISSING_VAR: ${resources.env.nonexistent-var}
resources:
env:
type: environment
dns:
type: dns
route:
Expand Down

0 comments on commit 654ef4f

Please sign in to comment.