mirror of
				https://github.com/kubernetes-sigs/external-dns.git
				synced 2025-11-04 12:41:00 +01:00 
			
		
		
		
	chore(chart): Updated GH workflows
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
This commit is contained in:
		
							parent
							
								
									1bfce6a8b5
								
							
						
					
					
						commit
						a73cd946da
					
				
							
								
								
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/ci.yml
									
									
									
									
										vendored
									
									
								
							@ -27,7 +27,7 @@ jobs:
 | 
				
			|||||||
      id: go
 | 
					      id: go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check out code into the Go module directory
 | 
					    - name: Check out code into the Go module directory
 | 
				
			||||||
      uses: actions/checkout@v4
 | 
					      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install CI
 | 
					    - name: Install CI
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							@ -26,7 +26,7 @@ jobs:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - name: Checkout repository
 | 
					    - name: Checkout repository
 | 
				
			||||||
      uses: actions/checkout@v4
 | 
					      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
    - name: Install go version
 | 
					    - name: Install go version
 | 
				
			||||||
      uses: actions/setup-go@v4
 | 
					      uses: actions/setup-go@v4
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/docs.yml
									
									
									
									
										vendored
									
									
								
							@ -14,7 +14,7 @@ jobs:
 | 
				
			|||||||
    name: Release Docs
 | 
					    name: Release Docs
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          fetch-depth: 0
 | 
					          fetch-depth: 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/json-yaml-validate.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/json-yaml-validate.yml
									
									
									
									
										vendored
									
									
								
							@ -14,7 +14,7 @@ jobs:
 | 
				
			|||||||
  json-yaml-validate:
 | 
					  json-yaml-validate:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - uses: actions/checkout@v4
 | 
					      - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: json-yaml-validate
 | 
					      - name: json-yaml-validate
 | 
				
			||||||
        uses: GrantBirki/json-yaml-validate@v2.4.0
 | 
					        uses: GrantBirki/json-yaml-validate@v2.4.0
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										48
									
								
								.github/workflows/lint-test-chart.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										48
									
								
								.github/workflows/lint-test-chart.yaml
									
									
									
									
										vendored
									
									
								
							@ -14,49 +14,55 @@ jobs:
 | 
				
			|||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4 # v4.0.0
 | 
					        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          fetch-depth: 0
 | 
					          fetch-depth: 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run Artifact Hub lint
 | 
					      - name: Install Artifact Hub CLI
 | 
				
			||||||
        run: |
 | 
					        uses: action-stars/install-tool-from-github-release@58e2dd20166c0eb19ab9ac4d0966c930a647ee69 # v0.2.0
 | 
				
			||||||
          set -euo pipefail
 | 
					 | 
				
			||||||
          curl -Lo ah_linux_amd64.tar.gz https://github.com/artifacthub/hub/releases/download/v1.9.0/ah_1.9.0_linux_amd64.tar.gz
 | 
					 | 
				
			||||||
          tar -xzvf ah_linux_amd64.tar.gz ah
 | 
					 | 
				
			||||||
          ./ah lint --kind helm || exit 1
 | 
					 | 
				
			||||||
          rm -f ./ah ./ah_linux_amd64.tar.gz
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Set-up Helm
 | 
					 | 
				
			||||||
        uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
 | 
					 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          github_token: ${{ github.token }}
 | 
				
			||||||
 | 
					          owner: artifacthub
 | 
				
			||||||
 | 
					          repository: hub
 | 
				
			||||||
 | 
					          name: ah
 | 
				
			||||||
 | 
					          check_command: ah version
 | 
				
			||||||
          version: latest
 | 
					          version: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set-up Python
 | 
					      - name: Run Artifact Hub lint
 | 
				
			||||||
 | 
					        run: ah lint --kind helm || exit 1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Install Helm
 | 
				
			||||||
 | 
					        uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          token: ${{ github.token }}
 | 
				
			||||||
 | 
					          version: latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Install Python
 | 
				
			||||||
        uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
 | 
					        uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          token: ${{ github.token }}
 | 
				
			||||||
          python-version: "3.x"
 | 
					          python-version: "3.x"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set-up chart-testing
 | 
					      - name: Set-up chart-testing
 | 
				
			||||||
        uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
 | 
					        uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run chart-testing (list-changed)
 | 
					      - name: Check for changes
 | 
				
			||||||
        id: list-changed
 | 
					        id: changes
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          changed=$(ct list-changed)
 | 
					          changed=$(ct list-changed)
 | 
				
			||||||
          if [[ -n "$changed" ]]; then
 | 
					          if [[ -n "$changed" ]]; then
 | 
				
			||||||
            echo "changed=true" >> $GITHUB_OUTPUT
 | 
					            echo "changed=true" >> "${GITHUB_OUTPUT}"
 | 
				
			||||||
          fi
 | 
					          fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run chart-testing (lint)
 | 
					      - name: Run chart-testing lint
 | 
				
			||||||
        run: ct lint --check-version-increment=false
 | 
					        run: ct lint --check-version-increment=false
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set-up Kind cluster
 | 
					      - name: Create Kind cluster
 | 
				
			||||||
 | 
					        if: steps.changes.outputs.changed == 'true'
 | 
				
			||||||
        uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
 | 
					        uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          wait: 120s
 | 
					          wait: 120s
 | 
				
			||||||
        if: steps.list-changed.outputs.changed == 'true'
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Run chart-testing (install)
 | 
					      - name: Run chart-testing install
 | 
				
			||||||
 | 
					        if: steps.changes.outputs.changed == 'true'
 | 
				
			||||||
        run: ct install
 | 
					        run: ct install
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/lint.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/lint.yaml
									
									
									
									
										vendored
									
									
								
							@ -27,7 +27,7 @@ jobs:
 | 
				
			|||||||
      id: go
 | 
					      id: go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check out code into the Go module directory
 | 
					    - name: Check out code into the Go module directory
 | 
				
			||||||
      uses: actions/checkout@v4
 | 
					      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Lint
 | 
					    - name: Lint
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										4
									
								
								.github/workflows/release-chart.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/release-chart.yaml
									
									
									
									
										vendored
									
									
								
							@ -20,7 +20,7 @@ jobs:
 | 
				
			|||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout
 | 
					      - name: Checkout
 | 
				
			||||||
        uses: actions/checkout@v4 # v4.0.0
 | 
					        uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          fetch-depth: 0
 | 
					          fetch-depth: 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -50,7 +50,7 @@ jobs:
 | 
				
			|||||||
          git config user.name "$GITHUB_ACTOR"
 | 
					          git config user.name "$GITHUB_ACTOR"
 | 
				
			||||||
          git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
 | 
					          git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Set-up Helm
 | 
					      - name: Install Helm
 | 
				
			||||||
        uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
 | 
					        uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          token: ${{ secrets.GITHUB_TOKEN }}
 | 
					          token: ${{ secrets.GITHUB_TOKEN }}
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										2
									
								
								.github/workflows/staging-image-tester.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/staging-image-tester.yml
									
									
									
									
										vendored
									
									
								
							@ -27,7 +27,7 @@ jobs:
 | 
				
			|||||||
      id: go
 | 
					      id: go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Check out code into the Go module directory
 | 
					    - name: Check out code into the Go module directory
 | 
				
			||||||
      uses: actions/checkout@v4
 | 
					      uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Install CI
 | 
					    - name: Install CI
 | 
				
			||||||
      run: |
 | 
					      run: |
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user