From 5708cc2222b8c5771c1799eedbae0cb1919d0296 Mon Sep 17 00:00:00 2001 From: Rina Fujino <18257209+rina23q@users.noreply.github.com> Date: Tue, 26 Jul 2022 22:34:24 +0200 Subject: Remove system pysys tests run from after-merge workflow Pysys tests used for system tests have difficulty to maintain. Thus, remove two jobs from the ci_pipeline workflow. - system-test-offsite-matrix - system-test-postprocessing Along with it, remove the shell scripts used in those jobs. Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com> --- .github/workflows/ci_pipeline.yml | 163 -------------------------------------- 1 file changed, 163 deletions(-) (limited to '.github') diff --git a/.github/workflows/ci_pipeline.yml b/.github/workflows/ci_pipeline.yml index ccd0e43d..7e3fda30 100644 --- a/.github/workflows/ci_pipeline.yml +++ b/.github/workflows/ci_pipeline.yml @@ -261,166 +261,3 @@ jobs: # AZUREENDPOINT: ${{ secrets.AZUREENDPOINT }} # AZUREEVENTHUB: ${{ secrets.AZUREEVENTHUB }} # IOTHUBNAME: ${{ secrets.IOTHUBNAME }} - -################################################################################# - - system-test-offsite-matrix: - strategy: - matrix: - rpi: [ m32sd10a, m32sd10b, m32sd10c, m32sd10d ] - runs-on: - - self-hosted - - Linux - - ARM - - offsite_${{ matrix.rpi }} - needs: install-and-use-rpi-matrix - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Run all Tests - run: bash ./ci/ci_run_all_tests.sh - continue-on-error: true - if: true - env: - C8YPASS: ${{ secrets.SECRET_C8YPASS }} - C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }} - C8YDEVICE: ${{ matrix.rpi }} - C8YTENANT: ${{ secrets.SECRET_C8YTENANT }} - C8YURL: https://thin-edge-io.eu-latest.cumulocity.com - TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/ - EXAMPLEDIR: /home/pi/examples - - - name: Run all plugin tests - run: bash ./ci/ci_run_all_plugin_tests.sh - continue-on-error: true - if: true - env: - C8YPASS: ${{ secrets.SECRET_C8YPASS }} - C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }} - C8YDEVICE: ${{ matrix.rpi }} - C8YTENANT: ${{ secrets.SECRET_C8YTENANT }} - TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/ - EXAMPLEDIR: /home/pi/examples - C8YURL: https://thin-edge-io.eu-latest.cumulocity.com - - - name: Run all sm tests - run: bash ./ci/ci_run_all_sm_tests.sh - continue-on-error: true - if: true - env: - C8YPASS: ${{ secrets.SECRET_C8YPASS }} - C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }} - C8YDEVICE: ${{ matrix.rpi }} - C8YTENANT: ${{ secrets.SECRET_C8YTENANT }} - TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/ - EXAMPLEDIR: /home/pi/examples - C8YURL: https://thin-edge-io.eu-latest.cumulocity.com - - - name: Run all statistics tests - run: bash ./ci/ci_run_statistics.sh - continue-on-error: true - if: true - env: - C8YPASS: ${{ secrets.SECRET_C8YPASS }} - C8YUSERNAME: ${{ secrets.SECRET_C8YUSERNAME }} - C8YDEVICE: ${{ matrix.rpi }} - C8YTENANT: ${{ secrets.SECRET_C8YTENANT }} - C8YURL: https://thin-edge-io.eu-latest.cumulocity.com - TEBASEDIR: /home/pi/actions-runner/_work/thin-edge.io/thin-edge.io/ - EXAMPLEDIR: /home/pi/examples - - - name: Upload results as zip - # https://github.com/marketplace/actions/upload-a-build-artifact - uses: actions/upload-artifact@v3 - with: - name: results_pysys_offsite_${{ matrix.rpi }} - path: tests/ - -############################################################################# - - system-test-postprocessing: - runs-on: Ubuntu-20.04 - needs: system-test-offsite-matrix - - steps: - - name: Checkout - uses: actions/checkout@v3 - - # Trigger repo dispatch here. - # This is here a limitation of the amount of workflows - # that trigger each other (GitHub Bug). - # It would be nicer to use the postprocess trigger instead - -# Disabled until analytics VM is available -# -# - name: Repository Dispatch -# uses: peter-evans/repository-dispatch@v1 -# with: -# token: ${{ secrets.SECRET_THEGHTOKEN }} -# event-type: postprocess -# repository: abelikt/thin-edge.io_analytics - - - name: Download result a - uses: actions/download-artifact@v3 - # https://github.com/marketplace/actions/download-a-build-artifact - with: - name: results_pysys_offsite_m32sd10a - path: results/results_pysys_offsite_m32sd10a - - - name: Download result b - uses: actions/download-artifact@v3 - # https://github.com/marketplace/actions/download-a-build-artifact - with: - name: results_pysys_offsite_m32sd10b - path: results/results_pysys_offsite_m32sd10b - - - name: Download result c - uses: actions/download-artifact@v3 - # https://github.com/marketplace/actions/download-a-build-artifact - with: - name: results_pysys_offsite_m32sd10c - path: results/results_pysys_offsite_m32sd10c - - - name: Download result d - uses: actions/download-artifact@v3 - # https://github.com/marketplace/actions/download-a-build-artifact - with: - name: results_pysys_offsite_m32sd10d - path: results/results_pysys_offsite_m32sd10d - - - name: Build report - run: ./ci/report/build.sh - - - name: Upload report as zip - # https://github.com/marketplace/actions/upload-a-build-artifact - uses: actions/upload-artifact@v3 - with: - name: report_matrix_${{ github.run_number }} - path: results/report.zip - - - name: Upload report as html - # https://github.com/marketplace/actions/upload-a-build-artifact - uses: actions/upload-artifact@v3 - with: - name: system-test-report-matrix_${{ github.run_number }} - path: results/report-matrix.htm - - - name: Run ls on analysis folder - run: | - ls -l ./results - - - name: Deploy to GitHub Pages - # peaceiris/actions-gh-pages@v3 - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./results - destination_dir: results - commit_message: Results for ci pipeline run ${{ github.run_number }} - - - name: Final Result - # This will fail if there are errors in the reports - run: | - python3 ./ci/report/final_result.py ./results/all_reports.xml -- cgit v1.2.3