mirror of https://github.com/apache/superset.git
ci: use git submodules for Chart Actions (#14211)
* Add chart-action submodules * use local github actions for chart actions * Run actions checkout for local checkout * Run lint when PR is edited * Remove path filter and dummy value * Fix fetch-depth * Test chart version bump * Update maintainer to pass validation * Update maintainer to pass validation
This commit is contained in:
parent
77a9cc7088
commit
61325635da
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 120944e66390c2534cc1b3c62d7285ba7ff02594
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit b0d4458c71155b54fcf33e11dd465dc923550009
|
|
@ -2,16 +2,17 @@ name: Lint and Test Charts
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
types: [opened, edited, reopened, synchronize]
|
||||||
- 'helm/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Set up Helm
|
- name: Set up Helm
|
||||||
|
@ -24,7 +25,7 @@ jobs:
|
||||||
python-version: 3.7
|
python-version: 3.7
|
||||||
|
|
||||||
- name: Set up chart-testing
|
- name: Set up chart-testing
|
||||||
uses: helm/chart-testing-action@v2.0.1
|
uses: ./.github/actions/chart-testing-action
|
||||||
|
|
||||||
- name: Run chart-testing (list-changed)
|
- name: Run chart-testing (list-changed)
|
||||||
id: list-changed
|
id: list-changed
|
||||||
|
|
|
@ -11,9 +11,11 @@ jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Configure Git
|
- name: Configure Git
|
||||||
|
@ -27,7 +29,7 @@ jobs:
|
||||||
version: v3.5.4
|
version: v3.5.4
|
||||||
|
|
||||||
- name: Run chart-releaser
|
- name: Run chart-releaser
|
||||||
uses: helm/chart-releaser-action@v1.2.0
|
uses: ./.github/actions/chart-releaser-action
|
||||||
with:
|
with:
|
||||||
charts_dir: helm
|
charts_dir: helm
|
||||||
env:
|
env:
|
||||||
|
|
|
@ -30,3 +30,9 @@
|
||||||
[submodule ".github/actions/comment-on-pr"]
|
[submodule ".github/actions/comment-on-pr"]
|
||||||
path = .github/actions/comment-on-pr
|
path = .github/actions/comment-on-pr
|
||||||
url = https://github.com/unsplash/comment-on-pr
|
url = https://github.com/unsplash/comment-on-pr
|
||||||
|
[submodule ".github/actions/chart-testing-action"]
|
||||||
|
path = .github/actions/chart-testing-action
|
||||||
|
url = https://github.com/helm/chart-testing-action
|
||||||
|
[submodule ".github/actions/chart-releaser-action"]
|
||||||
|
path = .github/actions/chart-releaser-action
|
||||||
|
url = https://github.com/helm/chart-releaser-action
|
||||||
|
|
|
@ -19,10 +19,10 @@ appVersion: "1.0"
|
||||||
description: Apache Superset is a modern, enterprise-ready business intelligence web application
|
description: Apache Superset is a modern, enterprise-ready business intelligence web application
|
||||||
name: superset
|
name: superset
|
||||||
maintainers:
|
maintainers:
|
||||||
- name: Chuan-Yen Chiang
|
- name: craig-rueda
|
||||||
email: cychiang0823@gmail.com
|
email: craig@craigrueda.com
|
||||||
url: https://github.com/cychiang
|
url: https://github.com/craig-rueda
|
||||||
version: 0.1.0
|
version: 0.1.1
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: postgresql
|
- name: postgresql
|
||||||
version: 10.2.0
|
version: 10.2.0
|
||||||
|
|
|
@ -372,5 +372,3 @@ nodeSelector: {}
|
||||||
tolerations: []
|
tolerations: []
|
||||||
|
|
||||||
affinity: {}
|
affinity: {}
|
||||||
|
|
||||||
dummy: true
|
|
||||||
|
|
Loading…
Reference in New Issue