Skip to content

Commit

Permalink
chore: update profiles into the docker-compose-build.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-instill committed Jan 18, 2024
1 parent 6483579 commit 9429061
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 32 deletions.
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=without-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
- without-api-gateway
- without-mgmt
- without-console
- without-model
- without-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
- without-api-gateway
- without-mgmt
- without-console
- without-model
- without-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest

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

pipeline_backend:
profiles:
- all
- api-gateway
- mgmt
- console
- model
- controller-model
- without-api-gateway
- without-mgmt
- without-console
- without-model
- without-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
- without-api-gateway
- without-mgmt
- without-console
- without-model
- without-controller-model
image: ${PIPELINE_BACKEND_IMAGE}:latest
environment:
CFG_SERVER_DEBUG: "true"
Expand Down

0 comments on commit 9429061

Please sign in to comment.