Skip to content

Commit

Permalink
chore(core): disable console building in make-latest.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthak-instill committed Jan 5, 2024
1 parent 515ce2c commit a113572
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/make-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Make Latest

on:
workflow_dispatch:
inputs:
disableConsoleBuild:
description: 'Disable console'
required: true
default: "true"
pull_request:
push:
branches:
Expand Down Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a113572

Please sign in to comment.