mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-30 02:51:24 +00:00
gitlab-ci: Rename container install scripts to match job names (better)
Cleans up .gitlab-ci/ a little, and allows using a single DEBIAN_EXEC line for all container jobs. v2: * Use lava_arm.sh instead of arm_lava.sh for consistency with v2 of the previous change Reviewed-by: Eric Anholt <eric@anholt.net> # v1 Reviewed-by: Eric Engestrom <eric@engestrom.ch>
This commit is contained in:
parent
3a48f4565e
commit
506e9d5fc7
@ -89,6 +89,7 @@ stages:
|
||||
extends:
|
||||
- .ci-run-policy
|
||||
variables:
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
|
||||
# no need to pull the whole repo to build the container image
|
||||
GIT_STRATEGY: none
|
||||
|
||||
@ -96,8 +97,6 @@ x86_build:
|
||||
extends:
|
||||
- .debian@container-ifnot-exists
|
||||
- .container
|
||||
variables:
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
|
||||
|
||||
.use-x86_build:
|
||||
image: $DEBIAN_IMAGE
|
||||
@ -108,7 +107,6 @@ x86_test:
|
||||
extends: x86_build
|
||||
variables:
|
||||
DEBIAN_TAG: "$DEBIAN_TEST_TAG"
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/debian-test-install.sh'
|
||||
|
||||
x86_build_old:
|
||||
extends: x86_build
|
||||
@ -116,7 +114,6 @@ x86_build_old:
|
||||
DEBIAN_TAG: $STRETCH_TAG
|
||||
DEBIAN_VERSION: $STRETCH_VERSION
|
||||
DEBIAN_IMAGE: $STRETCH_IMAGE
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/debian-stretch-install.sh'
|
||||
|
||||
.use-x86_build_old:
|
||||
image: $STRETCH_IMAGE
|
||||
@ -129,7 +126,6 @@ arm_build:
|
||||
- .container
|
||||
variables:
|
||||
DEBIAN_TAG: "$DEBIAN_ARM64_TAG"
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/debian-arm64-install.sh'
|
||||
|
||||
arm_test:
|
||||
extends:
|
||||
@ -137,7 +133,6 @@ arm_test:
|
||||
- .container
|
||||
variables:
|
||||
DEBIAN_TAG: "$DEBIAN_ARM64_TEST_TAG"
|
||||
DEBIAN_EXEC: 'bash .gitlab-ci/debian-arm64-test-install.sh'
|
||||
|
||||
|
||||
# BUILD
|
||||
|
@ -184,4 +184,3 @@ chroot /artifacts/rootfs sh /create-rootfs.sh
|
||||
rm /artifacts/rootfs/bin/qemu-arm-static
|
||||
rm /artifacts/rootfs/bin/qemu-aarch64-static
|
||||
rm /artifacts/rootfs/create-rootfs.sh
|
||||
|
@ -36,7 +36,7 @@ include:
|
||||
DEFCONFIG=${DEFCONFIG}
|
||||
DEVICE_TREES="${DEVICE_TREES}"
|
||||
KERNEL_IMAGE_NAME=${KERNEL_IMAGE_NAME}
|
||||
bash .gitlab-ci/lava-debian-install.sh'
|
||||
bash .gitlab-ci/container/lava_arm.sh'
|
||||
DEBIAN_VERSION: ${LAVA_DEBIAN_VERSION}
|
||||
|
||||
lava_armhf:
|
||||
|
Loading…
Reference in New Issue
Block a user