Skip to content

chore(helm): update pipeline db version (#359) #20

chore(helm): update pipeline db version (#359)

chore(helm): update pipeline db version (#359) #20

Workflow file for this run

name: Make Latest
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
make-latest:
runs-on: ubuntu-latest
steps:
# mono occupies port 8084 which conflicts with mgmt-backend
- name: Stop mono service
run: |
sudo kill -9 `sudo lsof -t -i:8084`
sudo lsof -i -P -n | grep LISTEN
- name: Checkout repo
uses: actions/checkout@v3
with:
repository: instill-ai/vdp
- name: Load .env file
uses: cardinalby/export-env-action@v2
with:
envFile: .env
- name: Install k6
run: |
curl https://github.com/grafana/k6/releases/download/v${{ env.K6_VERSION }}/k6-v${{ env.K6_VERSION }}-linux-amd64.tar.gz -L | tar xvz --strip-components 1 && sudo cp k6 /usr/bin
- name: Free disk space
run: |
df --human-readable
sudo apt clean
docker rmi $(docker image ls --all --quiet)
rm --recursive --force "$AGENT_TOOLSDIRECTORY"
df --human-readable
- 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: |
make latest PROFILE=all EDITION=local-ce:test
- name: List all docker containers
run: |
docker ps -a
sleep 30
- name: Curl to vdp services healthcheck endpoint
run: |
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/base/v1alpha/health/mgmt
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/vdp/v1alpha/health/pipeline
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/vdp/v1alpha/health/connector
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:3085/v1alpha/health/controller
- name: Tear down Instill VDP (latest)
run: |
make down