git.delta.rocks / unique-network / refs/commits / 06b1d59c0aab

difftreelog

Added matrix variables into naming logs. To prevent logs overwriting.

Alexander Aksenov2022-08-11parent: #29c5d88.patch.diff
in: master

1 file changed

modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
113 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate113 run: docker-compose -f ".docker/docker-compose-forkless.yaml" -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --force-recreate
114114
115 - name: Wait for 15m115 - name: Wait for 15m
116 run: sleep 900s116 run: sleep 600s
117117
118 - name: Collect Docker Logs118 - name: Collect Docker Logs
119 if: success() || failure()119 if: success() || failure()
120 uses: jwalton/gh-docker-logs@v2.2.0120 uses: jwalton/gh-docker-logs@v2.2.0
121 with:121 with:
122 dest: './fpu-logs'122 dest: './fpu-logs.${{ matrix.feature }}'
123 images: 'node-parachain' 123 images: 'node-parachain'
124
124 - name: Tar logs125 - name: Tar logs
125 if: success() || failure()126 if: success() || failure()
126 run: tar cvzf ./fpu-logs.tgz ./fpu-logs127 run: tar cvzf ./fpu-logs.${{ matrix.feature }}.tgz ./fpu-logs.${{ matrix.feature }}
128
127 - name: Upload logs to GitHub129 - name: Upload logs to GitHub
128 if: success() || failure()130 if: success() || failure()
129 uses: actions/upload-artifact@master131 uses: actions/upload-artifact@master
130 with:132 with:
131 name: forkless-parachain-upgrade-logs.tgz133 name: fpu-logs.${{ matrix.feature }}.tgz
132 path: ./fpu-logs.tgz134 path: ./fpu-logs.${{ matrix.feature }}.tgz
133135
134136
135# - name: Test Report137# - name: Test Report
145# run: |147# run: |
146# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"148# echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"
147149
148 - name: Wait for 15m
149 run: sleep 900s
150150
151 - name: Stop running containers151 - name: Stop running containers
152 if: always() # run this step always152 if: always() # run this step always