From a1135728823ff46fe16561fd2c04dd2c77e5f7f1 Mon Sep 17 00:00:00 2001 From: sarthak gupta Date: Fri, 5 Jan 2024 17:38:37 +0530 Subject: [PATCH] chore(core): disable console building in make-latest.yml --- .github/workflows/make-latest.yml | 11 ++++++++++- .github/workflows/releases.yml | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make-latest.yml b/.github/workflows/make-latest.yml index 7be8f1f43..fdc28ff92 100644 --- a/.github/workflows/make-latest.yml +++ b/.github/workflows/make-latest.yml @@ -2,6 +2,11 @@ name: Make Latest on: workflow_dispatch: + inputs: + disableConsoleBuild: + description: 'Disable console' + required: true + default: "true" pull_request: push: branches: @@ -51,7 +56,11 @@ jobs: - name: Launch Instill VDP (latest) run: | - make latest BUILD=true PROFILE=all EDITION=local-ce:test + 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 - name: List all docker containers run: | diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 1a4673da5..eda32b0d6 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -84,7 +84,7 @@ jobs: - name: Bump SemVer id: bump-semver run: | - echo "next-version=$(semver bump patch ${{ steps.get-current-chart-version.outputs.version }})-alpha" >> $GITHUB_OUTPUT + echo "next-version=$(semver bump patch ${{ steps.get-current-chart-version.outputs.version }})-beta" >> $GITHUB_OUTPUT - name: Bump up Helm chart version run: | yq ".version=\"${{ steps.bump-semver.outputs.next-version }}\"" -i charts/vdp/Chart.yaml