Compare commits
16 Commits
e7e344e9dc
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
2a5139e9b0 | ||
|
2a40a55649 | ||
|
3897cb8ee7 | ||
|
184cc663d9 | ||
|
ab9a1d385f | ||
|
6fdcccff69 | ||
|
6007cc9f09 | ||
|
4990e6fae9 | ||
|
f64d3eba0f | ||
|
c7f0e3071a | ||
|
0ec7ec199a | ||
|
3633fb4a59 | ||
|
907bb83ef4 | ||
|
ef7425ddea | ||
|
bef4b23ced | ||
|
54e87b6b8c |
@@ -1,7 +1,10 @@
|
|||||||
name: Lint and Test Charts
|
name: Lint and Test Charts
|
||||||
|
|
||||||
on: []
|
on:
|
||||||
|
push:
|
||||||
|
# Pattern matched against refs/tags
|
||||||
|
tags:
|
||||||
|
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
|
||||||
jobs:
|
jobs:
|
||||||
lint-test:
|
lint-test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -10,7 +13,7 @@ jobs:
|
|||||||
name: Check out code
|
name: Check out code
|
||||||
|
|
||||||
- uses: mr-smithers-excellent/docker-build-push@v6
|
- uses: mr-smithers-excellent/docker-build-push@v6
|
||||||
name: Build & push Docker image
|
name: Build & push Container image
|
||||||
with:
|
with:
|
||||||
image: library/azure-agent
|
image: library/azure-agent
|
||||||
registry: repo.rre.nu
|
registry: repo.rre.nu
|
||||||
|
@@ -20,12 +20,19 @@ jobs:
|
|||||||
version: v3.14.4
|
version: v3.14.4
|
||||||
|
|
||||||
- name: Check for changed charts
|
- name: Check for changed charts
|
||||||
id: changed-files
|
id: changed-files
|
||||||
uses: tj-actions/changed-files@v45.0.3
|
uses: tj-actions/changed-files@v44
|
||||||
|
with:
|
||||||
|
dir_names: true
|
||||||
|
dir_names_max_depth: '2'
|
||||||
|
files: 'charts/**'
|
||||||
|
|
||||||
- name: List all changed files
|
- name: List all changed files
|
||||||
run: |
|
env:
|
||||||
for file in ${{ steps.changed-files.output_all_changed_files }}; do
|
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
|
||||||
echo "$file was changed"
|
run: |
|
||||||
done
|
echo "performing lint"
|
||||||
|
for file in ${ALL_CHANGED_FILES}; do
|
||||||
|
echo "$file was changed"
|
||||||
|
helm lint $file
|
||||||
|
done
|
||||||
|
@@ -6,4 +6,4 @@ stringData:
|
|||||||
kind: Secret
|
kind: Secret
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ include "az-agent.fullname" . }}
|
name: {{ include "az-agent.fullname" . }}
|
||||||
type: Opaque
|
type: Opaque
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
# Default values for az-agent.
|
# 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.
|
# Declare variables to be passed into your templates.
|
||||||
|
|
||||||
azure:
|
azure:
|
||||||
url
|
url:
|
||||||
pool
|
pool:
|
||||||
token:
|
token:
|
||||||
|
|
||||||
harbor:
|
harbor:
|
||||||
|
Reference in New Issue
Block a user