Commit daily changes
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
@@ -3,11 +3,11 @@ name: "SCALE: catalog-tests"
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '.github/workflows/catalog-template-test.yaml'
|
||||
- '.github/workflows/catalog-test.yaml'
|
||||
- 'templates/*'
|
||||
- 'templates/**'
|
||||
- 'templates/**/*'
|
||||
- ".github/workflows/catalog-template-test.yaml"
|
||||
- ".github/workflows/catalog-test.yaml"
|
||||
- "templates/*"
|
||||
- "templates/**"
|
||||
- "templates/**/*"
|
||||
jobs:
|
||||
catalog-tests:
|
||||
name: Test SCALE Catalog Templates
|
||||
@@ -21,14 +21,14 @@ jobs:
|
||||
|
||||
- name: Setting repo parent dir as safe safe.directory
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
name: Checkout-validate
|
||||
with:
|
||||
fetch-depth: 1
|
||||
repository: truecharts/catalog_validation
|
||||
path: .catalog_validation
|
||||
|
||||
|
||||
- name: install catalog_validation
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -45,13 +45,13 @@ jobs:
|
||||
run: |
|
||||
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
|
||||
./charttool deps ${PWD}/charts
|
||||
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
with:
|
||||
repository: truecharts/catalog
|
||||
path: catalog
|
||||
|
||||
|
||||
- name: Build Complete Catalog
|
||||
shell: bash
|
||||
if: steps.list-changed.outputs.detected == 'true'
|
||||
|
||||
@@ -26,14 +26,14 @@ jobs:
|
||||
|
||||
- name: Setting repo parent dir as safe safe.directory
|
||||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
||||
|
||||
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
|
||||
name: Checkout-validate
|
||||
with:
|
||||
fetch-depth: 1
|
||||
repository: truecharts/catalog_validation
|
||||
path: .catalog_validation
|
||||
|
||||
|
||||
- name: install catalog_validation
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
run: |
|
||||
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
|
||||
./charttool deps ${CHANGED}
|
||||
|
||||
|
||||
- name: Build Catalog
|
||||
shell: bash
|
||||
if: steps.list-changed.outputs.detected == 'true'
|
||||
@@ -84,7 +84,6 @@ jobs:
|
||||
CHANGED=$(echo '${{ steps.list-changed.outputs.CHANGED_CHARTS }}' | jq --raw-output '.[]')
|
||||
./charttool buildSCALE ${CHANGED}
|
||||
|
||||
|
||||
## TODO: Only run on the existing catalog when CI or template changes are actually detected
|
||||
# - name: Checkout
|
||||
# uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
repository: truecharts/helm-staging
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
path: helm
|
||||
|
||||
|
||||
- name: Install pre-commit, yamale and yamllint
|
||||
run: |
|
||||
pip3 install --no-cache-dir pre-commit
|
||||
@@ -93,7 +93,7 @@ jobs:
|
||||
with:
|
||||
token: ${{ secrets.BOT_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
||||
|
||||
- name: Prep Helm
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user