[Tool] Change the mode of image update to serial (#54494)
This commit is contained in:
parent
771770c1d3
commit
36dea3e193
|
|
@ -100,11 +100,6 @@ jobs:
|
|||
runs-on: [self-hosted, normal]
|
||||
name: Thirdparty Update Image
|
||||
if: github.event.pull_request.merged == true
|
||||
continue-on-error: false
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
linux: [ centos7, ubuntu ]
|
||||
env:
|
||||
PR_NUMBER: ${{ github.event.number }}
|
||||
BRANCH: ${{ github.base_ref }}
|
||||
|
|
@ -123,11 +118,16 @@ jobs:
|
|||
- 'thirdparty/**'
|
||||
- 'docker/dockerfiles/dev-env/dev-env.Dockerfile'
|
||||
|
||||
- name: update image (${{ matrix.linux }})
|
||||
- name: update image - ubuntu
|
||||
if: steps.changes.outputs.thirdparty == 'true'
|
||||
run: |
|
||||
rm -rf ./ci-tool && cp -rf /var/lib/ci-tool ./ci-tool && cd ci-tool && git pull && source lib/init.sh
|
||||
./bin/elastic-update-image.sh $BRANCH $PR_NUMBER ${{ matrix.linux }}
|
||||
./bin/elastic-update-image.sh $BRANCH $PR_NUMBER ubuntu
|
||||
|
||||
- name: update image - centos7
|
||||
run: |
|
||||
cd ci-tool && source lib/init.sh
|
||||
./bin/elastic-update-image.sh $BRANCH $PR_NUMBER centos7
|
||||
|
||||
- name: Clean ENV
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Reference in New Issue