Skip to content

Commit

Permalink
ci: adopt latest project structure (#406)
Browse files Browse the repository at this point in the history
Because

- We refactored the entire Instill project structure, the existing GA
won't work.

This commit

- Adopts latest project structure
  • Loading branch information
donch1989 committed Mar 5, 2024
1 parent 176c047 commit 8b00706
Showing 1 changed file with 6 additions and 31 deletions.
37 changes: 6 additions & 31 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
component: [pipeline-backend]
uses: instill-ai/vdp/.github/workflows/integration-test-backend.yml@main
uses: instill-ai/instill-core/.github/workflows/integration-test-backend.yml@main
with:
component: ${{ matrix.component }}
target: latest
Expand Down Expand Up @@ -68,43 +68,18 @@ jobs:
GOLANG_VERSION=${{ env.GOLANG_VERSION }}
tags: instill/pipeline-backend:latest

- name: Checkout repo (core)
- name: Checkout repo (instill-core)
uses: actions/checkout@v3
with:
repository: instill-ai/core
repository: instill-ai/instill-core

- name: Load .env file (core)
- name: Load .env file (instill-core)
uses: cardinalby/export-env-action@v2
with:
envFile: .env

- name: Launch Instill core (latest)
run: |
COMPOSE_PROFILES=all \
EDITION=local-ce:test \
docker compose -f docker-compose.yml -f docker-compose.latest.yml up -d --quiet-pull
COMPOSE_PROFILES=all \
EDITION=local-ce:test \
docker compose -f docker-compose.yml -f docker-compose.latest.yml rm -f
- name: Checkout repo (vdp)
uses: actions/checkout@v3
with:
repository: instill-ai/vdp

- name: Load .env file (vdp)
uses: cardinalby/export-env-action@v2
with:
envFile: .env

- name: Launch Instill VDP (latest)
run: |
COMPOSE_PROFILES=all \
EDITION=local-ce:test \
docker compose -f docker-compose.yml -f docker-compose.latest.yml up -d --quiet-pull
COMPOSE_PROFILES=all \
EDITION=local-ce:test \
docker compose -f docker-compose.yml -f docker-compose.latest.yml rm -f
- name: Launch Instill Core (latest)
run: make latest PROFILE=all

- name: Install k6
run: |
Expand Down

0 comments on commit 8b00706

Please sign in to comment.