diff options
author | Yuriy Erofeev <yuiry.erofeev@toradex.com> | 2020-04-29 13:37:22 +0000 |
---|---|---|
committer | Yuriy Erofeev <yuiry.erofeev@toradex.com> | 2020-04-29 13:37:22 +0000 |
commit | b4dbdc6635b948bb214516c8ad87f815b9ffdf3c (patch) | |
tree | d221f0ea4abbe82de3d6eab6e73a784fb85c2742 | |
parent | 1830688f426a0146c1f09ac9623d37bda6d308d4 (diff) |
Update CI pipeline to get kernel-config for the build from local Artifactory
-rw-r--r-- | .gitlab-ci.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0d0de1dab5b..a33ed442ee28 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -41,9 +41,9 @@ stages: echo -e "Arch is \e[36m$ARCH\e[39m" # due to specific of the kernel build we need to use the latest configuration from the nightly builds. We are getting $Version dynamically , as a variable , based on parsing URL page with Nightly builds ID rm -f index.html - wget http://10.1.8.33:83/image-oe-torizon-master-matrix/Nightly/artifacts/ + wget http://artifactory-horw.int.toradex.com/artifactory/list/torizoncore-oe-nightly-horw/master/nightly/ version=$( cat index.html| grep ^"<a" | sed -e 's/[<>="//]/ /g' | awk '{ print $3}' | sort -nrk1,1 | head -1) - wget http://10.1.8.33:83/image-oe-torizon-master-matrix/Nightly/artifacts/$version/$KERNEL_FILE_PATH/images/kernel-config + wget http://artifactory-horw.int.toradex.com/artifactory/list/torizoncore-oe-nightly-horw/master/nightly/$version/$KERNEL_FILE_PATH/images/kernel-config mkdir -p $TEMP_BUILD_FOLDER cp kernel-config $TEMP_BUILD_FOLDER/$KERNEL_CONFIGURATION_FILE ##### @@ -65,5 +65,5 @@ build_default_defconfig : extends: .build_base variables: # Defining the path, which we will use to take a config file to build a kernel - KERNEL_FILE_PATH: colibri-imx7_torizon-core-docker + KERNEL_FILE_PATH: colibri-imx7/torizon/torizon-core-docker stage: build-product
\ No newline at end of file |