diff --git a/.github/workflows/nightly_e2e_tests_ceph.yaml b/.github/workflows/nightly_e2e_tests_ceph.yaml deleted file mode 100644 index 12839aeabb..0000000000 --- a/.github/workflows/nightly_e2e_tests_ceph.yaml +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 2024 Flant JSC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -name: End-to-End tests + CEPH - -env: - CSI: rbd.csi.ceph.com - STORAGE_CLASS_NAME: ceph-pool-r2-csi-rbd-immediate - CI_COMMIT_REF_NAME: ${{ github.ref_name }} - GO_VERSION: "1.25.9" - TIMEOUT: "3h" - -on: - workflow_dispatch: - schedule: - - cron: "0 0 * * *" - -defaults: - run: - shell: bash - -jobs: - show_dev_manifest: - runs-on: ubuntu-latest - name: Run e2e - steps: - - uses: actions/checkout@v4 - - - name: Set up Go ${{ env.GO_VERSION }} - uses: actions/setup-go@v5 - with: - go-version: "${{ env.GO_VERSION }}" - - - name: Install Task - uses: arduino/setup-task@v2 - with: - version: 3.x - repo-token: ${{ secrets.GITHUB_TOKEN }} - - - name: Install ginkgo - working-directory: ./test/e2e/ - run: | - echo "Install ginkgo" - go install tool - - - name: Setup d8 - uses: ./.github/actions/install-d8 - - - uses: azure/k8s-set-context@v4 - with: - method: kubeconfig - context: e2e-virt-e2e-tests - kubeconfig: ${{ secrets.NIGHTLY_E2E_TESTS_SECRET }} - - - name: Download dependencies - working-directory: ./test/e2e/ - run: | - echo "Download dependencies" - go mod download - - - name: Run E2E - id: e2e-tests - working-directory: ./test/e2e/ - run: | - task run:ci -v LABELS="Slow" - - - uses: actions/upload-artifact@v4 - if: always() - with: - name: resources_from_failed_tests - path: ${{ runner.temp }}/e2e_failed__* - if-no-files-found: ignore - - - name: Save results - working-directory: ./test/e2e/ - if: always() - run: | - if [ -z "$SUMMARY" ]; then - SUMMARY=$(jq -n \ - --arg csi "$CSI" \ - --arg date "$DATE" \ - --arg startTime "$START_TIME" \ - --arg branch "$GITHUB_REF_NAME" \ - --arg status ":question: UNKNOWN" \ - --arg link "$GITHUB_SERVER_URL/$GITHUB_REPOSITORY/actions/runs/$GITHUB_RUN_ID" \ - '{ - CSI: $csi, - Date: $date, - StartTime: $startTime, - Branch: $branch, - Status: $status, - Link: $link - }' - ) - fi - echo $SUMMARY - - hash=$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32 | md5sum | awk '{print $1}') - - kubectl apply --filename - < ts2 )); then - status=":x: WRONG REPORT DATE!" - fi - - markdown_table+="| [:link: $csi]($link) | $status | $passed | $failed | $pending | $skipped | $date | $time | $branch |\n" - fi - done - - COMBINED_SUMMARY+="${markdown_table}\n" - - echo -e "$COMBINED_SUMMARY" - curl --request POST --header 'Content-Type: application/json' --data "{\"text\": \"${COMBINED_SUMMARY}\"}" $LOOP_WEBHOOK_URL - env: - LOOP_WEBHOOK_URL: ${{ secrets.LOOP_WEBHOOK_URL }}