Skip to content

Conversation

@AAndrisa
Copy link
Contributor

Pull Request Description

Adapt the upload_to_cloudsmith.sh to use the proper variables and use the python script from wiki-scripts repository for upload.
Remove upload_to_artifactory.py due to cloudsmith switch.

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)

PR Checklist

  • I have followed the Coding style guidelines
  • I have complied with the Submission Checklist
  • I have performed a self-review of the changes
  • I have commented my code, at least hard-to-understand parts
  • I have build all projects affected by the changes in this PR
  • I have tested in hardware affected projects, at the relevant boards
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe etc), if applies

Adapt the upload_to_cloudsmith.sh to use the proper variables and use
the python script from wiki-scripts repository for upload.

Remove upload_to_artifactory.py due to cloudsmith switch.

Signed-off-by: Andreea Andrisan <[email protected]>
Copy link
Contributor

@amiclaus amiclaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

small inline comments, otherwise lgtm.

BINARY_ALIAS="noos_projects_binaries"
SRC_ALIAS="_no-os_sources"
PYSCRIPT_PATH="ci/release/upload_to_artifactory.py"
PYSCRIPT_PATH="wiki-scripts/utils/cloudsmith_utils/upload_to_cloudsmith.py"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe validate if the script actually exists at this path.

--local_path noos_exports_${platform} --token ${ART_TOKEN} --props_level 1 \
--properties "git_sha=${short_hash}" --log_file upload_to_artifactory_log.txt --no_rel_path
python3 ${WORKING_DIRECTORY}/${PYSCRIPT_PATH} \
--repo=${CLOUDSMITH_REPO} \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use consistent formatting. --repo="${CLOUDSMITH_REPO}". also the indentation is odd here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants