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:
push:
# Pattern matched against refs/tags
tags:
- '**' # Push events to every tag including hierarchical tags like v1.0/beta
jobs:
lint-test:
runs-on: ubuntu-latest
@ -13,7 +11,7 @@ jobs:
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Container image
name: Build & push Docker image
with:
image: library/azure-agent
registry: repo.rre.nu

View File

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

View File

@ -1,2 +1 @@
hellloooo
df

View File

@ -6,4 +6,4 @@ stringData:
kind: Secret
metadata:
name: {{ include "az-agent.fullname" . }}
type: Opaque
type: Opaque

View File

@ -1,10 +1,10 @@
# 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.
azure:
url:
pool:
url
pool
token:
harbor: