difftreelog
Seems final. Let's test it.
in: master
1 file changed
.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth118118119 - name: Check if docker logs consist logs related to Runtime Upgrade testing.119 - name: Check if docker logs consist logs related to Runtime Upgrade testing.120 if: success()120 if: success()121 run: |121 run: |122 function do_docker_logs {122 function do_docker_logs {123 DOCKER_LOGS=$(docker logs --details node-parachain 2>&1)123 DOCKER_LOGS=$(docker logs --details node-parachain 2>&1)124 }124 }125 function is_started {125 function is_started {126 if [[ ${DOCKER_LOGS} != *"RUNTIME UPGRADE TESTING"* ]];then126 if [[ ${DOCKER_LOGS} = *"RUNTIME UPGRADE TESTING"* ]];then127 echo "Function is_started: Return 0"127 echo "Function is_started: Return 0"128 return 0128 return 0129 fi129 fi130 echo "Function is_started: Return 1"130 echo "Function is_started: Return 1"131 return 1131 return 1132 }132 }133 while ! is_started; do133 while ! is_started; do134 echo "Waiting for "RUNTIME UPGRADE TESTING" in container logs"134 echo "Waiting for "RUNTIME UPGRADE TESTING" in container logs"135 sleep 15s135 sleep 15s136 done136 done137 echo "Test completed."137 echo "Test completed."138 exit 0 138 exit 0 139 shell: bash139 shell: bash140140141141 - name: Collect Docker Logs142# - name: Collect Docker Logs142 if: success() || failure()143# if: success() || failure()143 uses: jwalton/gh-docker-logs@v2.2.0144# uses: jwalton/gh-docker-logs@v2.2.0144 with:145# with:145 dest: './forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}'146# dest: './forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}'146 images: 'node-parachain' 147# images: 'node-parachain' 147148#148 - name: Tar logs149# - name: Tar logs149 if: success() || failure()150# if: success() || failure()150 run: tar cvzf ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}151# run: tar cvzf ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}151152#152 - name: Upload logs to GitHub153# - name: Upload logs to GitHub153 if: success() || failure()154# if: success() || failure()154 uses: actions/upload-artifact@master155# uses: actions/upload-artifact@master155 with:156# with:156 name: forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz157# name: forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz157 path: ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz158# path: ./forkless-parachain-upgrade-nodata-logs.${{ matrix.features }}.tgz158159159 - name: Stop running containers160160 if: always() # run this step always161# - name: Test Report161 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down162# uses: phoenix-actions/test-reporting@v8163# if: success() || failure() # run this step even if previous step failed164# with:165# name: Tests ${{ matrix.network }} # Name of the check run which will be created166# path: tests/mochawesome-report/test-*.json # Path to test results167# reporter: mochawesome-json168# fail-on-error: 'false'169#170# - name: Read output variables171# run: |172# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"173174175# - name: Stop running containers176# if: always() # run this step always177# run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" down178162