From 6892c26ecde5ca7f6fdb8b15cba676b06a895d37 Mon Sep 17 00:00:00 2001 From: Karel Simon Date: Thu, 15 Feb 2024 06:21:09 +0100 Subject: [PATCH] feat: remove script for downloading tekton tasks manifests tekton tasks will no longer be shipped via ssp operator Signed-off-by: Karel Simon --- .github/workflows/release-tekton-tasks.yaml | 46 --------------------- 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/release-tekton-tasks.yaml diff --git a/.github/workflows/release-tekton-tasks.yaml b/.github/workflows/release-tekton-tasks.yaml deleted file mode 100644 index e2539ee61..000000000 --- a/.github/workflows/release-tekton-tasks.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: Release KubeVirt Tekton Tasks - -on: - repository_dispatch: - types: [release-tekton-tasks] - -jobs: - release-tekton-tasks: - name: Release KubeVirt Tekton Tasks - runs-on: ubuntu-latest - steps: - - name: Checkout code - if: ${{ github.event.client_payload.release_version }} != '' - uses: actions/checkout@v4 - - run: | - RELEASE_VERSION=${{ github.event.client_payload.release_version }} - KUBERNETES_OUTPUT_FILE=./data/tekton-tasks/kubernetes/kubevirt-tekton-tasks-kubernetes.yaml - OKD_OUTPUT_FILE=./data/tekton-tasks/okd/kubevirt-tekton-tasks-okd.yaml - - mkdir -p ./data/tekton-tasks/kubernetes - mkdir -p ./data/tekton-tasks/okd - - curl -L https://github.com/kubevirt/kubevirt-tekton-tasks/releases/download/${RELEASE_VERSION}/kubevirt-tekton-tasks-okd.yaml > ${OKD_OUTPUT_FILE} - curl -L https://github.com/kubevirt/kubevirt-tekton-tasks/releases/download/${RELEASE_VERSION}/kubevirt-tekton-tasks-kubernetes.yaml > ${KUBERNETES_OUTPUT_FILE} - sed -i "s/\bTektonTasksVersion\s*=.*/TektonTasksVersion = \"${RELEASE_VERSION}\"/g" internal/common/version.go - - - name: Create pull request - if: ${{ github.event.client_payload.release_version }} != '' - uses: peter-evans/create-pull-request@v6 - with: - token: ${{ github.token }} - commit-message: "chore: update tekton-tasks manifests to ${{ github.event.client_payload.release_version }}" - committer: GitHub - author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> - signoff: true - branch: "tekton-tasks-${{ github.event.client_payload.release_version }}" - delete-branch: true - title: "Update tekton-tasks manifests to ${{ github.event.client_payload.release_version }}" - body: | - Update tekton-tasks manifests to version ${{ github.event.client_payload.release_version }} - - **Release note**: - ```release-note - Update tekton-tasks-bundle to ${{ github.event.client_payload.release_version }} - ``` - draft: false