diff --git a/.github/workflows/make-latest.yml b/.github/workflows/make-latest.yml index 75629db2..84a9fd52 100644 --- a/.github/workflows/make-latest.yml +++ b/.github/workflows/make-latest.yml @@ -2,11 +2,6 @@ name: Make Latest on: workflow_dispatch: - inputs: - disableConsoleBuild: - description: 'Disable console' - required: true - default: "true" pull_request: push: branches: @@ -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 diff --git a/docker-compose.build.yml b/docker-compose.build.yml index cb26e6f3..6f1cbb54 100644 --- a/docker-compose.build.yml +++ b/docker-compose.build.yml @@ -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 diff --git a/docker-compose.latest.yml b/docker-compose.latest.yml index e34c0416..92f95ab0 100644 --- a/docker-compose.latest.yml +++ b/docker-compose.latest.yml @@ -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" @@ -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"