git.delta.rocks / unique-network / refs/commits / 4c2d15438fb2

difftreelog

change trugger for xcm-tests

Konstantin Astakhov2022-09-01parent: #2c67978.patch.diff
in: master

2 files changed

modified.github/workflows/xcm-testnet-build.ymldiffbeforeafterboth
144 - name: Build the stack144 - name: Build the stack
145 run: cd .docker/ && docker build --no-cache --file ./Dockerfile-xcm.${{ matrix.network }}.yml --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest .145 run: cd .docker/ && docker build --no-cache --file ./Dockerfile-xcm.${{ matrix.network }}.yml --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }} --tag uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest .
146146
147 - name: Push docker version image 147 - name: Push docker image version
148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}148 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:nightly-${{ steps.branchname.outputs.value }}-${{ github.sha }}
149149
150 - name: Push docker image latest150 - name: Push docker image latest
151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest151 run: docker push uniquenetwork/xcm-${{ matrix.network }}-testnet-local:latest
152
153 - name: Clean Workspace
154 if: always()
155 uses: AutoModality/action-clean@v1.1.0
152156
153 - name: Remove builder cache157 - name: Remove builder cache
154 if: always() # run this step always158 if: always() # run this step always
modified.github/workflows/xcm-tests.ymldiffbeforeafterboth
7 workflows: ["xcm-testnet-build"]7 workflows: ["xcm-testnet-build"]
8 types: [requested] 8 types: [requested]
9 # Triggers the workflow on push or pull request events but only for the master branch9 # Triggers the workflow on push or pull request events but only for the master branch
10 # pull_request:10 pull_request:
11 # branches:11 branches:
12 # - master12 - master
13 # types:13 types:
14 # - opened14 - opened
15 # - reopened15 - reopened
16 # - synchronize #commit(s) pushed to the pull request16 - synchronize #commit(s) pushed to the pull request
17 # - ready_for_review17 - ready_for_review
1818
19 # Allows you to run this workflow manually from the Actions tab19 # Allows you to run this workflow manually from the Actions tab
20 workflow_dispatch:20 workflow_dispatch:
2121
22#Define Workflow variables22#Define Workflow variables
178 if: always() # run this step always178 if: always() # run this step always
179 run: docker-compose -f ".docker/docker-compose.xcm-tests.${{ matrix.network }}.yml" down179 run: docker-compose -f ".docker/docker-compose.xcm-tests.${{ matrix.network }}.yml" down
180
181 - name: Remove builder cache
182 if: always() # run this step always
183 run: |
184 docker system prune -a -f
185180
186 - name: Clean Workspace181 - name: Clean Workspace
187 if: always()182 if: always()
188 uses: AutoModality/action-clean@v1.1.0183 uses: AutoModality/action-clean@v1.1.0
184
185 - name: Remove builder cache
186 if: always() # run this step always
187 run: |
188 docker system prune -a -f
189189
190