Compare commits

...

12 Commits

Author SHA1 Message Date
Jonas Forsberg
2a5139e9b0 .
All checks were successful
Lint and Test Charts / lint-test (push) Successful in 13s
2024-10-15 15:22:43 +02:00
Jonas Forsberg
2a40a55649 . 2024-10-15 14:52:50 +02:00
Jonas Forsberg
3897cb8ee7 . 2024-10-15 14:51:22 +02:00
Jonas Forsberg
184cc663d9 . 2024-10-15 14:50:05 +02:00
Jonas Forsberg
ab9a1d385f . 2024-10-15 14:47:18 +02:00
Jonas Forsberg
6fdcccff69 . 2024-10-15 14:46:27 +02:00
Jonas Forsberg
6007cc9f09 . 2024-10-15 14:44:08 +02:00
Jonas Forsberg
4990e6fae9 . 2024-10-15 14:43:25 +02:00
Jonas Forsberg
f64d3eba0f . 2024-10-15 14:41:57 +02:00
Jonas Forsberg
c7f0e3071a . 2024-10-15 14:41:03 +02:00
Jonas Forsberg
0ec7ec199a . 2024-10-15 14:35:30 +02:00
Jonas Forsberg
3633fb4a59 . 2024-10-15 14:34:04 +02:00
4 changed files with 13 additions and 8 deletions

View File

@ -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

View File

@ -28,8 +28,11 @@ jobs:
files: 'charts/**' files: 'charts/**'
- name: List all changed files - name: List all changed files
env:
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: | run: |
for file in ${{ steps.changed-files.output_all_changed_files }}; do echo "performing lint"
for file in ${ALL_CHANGED_FILES}; do
echo "$file was changed" echo "$file was changed"
helm lint $file
done done

View File

@ -2,7 +2,7 @@ apiVersion: v1
stringData: stringData:
AZP_POOL: {{ .Values.azure.pool }} AZP_POOL: {{ .Values.azure.pool }}
AZP_TOKEN: {{ .Values.azure.token }} AZP_TOKEN: {{ .Values.azure.token }}
AZP_URL {{ .Values.azure.url }} AZP_URL: {{ .Values.azure.url }}
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "az-agent.fullname" . }} name: {{ include "az-agent.fullname" . }}

View File

@ -1,10 +1,9 @@
# Default values for az-agent. # Default values for az-agent.
# This is a YAML-formatted file. sdf # 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: