Skip to content

Commit

Permalink
Merge f903382 into e11838f
Browse files Browse the repository at this point in the history
  • Loading branch information
tczekajlo authored Jul 6, 2021
2 parents e11838f + f903382 commit 74b6c59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 38 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, labeled]

jobs:
release:
Expand All @@ -24,38 +26,19 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- 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/[email protected]
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/[email protected]
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
12 changes: 3 additions & 9 deletions charts/rasa/Chart.lock
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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"
10 changes: 0 additions & 10 deletions charts/rasa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 74b6c59

Please sign in to comment.