Skip to content

chore(artifact): add minio and mgmt in configmap #734

chore(artifact): add minio and mgmt in configmap

chore(artifact): add minio and mgmt in configmap #734

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: Maximize build space
uses: easimon/maximize-build-space@master
with:
overprovision-lvm: "true"
remove-dotnet: "true"
build-mount-path: "/var/lib/docker/"
- name: Restart docker
run: sudo service docker restart
- name: Checkout repo
uses: actions/checkout@v3
with:
repository: instill-ai/instill-core
- 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: Launch Instill Core (latest)
run: |
make latest BUILD=true EDITION=local-ce:test
- name: List all docker containers
run: |
docker ps -a
sleep 30
- name: Curl to Instill Core services healthcheck endpoint
run: |
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/core/v1beta/health/mgmt
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/vdp/v1beta/health/pipeline
curl -s -o /dev/null -w ''%{http_code}'\n' http://localhost:8080/model/v1beta/health/model
- name: Tear down Instill Core (latest)
run: |
make down