diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 73b56a388be..409d84df83f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/.gitlab-ci/debian-arm64-install.sh b/.gitlab-ci/container/arm_build.sh similarity index 100% rename from .gitlab-ci/debian-arm64-install.sh rename to .gitlab-ci/container/arm_build.sh diff --git a/.gitlab-ci/debian-arm64-test-install.sh b/.gitlab-ci/container/arm_test.sh similarity index 100% rename from .gitlab-ci/debian-arm64-test-install.sh rename to .gitlab-ci/container/arm_test.sh diff --git a/.gitlab-ci/lava-debian-install.sh b/.gitlab-ci/container/lava_arm.sh similarity index 99% rename from .gitlab-ci/lava-debian-install.sh rename to .gitlab-ci/container/lava_arm.sh index be0b1c64805..429dca0e1d6 100644 --- a/.gitlab-ci/lava-debian-install.sh +++ b/.gitlab-ci/container/lava_arm.sh @@ -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 - diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/container/x86_build.sh similarity index 100% rename from .gitlab-ci/debian-install.sh rename to .gitlab-ci/container/x86_build.sh diff --git a/.gitlab-ci/debian-stretch-install.sh b/.gitlab-ci/container/x86_build_old.sh similarity index 100% rename from .gitlab-ci/debian-stretch-install.sh rename to .gitlab-ci/container/x86_build_old.sh diff --git a/.gitlab-ci/debian-test-install.sh b/.gitlab-ci/container/x86_test.sh similarity index 100% rename from .gitlab-ci/debian-test-install.sh rename to .gitlab-ci/container/x86_test.sh diff --git a/.gitlab-ci/lava-gitlab-ci.yml b/.gitlab-ci/lava-gitlab-ci.yml index 763b06d97ba..cf896d720cd 100644 --- a/.gitlab-ci/lava-gitlab-ci.yml +++ b/.gitlab-ci/lava-gitlab-ci.yml @@ -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: