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

chore: cicd, CKAN 2.9.x #105

Merged
merged 2 commits into from
Dec 10, 2024
Merged

chore: cicd, CKAN 2.9.x #105

merged 2 commits into from
Dec 10, 2024

Conversation

duttonw
Copy link
Contributor

@duttonw duttonw commented Dec 10, 2024

Get a release out that supports CKAN 2.9.x prior to dropping support.

#103 will look after the uplift (as well as incorporating parts of qld-gov-au downstream fork where needed)

@duttonw duttonw requested a review from ThrawnCA December 10, 2024 00:26
@ThrawnCA
Copy link
Contributor

Tests are failing because of compatibility problems with frictionless wanting a newer version of jinja. (Which is one of the obstacles that has prevented the qld-gov-au fork from becoming compatible with upstream).

@duttonw duttonw force-pushed the chore_cicd_toml_2.9_only branch from 810bb4b to 63dbc41 Compare December 10, 2024 01:02
name: CKAN ${{ matrix.ckan-version }}
runs-on: ubuntu-latest
container:
image: openknowledge/ckan-dev:${{ matrix.ckan-version }}
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this use ckan/ckan-dev?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i'm getting a 2.9 cut to pypi then we will be moving to ckan/ckan-dev which has test failure.

pip install -r dev-requirements.txt
echo "no-warn-conflicts install of jinja2 and markupsafe"
pip install --no-warn-conflicts jinja2==2.10.1
pip install --no-warn-conflicts markupsafe==2.0.1
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be combined with the previous line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is how it was previously, just leaving it alone until we do the 2.10+ uplift.


test:
needs: lint
strategy:
matrix:
ckan-version: [2.9]
include: #ckan-image see https://github.com/ckan/ckan-docker-base, ckan-version controls other image tags
# - ckan-version: "2.11"
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not uncomment these since they are marked experimental?

@duttonw duttonw merged commit aefc34d into master Dec 10, 2024
4 checks passed
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