File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5050 if : steps.list-changed.outputs.changed == 'true'
5151 uses : helm/kind-action@v1
5252
53+ - name : Create LocalStack auth token secret
54+ if : steps.list-changed.outputs.changed == 'true'
55+ # LocalStack requires an auth token for all installations
56+ # The LOCALSTACK_AUTH_TOKEN secret must be configured in the GitHub repository settings
57+ run : |
58+ kubectl create secret generic localstack-auth-token \
59+ --from-literal=auth-token="${{ secrets.LOCALSTACK_AUTH_TOKEN }}"
60+
5361 - name : Run chart-testing (install)
5462 if : steps.list-changed.outputs.changed == 'true'
5563 run : ct install --target-branch ${{ github.event.repository.default_branch }}
Original file line number Diff line number Diff line change 1+ # CI test values for chart-testing
2+ # This file is automatically used by the chart-testing tool during CI runs
3+
4+ # Enable debug mode for better test output
5+ debug : true
6+
7+ # Set DNS policy to avoid circular DNS issues in test environments
8+ dnsPolicy : " Default"
9+
10+ # Configure LocalStack auth token from a Kubernetes secret
11+ # The secret is created by the GitHub workflow before running tests
12+ extraEnvVars :
13+ - name : LOCALSTACK_AUTH_TOKEN
14+ valueFrom :
15+ secretKeyRef :
16+ name : localstack-auth-token
17+ key : auth-token
18+
19+ # Enable startup scripts to test initialization
20+ enableStartupScripts : true
21+ startupScriptContent : |
22+ #!/bin/bash
23+ awslocal sqs create-queue --queue-name test-queue
You can’t perform that action at this time.
0 commit comments