From cb5a5e0e5d09f5875a7dfee7e9bdc77a8818a039 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Tue, 27 Dec 2022 21:02:09 +0000 Subject: [PATCH] fix(release): Revert workflow change & change upgrade job to 0.9.3 --- .github/workflows/release.yaml | 45 ++++++++++++++++++++++++++++++++++ charts/datahub/Chart.yaml | 2 +- charts/datahub/values.yaml | 2 +- 3 files changed, 47 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 000000000..7343b932c --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,45 @@ +name: Release Charts + +on: + push: + branches: + - master + paths-ignore: + - '**.md' + - 'LICENSE' + - 'NOTICE' + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: Fetch history + run: git fetch --prune --unshallow + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + - name: Install Helm + uses: azure/setup-helm@v1 + with: + version: v3.4.0 + + - name: Add Helm repos + run: | + helm repo add elasticsearch https://helm.elastic.co + helm repo add neo4j https://neo4j-contrib.github.io/neo4j-helm + helm repo add neo4j-community https://equinor.github.io/helm-charts/charts + helm repo add mysql https://charts.bitnami.com/bitnami + helm repo add cp-helm-charts https://confluentinc.github.io/cp-helm-charts + helm repo add kafka https://charts.bitnami.com/bitnami + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.2.1 + with: + charts_repo_url: https://helm.datahubproject.io + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" \ No newline at end of file diff --git a/charts/datahub/Chart.yaml b/charts/datahub/Chart.yaml index 2e37a2eb6..42012539d 100644 --- a/charts/datahub/Chart.yaml +++ b/charts/datahub/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for LinkedIn DataHub type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.2.124 +version: 0.2.125 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. appVersion: 0.9.5 diff --git a/charts/datahub/values.yaml b/charts/datahub/values.yaml index 6876e6139..309032b28 100644 --- a/charts/datahub/values.yaml +++ b/charts/datahub/values.yaml @@ -136,7 +136,7 @@ datahubUpgrade: enabled: true image: repository: acryldata/datahub-upgrade - tag: "v0.9.4" # defaults to .global.datahub.version, v0.9.5 broken due to https://github.com/datahub-project/datahub/pull/6381 + tag: "v0.9.3" # defaults to .global.datahub.version, v0.9.5 broken due to https://github.com/datahub-project/datahub/pull/6381 batchSize: 1000 batchDelayMs: 100 noCodeDataMigration: