diff --git a/manifest-build.yml b/manifest-build.yml index 7ee45351f33a7b8d44f032b0082e57169fec4709..52c22fdead94744be43c4be1caf08aa9d0b5b35e 100644 --- a/manifest-build.yml +++ b/manifest-build.yml @@ -144,7 +144,9 @@ variables: $UPLOAD_PARAM fi # SDK if available + echo "Check for SDK to upload" if [ -d "${ARTIFACTS_SDK_PATH}" ];then + echo "SDK path exists, call package_release.py" $script \ --sdk-dir=${ARTIFACTS_SDK_PATH} \ --outputdir-local="${outdir}" diff --git a/manifest.yml b/manifest.yml index b62b44db69aa534dde612581e3561aa640cf16db..3e1cb6585356072bfd61ecd8859e0883137ea807 100644 --- a/manifest.yml +++ b/manifest.yml @@ -251,6 +251,7 @@ build:merge_request: allow_failure: true script: - echo + timeout: 30m .uploadsdkftp: variables: diff --git a/package_release.py b/package_release.py index 6b3b4eec68ea964ff9b76e2cca878c719197020d..79670b9194547d7464b814bdc3036b0952e7f968 100755 --- a/package_release.py +++ b/package_release.py @@ -226,12 +226,16 @@ def main(): # Handle SDK if available if args.sdk_dir is not None: sdkfiles = glob.glob(os.path.join(args.sdk_dir, sdkname + "*")) + print("package_release.py: Upload the following sdk files:") + print(sdkfiles) sdk_md5sums = copy_files( sdkfiles, "", os.path.join(machine, "sdk"), None, outlocal_dir ) write_md5sums_file( sdk_md5sums, os.path.join(machine, "sdk"), None, outlocal_dir ) + else: + print("package_release.py: sdk_dir is not specified") # Store pathes and other stuff in environment variable file with open("package.env", "w", encoding="utf-8") as env_file: