ODIQueensland / ckan-data-curator-integration

A place to plan, collect issues and store items that support integrating Data Curator with CKAN
MIT License
1 stars 0 forks source link

Establish CKAN test environment #1

Closed Stephen-Gates closed 6 years ago

Stephen-Gates commented 6 years ago

Target CKAN v2.7.x https://github.com/ckan/ckan/releases

See https://github.com/frictionlessdata/ckanext-datapackager#developing-ckanext-datapackager

Stephen-Gates commented 6 years ago

CKAN installed

screenshot 2018-06-08 17 52 47
ghost commented 6 years ago

Unfortunately, docker-ckan doesn't support MacOSX well, so have spent time working on ubuntu. Had to work on a local ubuntu vm (using Vagrant) and create backup/restore scripts to synch between my development (my local vagrant instance of ckan) and uat server

Advantage is that I can keep all other environment, library nuances closer to what will be in UAT. Downside is that this has been more work than I had anticipated. Docker is a very reliable tech but the backup/restore isn't trivial. Have created datapackage libraries needed and used in dev and just about complete synch scripts. Will be pushing up container and volume archives to UAT this morning, and will push up a couple of the examples referenced in next sprint.

Stephen-Gates commented 6 years ago

Stephen to determine version of CKAN client is using

Stephen-Gates commented 6 years ago

datapackage extension and tools installed.

screenshot 2018-06-17 19 46 23

@louisjasek can you please confirm the versions for CKAN, database, redis and solr, python version?

ghost commented 6 years ago

thanks @Stephen-Gates

louisjasek commented 6 years ago

Hi @Stephen-Gates @mattRedBox have asked the question - waiting on a response back from our vendor.

louisjasek commented 6 years ago

Hi @Stephen-Gates @mattRedBox just sent email with environment details

Stephen-Gates commented 6 years ago
Component Current Version Planned Version (if expected to change in next 12 months)
CKAN 2.4.9 2.7.3
Database 10.4 10.4
Redis 2.8.4 2.8.4
Solr 3.6.2 6.5.x
Python 2.7.6 2.7.6
ghost commented 6 years ago

thanks @louisjasek @Stephen-Gates

ghost commented 6 years ago
Component Current Version in UAT Planned Version to match
CKAN 2.7.0 2.7.3
Database 10.4 10.4
Redis 4.0.9 2.8.4
Solr 6.6.2 6.5.x
Python 2.7.9 2.7.6
ghost commented 6 years ago

for now - I'm not going to worry too much about solr/redis (I'll match these if time and can be done easily without impact) as these have more to do with searching and indexing data and little to do with ckan changes (I note too that their version of redis is way behind) - thankfully db version is correct. While not too far from what they're after I will ensure that ckan and python versions match

ghost commented 6 years ago

Hi @Stephen-Gates and @louisjasek I've just been reviewing 0.1.0 and noted that these issues are meant to be kept 'live' and move across milestones (so have updated), when I noticed @Stephen-Gates this adoption document: In it you've recorded:

CKAN
To support uploading and downloading data packages:

CKAN v2.7.4 or higher must be installed (download)

I note that we are using 2.7.0 and downloads seem to be working fine both in dev and uat. Do you recall where this information came from? The reason I'm asking is that I note Louis' capture of the planned versions has 2.7.3

I also note the from the ckan datapackage repo: Requirements CKAN >= 2.4 Python 2.7

Just want to be sure I haven't missed something in the document so far (I can correct from here @Stephen-Gates, but just wanted to be sure of the history first).

Stephen-Gates commented 6 years ago

2.7.4 came from Louie saying they were moving to 2.7.x. I stated 2.7.4 because it was the latest release

ghost commented 6 years ago

thanks - will update.