Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(vdp): disable console building in make-latest.yml #419

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/make-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Make Latest

on:
workflow_dispatch:
inputs:
disableConsoleBuild:
description: 'Disable console'
required: true
default: "true"
pull_request:
push:
branches:
Expand Down Expand Up @@ -55,13 +50,8 @@ jobs:
envFile: .env

- name: Launch Instill VDP (latest)
run: |
if "${{ github.event.inputs.disableConsoleBuild }}"; then
make latest BUILD=true PROFILE=console EDITION=local-ce:test
else
make latest BUILD=true PROFILE=all EDITION=local-ce:test
fi
run: make latest PROFILE=exclude-console EDITION=local-ce:test

- name: List all docker containers
run: |
docker ps -a
Expand Down
7 changes: 7 additions & 0 deletions docker-compose.build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@ services:
SERVICE_NAME: ${PIPELINE_BACKEND_HOST}
GOLANG_VERSION: ${GOLANG_VERSION}
K6_VERSION: ${K6_VERSION}
profiles:
- all
- exclude-api-gateway
- exclude-mgmt
- exclude-console
- exclude-model
- exclude-controller-model
40 changes: 20 additions & 20 deletions docker-compose.latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,31 @@ services:
pipeline_backend_migrate:
profiles:
- all
- api-gateway
- mgmt
- console
- model
- controller-model
- exclude-api-gateway
- exclude-mgmt
- exclude-console
- exclude-model
- exclude-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest

pipeline_backend_init:
profiles:
- all
- api-gateway
- mgmt
- console
- model
- controller-model
- exclude-api-gateway
- exclude-mgmt
- exclude-console
- exclude-model
- exclude-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest

pipeline_backend:
profiles:
- all
- api-gateway
- mgmt
- console
- model
- controller-model
- exclude-api-gateway
- exclude-mgmt
- exclude-console
- exclude-model
- exclude-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest
environment:
CFG_SERVER_DEBUG: "true"
Expand All @@ -41,11 +41,11 @@ services:
pipeline_backend_worker:
profiles:
- all
- api-gateway
- mgmt
- console
- model
- controller-model
- exclude-api-gateway
- exclude-mgmt
- exclude-console
- exclude-model
- exclude-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest
environment:
CFG_SERVER_DEBUG: "true"
Expand Down
Loading