git.delta.rocks / unique-network / refs/commits / 1c95a0f36699

difftreelog

fix CI workflow (C) Alexander Aksenov

Daniel Shiposha2022-10-05parent: #d9f54e3.patch.diff
in: master

2 files changed

modified.github/workflows/market-test_v2.ymldiffbeforeafterboth
1010
11 market_test:11 market_test:
12 # The type of runner that the job will run on12 # The type of runner that the job will run on
13 runs-on: [self-hosted-ci,large]13 runs-on: [self-hosted-ci,medium]
14 timeout-minutes: 138014 timeout-minutes: 180
1515
16 name: ${{ matrix.network }} 16 name: ${{ matrix.network }}
1717
97 yarn install97 yarn install
98 node scripts/readyness.js98 node scripts/readyness.js
99 echo "Ready to start tests"99 echo "Ready to start tests"
100 env:
101 RPC_URL: http://127.0.0.1:9933/
100102
101 - name: Show content of .env file and Generate accounts103 - name: Show content of .env file and Generate accounts
102 working-directory: qa-tests104 working-directory: qa-tests
modified.github/workflows/node-only-update_v2.ymldiffbeforeafterboth
156 exit 0156 exit 0
157 shell: bash157 shell: bash
158
159 - name: Checkout at '${{ matrix.mainnet_branch }}' branch
160 uses: actions/checkout@master
161 with:
162 ref: ${{ matrix.mainnet_branch }} #Checking out head commit
163 path: ${{ matrix.mainnet_branch }}
164
158165
159 - name: Run tests before Node Parachain upgrade166 - name: Run tests before Node Parachain upgrade
160 working-directory: tests167 working-directory: ${{ matrix.mainnet_branch }}/tests
161 run: |168 run: |
162 yarn install169 yarn install
163 yarn add mochawesome170 yarn add mochawesome
173 if: success() || failure() # run this step even if previous step failed180 if: success() || failure() # run this step even if previous step failed
174 with:181 with:
175 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created182 name: Tests before node upgrade ${{ matrix.network }} # Name of the check run which will be created
176 path: tests/mochawesome-report/test-before-*.json # Path to test results183 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-before-*.json # Path to test results
177 reporter: mochawesome-json184 reporter: mochawesome-json
178 fail-on-error: 'false'185 fail-on-error: 'false'
179186
180 - name: Send SIGUSR1 to polkadotlaunch process187 - name: Send SIGUSR1 to polkadot-launch process
181 if: success() || failure()188 if: success() || failure()
182 run: |189 run: |
183 #Get PID of polkadot-launch190 #Get PID of polkadot-launch
184 PID=$(docker exec node-parachain pidof 'polkadot-launch')191 PID=$(docker exec node-parachain pidof 'polkadot-launch')
185 echo "Polkadot-launch PID: $PID"192 echo "Polkadot-launch PID: $PID"
186 #Send SIGUSR1 signal to $PID193 #Send SIGUSR1 signal to $PID
187 docker exec node-parachain kill -SIGUSR1 ${PID}194 docker exec node-parachain kill -SIGUSR1 ${PID}
195 echo "SIGUSR1 sent to Polkadot-launch PID: $PID"
188196
189 # 🌗 All parachain collators restarted with the new binaries.197 # 🌗 All parachain collators restarted with the new binaries.
190 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.198 - name: Check if docker logs consist messages related to testing of Node Parachain Upgrade.
233 shell: bash241 shell: bash
234242
235 - name: Run tests after Node Parachain upgrade243 - name: Run tests after Node Parachain upgrade
244 if: success()
236 working-directory: tests245 working-directory: ${{ matrix.mainnet_branch }}/tests
237 run: |246 run: |
238 yarn install247 yarn install
239 yarn add mochawesome248 yarn add mochawesome
250 if: success() || failure() # run this step even if previous step failed259 if: success() || failure() # run this step even if previous step failed
251 with:260 with:
252 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created261 name: Tests after node upgrade ${{ matrix.network }} # Name of the check run which will be created
253 path: tests/mochawesome-report/test-after-*.json # Path to test results262 path: ${{ matrix.mainnet_branch }}/tests/mochawesome-report/test-after-*.json # Path to test results
254 reporter: mochawesome-json263 reporter: mochawesome-json
255 fail-on-error: 'false'264 fail-on-error: 'false'
256265