From ff284eed30a13f78bb8484a8b6ac2c18b23159be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20BUISSON?= Date: Fri, 7 Jun 2024 15:46:03 +0200 Subject: [PATCH] chore: update hub-crds PR automation --- .github/workflows/update-crds.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/update-crds.yaml b/.github/workflows/update-crds.yaml index 391d089..fc4b55a 100644 --- a/.github/workflows/update-crds.yaml +++ b/.github/workflows/update-crds.yaml @@ -14,7 +14,7 @@ concurrency: env: GIT_TAG: ${{ inputs.tag || github.ref_name }} jobs: - update-traefik-hub-helm-chart: + update-traefik-helm-chart: runs-on: ubuntu-latest steps: - name: checkout @@ -23,20 +23,20 @@ jobs: repository: traefik/hub-crds path: ${{ github.workspace }}/hub-crds ref: ${{ env.GIT_TAG }} - - name: checkout traefik-hub-helm-chart repo + - name: checkout traefik-helm-chart repo uses: actions/checkout@v4 with: - repository: traefik/traefik-hub-helm-chart + repository: traefik/traefik-helm-chart ref: main token: ${{ secrets.GH_TOKEN }} - path: ${{ github.workspace }}/traefik-hub-helm-chart + path: ${{ github.workspace }}/traefik-helm-chart - name: copy CRDs - run: rsync -crv --delete --exclude='kustomization.yaml' --exclude='traefik.io_*.yaml' --exclude='traefik.containo.us_*.yaml' --exclude='*.go' ${{ github.workspace }}/hub-crds/pkg/apis/hub/v1alpha1/crd/ ${{ github.workspace }}/traefik-hub-helm-chart/traefik-hub/crds/ + run: rsync -crv --delete --exclude='kustomization.yaml' --exclude='traefik.io_*.yaml' --exclude='*.go' ${{ github.workspace }}/hub-crds/pkg/apis/hub/v1alpha1/crd/ ${{ github.workspace }}/traefik-helm-chart/traefik/crds/ - name: create PR uses: peter-evans/create-pull-request@v6 with: token: ${{ secrets.GH_TOKEN }} - path: traefik-hub-helm-chart + path: traefik-helm-chart commit-message: "chore: update CRDs to ${{ env.GIT_TAG }}" committer: "Traefiker " author: "${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>" @@ -57,10 +57,10 @@ jobs: TARGET_BRANCH: main CRDS_VERSION: ${{ inputs.tag || github.ref_name }} secrets: inherit - update-hub-install: + update-hub-api-management: uses: ./.github/workflows/template-update-crds-go-project.yaml with: - TARGET_REPO: traefik/hub-install + TARGET_REPO: traefik/hub-api-management TARGET_BRANCH: master CRDS_VERSION: ${{ inputs.tag || github.ref_name }} secrets: inherit