From 95ea2d0455eb5034cda0a36f81a8ab1dbb2a5326 Mon Sep 17 00:00:00 2001 From: Evgeniy Frolov Date: Mon, 16 Dec 2024 13:49:13 +0300 Subject: [PATCH] chore(ci): remove unused workflows Signed-off-by: Evgeniy Frolov --- .github/workflows/website_review.yml | 38 -------------------- .github/workflows/website_review_dismiss.yml | 34 ------------------ 2 files changed, 72 deletions(-) delete mode 100644 .github/workflows/website_review.yml delete mode 100644 .github/workflows/website_review_dismiss.yml diff --git a/.github/workflows/website_review.yml b/.github/workflows/website_review.yml deleted file mode 100644 index 6a7056f4..00000000 --- a/.github/workflows/website_review.yml +++ /dev/null @@ -1,38 +0,0 @@ -name: Review website -on: - pull_request: - types: [labeled, synchronize] - workflow_dispatch: - -env: - WERF_REPO: "ghcr.io/${{ github.repository_owner }}/trdl" - -jobs: - converge: - name: Converge to Review - runs-on: ubuntu-latest-4-cores - if: github.event.label.name == 'review docs' || contains( github.event.pull_request.labels.*.name, 'review docs' ) - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Print review URL - env: - ENV_URL: "review-${{ github.event.number }}.trdl.dev.flant.com" - run: | - echo "https://${ENV_URL}" - - - name: Install werf - uses: werf/actions/install@v2 - - - name: Converge - run: | - . $(werf ci-env github --as-file) - werf converge - env: - WERF_DIR: "docs" - WERF_ENV: "review-${{ github.event.number }}" - WERF_KUBE_CONFIG_BASE64: ${{ secrets.KUBECONFIG_BASE64_DEV }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/website_review_dismiss.yml b/.github/workflows/website_review_dismiss.yml deleted file mode 100644 index 0859c48a..00000000 --- a/.github/workflows/website_review_dismiss.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Review env Dismiss -on: - pull_request: - types: [closed, unlabeled] - workflow_dispatch: - -env: - WERF_REPO: "ghcr.io/${{ github.repository_owner }}/trdl" - -jobs: - dismiss: - name: Dismiss - runs-on: ubuntu-latest-4-cores - if: github.event.label.name == 'review docs' || contains( github.event.pull_request.labels.*.name, 'review docs' ) - steps: - - name: Checkout code - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install werf - uses: werf/actions/install@v2 - - - name: Dismiss - continue-on-error: true - run: | - . $(werf ci-env github --as-file) - werf dismiss - env: - WERF_DIR: "docs" - WERF_WITH_NAMESPACE: true - WERF_ENV: "review-${{ github.event.number }}" - WERF_KUBE_CONFIG_BASE64: ${{ secrets.KUBECONFIG_BASE64_DEV }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}