diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57d29f6..2c2ca73 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,8 @@ on: push: branches: - main + pull_request: + types: [opened, synchronize, labeled] jobs: release: @@ -24,38 +26,19 @@ jobs: git config user.name "$GITHUB_ACTOR" git config user.email "$GITHUB_ACTOR@users.noreply.github.com" - - name: Prepare the chart directory - run: cp -a charts charts-2; cd charts; ls | grep -v rasa-common | xargs rm -rfv - - name: Install Helm uses: azure/setup-helm@v1 with: version: v3.6.0 - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.2.1 - with: - config: .github/.cr.yaml - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - name: Helm dependency update run: | helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add rasa https://helm.rasa.com - # wait for repo to be updated - sleep 20 - - name: Run chart-releaser uses: helm/chart-releaser-action@v1.2.1 with: config: .github/.cr.yaml - charts_dir: charts-2 env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - - name: debug - if: always() - run: | - cat .cr-index/index.yaml || true diff --git a/charts/rasa/Chart.lock b/charts/rasa/Chart.lock index 11406a8..6c85c22 100644 --- a/charts/rasa/Chart.lock +++ b/charts/rasa/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: rasa-common - repository: file://../rasa-common + repository: https://helm.rasa.com version: 1.0.0 - name: postgresql repository: https://charts.bitnami.com/bitnami @@ -11,11 +11,5 @@ dependencies: - name: rabbitmq repository: https://charts.bitnami.com/bitnami version: 8.12.2 -- name: rasa-action-server - repository: file://../rasa-action-server - version: 1.0.0 -- name: duckling - repository: file://../duckling - version: 1.0.0 -digest: sha256:f4e57d27e654ef71a4c55bd50f990bcf3766caa4e0aa5f75e044032385ba7a47 -generated: "2021-06-17T13:55:39.707785+02:00" +digest: sha256:a106c0d858dc4405f066b3acc90577f530dd2878ced6e958141b970a46cfbdc7 +generated: "2021-07-06T14:09:12.769085+02:00" diff --git a/charts/rasa/Chart.yaml b/charts/rasa/Chart.yaml index 6a3023e..fa9e7ec 100644 --- a/charts/rasa/Chart.yaml +++ b/charts/rasa/Chart.yaml @@ -55,16 +55,6 @@ dependencies: repository: https://charts.bitnami.com/bitnami condition: rabbitmq.install - - name: rasa-action-server - version: ~1.0.0 - repository: https://helm.rasa.com - condition: rasa-action-server.install - - - name: duckling - version: ~1.0.0 - repository: https://helm.rasa.com - condition: duckling.install - annotations: # See: https://artifacthub.io/docs/topics/annotations/helm/#supported-annotations artifacthub.io/changes: |