Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.
main ... v1.0.0

6 changed files with 34 additions and 24 deletions

View File

@ -2,9 +2,7 @@ name: Lint and Test Charts
on: on:
push: 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
@ -13,7 +11,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 Container image name: Build & push Docker image
with: with:
image: library/azure-agent image: library/azure-agent
registry: repo.rre.nu registry: repo.rre.nu

View File

@ -19,20 +19,30 @@ jobs:
with: with:
version: v3.14.4 version: v3.14.4
- name: Check for changed charts - uses: actions/setup-python@v5
id: changed-files
uses: tj-actions/changed-files@v44
with: with:
dir_names: true python-version: '3.x'
dir_names_max_depth: '2' check-latest: true
files: 'charts/**'
- name: List all changed files - name: Set up chart-testing
env: uses: helm/chart-testing-action@v2.6.1
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
- name: Run chart-testing (list-changed)
id: list-changed
run: | run: |
echo "performing lint" changed=$(ct list-changed --target-branch ${{ gitea.event.repository.default_branch }})
for file in ${ALL_CHANGED_FILES}; do if [[ -n "$changed" ]]; then
echo "$file was changed" echo "changed=true" >> "$GITHUB_OUTPUT"
helm lint $file fi
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 }}

View File

@ -1,5 +1,8 @@
name: Testing pipes name: Testing pipes
on: [] on:
push:
branches:
- main
jobs: jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:

View File

@ -1,2 +1 @@
hellloooo hellloooo
df

View File

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

View File

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