Skip to content
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

Merged
merged 3 commits into from
Dec 1, 2022
Merged

Cicd upgrades #99

merged 3 commits into from
Dec 1, 2022

Conversation

duttonw
Copy link
Member

@duttonw duttonw commented Dec 1, 2022

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)

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
Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor

@ThrawnCA ThrawnCA left a 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.

@duttonw duttonw merged commit b5dd503 into master Dec 1, 2022
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.

2 participants