Compare commits
8 Commits
v1.0.0
...
907bb83ef4
Author | SHA1 | Date | |
---|---|---|---|
|
907bb83ef4 | ||
|
ef7425ddea | ||
|
bef4b23ced | ||
|
54e87b6b8c | ||
|
e7e344e9dc | ||
|
56a38f556a | ||
|
062fb1c416 | ||
|
f2b8cf31ca |
@@ -1,7 +1,6 @@
|
||||
name: Lint and Test Charts
|
||||
|
||||
on:
|
||||
push:
|
||||
on: []
|
||||
|
||||
jobs:
|
||||
lint-test:
|
||||
|
@@ -19,30 +19,17 @@ jobs:
|
||||
with:
|
||||
version: v3.14.4
|
||||
|
||||
- uses: actions/setup-python@v5
|
||||
- name: Check for changed charts
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v44
|
||||
with:
|
||||
python-version: '3.x'
|
||||
check-latest: true
|
||||
dir_names: true
|
||||
dir_names_max_depth: '2'
|
||||
files: 'charts/**'
|
||||
|
||||
- name: Set up chart-testing
|
||||
uses: helm/chart-testing-action@v2.6.1
|
||||
|
||||
- name: Run chart-testing (list-changed)
|
||||
id: list-changed
|
||||
- name: List all changed files
|
||||
run: |
|
||||
changed=$(ct list-changed --target-branch ${{ gitea.event.repository.default_branch }})
|
||||
if [[ -n "$changed" ]]; then
|
||||
echo "changed=true" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
for file in ${{ steps.changed-files.output_all_changed_files }}; do
|
||||
echo "$file was changed"
|
||||
done
|
||||
|
||||
- name: Run chart-testing (lint)
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
run: ct lint --target-branch ${{ gitea.event.repository.default_branch }}
|
||||
|
||||
- name: Create kind cluster
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
uses: helm/kind-action@v1.10.0
|
||||
|
||||
- name: Run chart-testing (install)
|
||||
if: steps.list-changed.outputs.changed == 'true'
|
||||
run: ct install --target-branch ${{ gitea.event.repository.default_branch }}
|
||||
|
@@ -1,8 +1,5 @@
|
||||
name: Testing pipes
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
on: []
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
|
@@ -2,8 +2,8 @@ apiVersion: v1
|
||||
stringData:
|
||||
AZP_POOL: {{ .Values.azure.pool }}
|
||||
AZP_TOKEN: {{ .Values.azure.token }}
|
||||
AZP_URL: {{ .Values.azure.url }}
|
||||
AZP_URL {{ .Values.azure.url }}
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "az-agent.fullname" . }}
|
||||
type: Opaque
|
||||
type: Opaque
|
||||
|
@@ -1,10 +1,11 @@
|
||||
# Default values for az-agent.
|
||||
# This is a YAML-formatted file.
|
||||
# This is a YAML-formatted file. sdf
|
||||
|
||||
# Declare variables to be passed into your templates.
|
||||
|
||||
azure:
|
||||
url
|
||||
pool
|
||||
pool:
|
||||
token:
|
||||
|
||||
harbor:
|
||||
|
Reference in New Issue
Block a user