-
Type: New Feature
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: NXP-9.x
-
Component/s: Continuous Integration
-
Tags:
-
Sprint:nxRPS 9.3.1
-
Story Points:4
For NXP-20105, a number of packages need to be released again for 8.3.
It could be done manually for each package, using the job https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-release-on-demand-addon for each package.
It could also be done using a job that takes a link to a marketplace.ini file as input parameter, similarly to the nightly job using the following script inside https://qa.nuxeo.org/jenkins/job/Deploy/job/IT-nuxeo-master-build/ job:
echo Prepare Marketplace Packages cd $WORKSPACE wget $MARKETPLACE_INI -O $WORKSPACE/marketplace.ini sed -i "s/TAG/$TAG/" $WORKSPACE/marketplace.ini sed -i "s/is_final=True/is_final=$FINAL/" nuxeo/scripts/release_mp.py cd nuxeo . scripts/gitfunctions.sh rm -rf marketplace || true ./scripts/release_mp.py clone -m file://$WORKSPACE/marketplace.ini cd marketplace ../scripts/release_mp.py prepare echo CHECK PREPARE gitf show -s --pretty=format:'%h%d' for release in release-*; do echo $release: ; cat $release ; echo ; done grep -C5 'skip = Failed' release.ini || true grep uploaded release.ini cd .. git checkout -f scripts/release_mp.py scripts/nxutils.py
Also the Connect upload step should be added (excerpt taken from IT-release-on-demand-addon configuration)
if [[ $MP_TO_UPLOAD ]]; then if [ $NO_STAGGING = true ]; then echo '### Deploying to Connect...' CONNECT_URL=https://connect.nuxeo.com/nuxeo/site/marketplace/upload?batch=true else echo '### STAGING MODE: Deploying to Connect Test...' CONNECT_URL=https://nos-test-connect.nos.nuxeo.com/nuxeo/site/marketplace/upload?batch=true fi for file in $MP_TO_UPLOAD ; do [[ -e $file ]] && curl -i -n -F package=@$(ls $file) $CONNECT_URL done fi
- is required by
-
NXP-20105 A package must not embed the CAP NXR
- Resolved