From b69e20f1cae4daa2394ad0bb34589bb7cc903889 Mon Sep 17 00:00:00 2001 From: I754108 Date: Tue, 8 Oct 2024 15:50:23 +0200 Subject: [PATCH] remove github action and test readme --- ...ush-test-infra-markdown-index-autobump.yml | 63 ------------------- cmd/markdown-index/README.md | 1 - 2 files changed, 64 deletions(-) delete mode 100644 .github/workflows/push-test-infra-markdown-index-autobump.yml delete mode 100644 cmd/markdown-index/README.md diff --git a/.github/workflows/push-test-infra-markdown-index-autobump.yml b/.github/workflows/push-test-infra-markdown-index-autobump.yml deleted file mode 100644 index 6652423c5d6e..000000000000 --- a/.github/workflows/push-test-infra-markdown-index-autobump.yml +++ /dev/null @@ -1,63 +0,0 @@ -name: push-test-infra-markdown-index-autobump - -on: - push: - branches: - - main - paths: - - '**/*.md' - workflow_dispatch: {} - -env: - AUTOBUMP_CONFIG_PATH: configs/autobump-config/test-infra-markdown-index-autobump-config.yaml - -jobs: - autobump: - runs-on: ubuntu-latest - permissions: - id-token: write - contents: read - concurrency: - group: post-test-infra-markdown-index-autobump - cancel-in-progress: false - - steps: - - uses: actions/checkout@v4 - - - name: Setup git config - run: | - GIT_USERNAME=$(grep "gitName" ${{ env.AUTOBUMP_CONFIG_PATH }} | cut -d '"' -f 2) - GIT_EMAIL=$(grep "gitEmail" ${{ env.AUTOBUMP_CONFIG_PATH }} | cut -d '"' -f 2) - git config user.name "$GIT_USERNAME" - git config user.email "$GIT_EMAIL" - - git config --unset-all http.https://github.com/.extraheader - - - name: Authenticate in GCP - id: 'auth' - uses: 'google-github-actions/auth@v2' - with: - project_id: ${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }} - workload_identity_provider: ${{ vars.GH_COM_KYMA_PROJECT_GCP_WORKLOAD_IDENTITY_FEDERATION_PROVIDER }} - - - name: Get kyma bot token from Secret Manager - id: 'secrets' - uses: 'google-github-actions/get-secretmanager-secrets@v2' - with: - secrets: |- - kyma-autobump-token:${{ vars.GCP_KYMA_PROJECT_PROJECT_ID }}/${{ vars.KYMA_AUTOBUMP_BOT_GITHUB_SECRET_NAME }} - - - name: Store Github Token for autobumper - run: | - echo "${{ steps.secrets.outputs.kyma-autobump-token }}" > ~/token - - - name: Run markdown index autobump - run: | - docker run --rm \ - -v ~/token:/etc/github/token:ro \ - -v ${{ github.workspace }}:/github/workspace \ - --workdir /github/workspace \ - --user $UID \ - europe-docker.pkg.dev/kyma-project/prod/markdown-index:v20241007-aa6bbc21 \ - --config=${{ env.AUTOBUMP_CONFIG_PATH }} \ - --labels-override=kind/chore,area/documentation diff --git a/cmd/markdown-index/README.md b/cmd/markdown-index/README.md deleted file mode 100644 index 30d74d258442..000000000000 --- a/cmd/markdown-index/README.md +++ /dev/null @@ -1 +0,0 @@ -test \ No newline at end of file