-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cicd upgrades #99
Cicd upgrades #99
Conversation
* add qld-qov ckan version
scripts/build.sh
Outdated
echo "pip install -e git+https://github.com/${CKAN_GIT_ORG}/ckan.git@${CKAN_GIT_VERSION}#egg=ckan" | ||
echo "do manually as its already a git pip installed module" | ||
sudo git config --global --add safe.directory "$SRC_DIR/ckan" | ||
#sudo pip install -e git+https://github.com/${CKAN_GIT_ORG}/ckan.git@${CKAN_GIT_VERSION}#egg=ckan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line isn't really needed, along with the associated echo.
scripts/build.sh
Outdated
pip install -r dev-requirements.txt | ||
pip install -e . | ||
# Replace default path to CKAN core config file with the one on the container | ||
sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With a different separator eg |
, and double quotes instead of single, this could make use of $APP_DIR
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather use Docker Compose, but this is a step up.
Allow our custom ckan version be tested against (which includes the iUploader changes to centralize download of files vs having it in a controller we need to override)