Skip to content

Commit

Permalink
fix(component): add dummy OAuth information for pipeline-backend tests (
Browse files Browse the repository at this point in the history
#1145)

Because

- Latest `pipeline-backend` tests OAuth connection creation using some
environment variables
([ref](https://github.com/instill-ai/pipeline-backend/blob/main/.github/workflows/integration-test.yml#L80))

This commit

- Adds such variables to the build on the CI.
  • Loading branch information
jvallesm authored Oct 31, 2024
1 parent 1604f23 commit 30bce6f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/integration-test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ jobs:
xk6 build v${{ env.K6_VERSION }} --with github.com/grafana/xk6-sql && sudo cp k6 /usr/bin
- name: Launch Instill Core (${{ inputs.target }})
# CFG_COMPONENT_SECRETS_GITHUB* variables are injected to test OAuth
# connection creation on `pipeline-backend`.
run: |
sed -i 's/\(\w\+GITHUB\w\+\)=/\1=foo/' .env.component
if [ "${{ inputs.target }}" == "latest" ]; then
make latest BUILD_CORE_DEV_IMAGE=true EDITION=local-ce:test
else
Expand Down

0 comments on commit 30bce6f

Please sign in to comment.