File tree Expand file tree Collapse file tree 12 files changed +59
-57
lines changed
Expand file tree Collapse file tree 12 files changed +59
-57
lines changed Original file line number Diff line number Diff line change 77
88set -exu
99
10- IMAGE_NAME =" $1 "
10+ FULL_IMAGE_NAME =" $1 "
1111shift
1212
13+ IMAGE_NAME=$( echo " ${FULL_IMAGE_NAME} " | sed ' s/ci-image://' )
14+
1315echo " Building ${IMAGE_NAME} Docker image"
1416
1517OS=ubuntu
Original file line number Diff line number Diff line change 1313 contents : read
1414 with :
1515 runner : linux.2xlarge
16- docker-image : executorch-ubuntu-22.04-clang12-android
16+ docker-image : ci-image: executorch-ubuntu-22.04-clang12-android
1717 submodules : ' recursive'
1818 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
1919 timeout : 90
Original file line number Diff line number Diff line change 1111 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
1212 with :
1313 runner : linux.2xlarge
14- docker-image : executorch-ubuntu-22.04-linter
14+ docker-image : ci-image: executorch-ubuntu-22.04-linter
1515 submodules : false
1616 fetch-depth : 0
1717 ref : ${{ inputs.ref }}
3636 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
3737 with :
3838 runner : linux.2xlarge
39- docker-image : executorch-ubuntu-22.04-linter
39+ docker-image : ci-image: executorch-ubuntu-22.04-linter
4040 submodules : false
4141 fetch-depth : 0
4242 ref : ${{ inputs.ref }}
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ jobs:
168168 fail-fast : false
169169 with :
170170 runner : linux.2xlarge.memory
171- docker-image : executorch-ubuntu-22.04-qnn-sdk
171+ docker-image : ci-image: executorch-ubuntu-22.04-qnn-sdk
172172 submodules : ' recursive'
173173 timeout : 60
174174 upload-artifact : android-models
@@ -409,7 +409,7 @@ jobs:
409409 needs : set-parameters
410410 with :
411411 runner : linux.2xlarge
412- docker-image : executorch-ubuntu-22.04-clang12-android
412+ docker-image : ci-image: executorch-ubuntu-22.04-clang12-android
413413 submodules : ' recursive'
414414 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
415415 timeout : 90
Original file line number Diff line number Diff line change 5454 contents : read
5555 with :
5656 secrets-env : EXECUTORCH_MAVEN_SIGNING_KEYID EXECUTORCH_MAVEN_SIGNING_PASSWORD EXECUTORCH_MAVEN_CENTRAL_PASSWORD EXECUTORCH_MAVEN_CENTRAL_USERNAME EXECUTORCH_MAVEN_SIGNING_GPG_KEY_CONTENTS
57- docker-image : executorch-ubuntu-22.04-clang12-android
57+ docker-image : ci-image: executorch-ubuntu-22.04-clang12-android
5858 submodules : ' recursive'
5959 ref : ${{ github.sha }}
6060 timeout : 90
Original file line number Diff line number Diff line change 4444 job-name : build
4545 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
4646 runner : linux.2xlarge
47- docker-image : executorch-ubuntu-22.04-arm-sdk
47+ docker-image : ci-image: executorch-ubuntu-22.04-arm-sdk
4848 submodules : recursive
4949 timeout : 90
5050 script : |
6363 # Verify download
6464 echo "93128be0235cf5cf5f1ee561aa6eac5f ${toolchain_dir}.tar.xz" > arm-zephyr-eabi.md5
6565 md5sum -c --strict arm-zephyr-eabi.md5
66-
66+
6767 # Extract and install to PATH
6868 tar xf "${toolchain_dir}.tar.xz"
6969 rm -f "${toolchain_dir}.tar.xz"
9393 job-name : build
9494 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
9595 runner : ${{ matrix.runner }}
96- docker-image : ${{ matrix.docker-image }}
96+ docker-image : ci-image: ${{ matrix.docker-image }}
9797 submodules : recursive
9898 timeout : 90
9999 script : |
Original file line number Diff line number Diff line change 2626 with :
2727 job-name : Build doc
2828 runner : linux.2xlarge
29- docker-image : executorch-ubuntu-22.04-clang12-android
29+ docker-image : ci-image: executorch-ubuntu-22.04-clang12-android
3030 submodules : ' recursive'
3131 repository : pytorch/executorch
3232 upload-artifact : docs
Original file line number Diff line number Diff line change 4040 executorch-ubuntu-22.04-qnn-sdk,
4141 executorch-ubuntu-22.04-mediatek-sdk,
4242 executorch-ubuntu-22.04-clang12-android
43- ]
43+ ]
4444 include :
4545 - docker-image-name : executorch-ubuntu-22.04-gcc11-aarch64
4646 runner : linux.arm64.2xlarge
7171 id : build-docker-image
7272 uses : pytorch/test-infra/.github/actions/calculate-docker-image@main
7373 with :
74- docker-image-name : ${{ matrix.docker-image-name }}
74+ docker-image-name : ci-image: ${{ matrix.docker-image-name }}
7575 always-rebuild : true
7676 push : true
7777 force-push : true
Original file line number Diff line number Diff line change 2222 contents : read
2323 with :
2424 runner : linux.2xlarge
25- docker-image : executorch-ubuntu-22.04-linter
25+ docker-image : ci-image: executorch-ubuntu-22.04-linter
2626 submodules : ' recursive'
2727 fetch-depth : 0
2828 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
7676 contents : read
7777 with :
7878 runner : linux.2xlarge
79- docker-image : executorch-ubuntu-22.04-linter
79+ docker-image : ci-image: executorch-ubuntu-22.04-linter
8080 fetch-depth : 0
8181 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
8282 timeout : 90
Original file line number Diff line number Diff line change 4949 fail-fast : false
5050 with :
5151 runner : ${{ matrix.runner }}
52- docker-image : executorch-ubuntu-22.04-clang12
52+ docker-image : ci-image: executorch-ubuntu-22.04-clang12
5353 submodules : ' recursive'
5454 ref : ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }}
5555 timeout : ${{ matrix.timeout }}
You can’t perform that action at this time.
0 commit comments