Actions
Task #5500
closedSpecify plugin dependencies on plugin_template
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Plugin Template
Sprint:
Sprint 60
Quarter:
Description
Currently, plugin_template defaults to install only pulp-certguard as dependency
https://github.com/pulp/plugin_template/blob/master/templates/travis/.travis/install.sh.j2#L50-L69
We want to be able to specify other plugins as a dependency.
Updated by fao89 about 5 years ago
For pulp-2to3-migration it was needed to add pulp_file as a dependency:
# For pulpcore, and any other repo that might check out a pulp-certguard PR
if [ -e $TRAVIS_BUILD_DIR/../pulp-certguard ]; then
PULP_CERTGUARD=./pulp-certguard
else
# Otherwise, master branch release
PULP_CERTGUARD=git+https://github.com/pulp/pulp-certguard.git
fi
if [ -e $TRAVIS_BUILD_DIR/../pulp_file ]; then
PULP_FILE=./pulp_file
else
# Otherwise, master branch release
PULP_FILE=git+https://github.com/pulp/pulp_file.git
fi
cat > vars/vars.yaml << VARSYAML
---
images:
- ${PLUGIN}-${TAG}:
image_name: $PLUGIN
tag: $TAG
pulpcore: ./pulpcore
pulpcore_plugin: ./pulpcore-plugin
plugins:
- $PULP_CERTGUARD
- $PULP_FILE
- ./$PLUGIN
VARSYAML
Updated by fao89 about 5 years ago
- Status changed from NEW to POST
- Sprint set to Sprint 60
Added by Fabricio Aguiar about 5 years ago
Updated by Anonymous about 5 years ago
- Status changed from POST to MODIFIED
- % Done changed from 0 to 100
Applied in changeset plugin_template|193a63abe7aeb3d8e9580e53013a68dfdd719a1a.
Updated by bmbouter about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
include additional plugins on travis
closes #5500 https://pulp.plan.io/issues/5500