From edc9d6dab4dc6de9b09c364a455873411b361d3b Mon Sep 17 00:00:00 2001 From: Artem Kladov Date: Tue, 9 Jan 2024 19:34:05 +0300 Subject: [PATCH] chore: update ci for the documentation Signed-off-by: Artem Kladov --- .github/workflows/docs_cli_and_api_partials_checker.yml | 2 +- .github/workflows/lint.yaml | 2 +- .github/workflows/tests.yml | 6 +++--- .github/workflows/website_broken_links_checker.yml | 2 +- .github/workflows/website_converge.yml | 6 +++--- .github/workflows/website_review.yml | 6 +++--- .github/workflows/website_review_dismiss.yml | 6 +++--- .github/workflows/website_test.yml | 6 +++--- 8 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/docs_cli_and_api_partials_checker.yml b/.github/workflows/docs_cli_and_api_partials_checker.yml index 2bedc24..4e297be 100644 --- a/.github/workflows/docs_cli_and_api_partials_checker.yml +++ b/.github/workflows/docs_cli_and_api_partials_checker.yml @@ -16,7 +16,7 @@ jobs: run: sudo apt-get install -y libbtrfs-dev - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go 1.18 uses: actions/setup-go@v3 diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 5543154..d93e071 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,7 +18,7 @@ jobs: directory: [ "client", "server", "e2e" ] steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v3 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 89aab3f..0c259ae 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -26,7 +26,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v3 @@ -77,7 +77,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v3 @@ -132,7 +132,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Go uses: actions/setup-go@v3 diff --git a/.github/workflows/website_broken_links_checker.yml b/.github/workflows/website_broken_links_checker.yml index 8bd8e4f..d4fa108 100644 --- a/.github/workflows/website_broken_links_checker.yml +++ b/.github/workflows/website_broken_links_checker.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Prepare environment working-directory: docs diff --git a/.github/workflows/website_converge.yml b/.github/workflows/website_converge.yml index e4d9bdc..5469987 100644 --- a/.github/workflows/website_converge.yml +++ b/.github/workflows/website_converge.yml @@ -14,11 +14,11 @@ jobs: converge: name: Converge site to Production - runs-on: tfprod-trdl + runs-on: ubuntu-latest-4-cores steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -26,9 +26,9 @@ jobs: uses: werf/actions/converge@v1.2 with: env: production + kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_PROD }} env: WERF_DIR: "docs" - WERF_KUBE_CONTEXT: prod notification: name: Notification diff --git a/.github/workflows/website_review.yml b/.github/workflows/website_review.yml index f6e0c2e..d9ca457 100644 --- a/.github/workflows/website_review.yml +++ b/.github/workflows/website_review.yml @@ -11,12 +11,12 @@ jobs: converge: name: Converge to Review - runs-on: tfprod-trdl + 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@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -30,6 +30,6 @@ jobs: uses: werf/actions/converge@v1.2 with: env: review-${{ github.event.number }} + kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }} env: WERF_DIR: "docs" - WERF_KUBE_CONTEXT: dev diff --git a/.github/workflows/website_review_dismiss.yml b/.github/workflows/website_review_dismiss.yml index 26fad78..c782ee1 100644 --- a/.github/workflows/website_review_dismiss.yml +++ b/.github/workflows/website_review_dismiss.yml @@ -11,12 +11,12 @@ jobs: dismiss: name: Dismiss - runs-on: tfprod-trdl + 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@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -25,7 +25,7 @@ jobs: continue-on-error: true with: env: review-${{ github.event.number }} + kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }} env: WERF_DIR: "docs" - WERF_KUBE_CONTEXT: dev WERF_WITH_NAMESPACE: true diff --git a/.github/workflows/website_test.yml b/.github/workflows/website_test.yml index df05e83..b3493e1 100644 --- a/.github/workflows/website_test.yml +++ b/.github/workflows/website_test.yml @@ -11,12 +11,12 @@ jobs: converge: name: Converge to Test - runs-on: tfprod-trdl + runs-on: ubuntu-latest-4-cores if: github.event.label.name == 'test docs' || contains( github.event.pull_request.labels.*.name, 'test docs' ) steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -24,6 +24,6 @@ jobs: uses: werf/actions/converge@v1.2 with: env: test + kube-config-base64-data: ${{ secrets.KUBECONFIG_BASE64_DEV }} env: WERF_DIR: "docs" - WERF_KUBE_CONTEXT: dev