IATI / IATI-Validator-Actual

GNU Affero General Public License v3.0
1 stars 0 forks source link

NOTE

IATI-Validator-Actual (v1) is Deprecated

Full Announcement

IATI Data Validator

Create data quality feedback for activity files in the data standard of the International Aid Transparency Initiative.

Please provide your feedback by using the Validator Feedback form on the tool or raise issues here on Github. Users who are unable to access Github or use the Validator Feedback form are welcome to share their feedback by emailing support@iatistandard.org.

Provide feedback on specific issues

To help the IATI Technical Team sort through feedback efficiently, please provide separate comments/issues on:

Technical

Developer documentation is still work in progress.

The validator can be run as a Docker container, with all the required software and libraries.

Internally, the engine uses Ant for the workflow, and Saxon HE for data processing.

For more information see the online documentation

Using git

After cloning this repository, update the submodules recursively:

git submodule update --recursive

This will download the IATI-Rulesets, and within that, the Xspec testing library

Alternatively, clone the repository and submodules in one go with

git clone --recurse-submodules https://github.com/IATI/IATI-Validator-Actual.git

Building the container to run tests

Use the conventional docker build command:

docker build -t my_validator:latest .

Run the test suites:

docker run --rm my_validator test

Building/Pushing the image for deployment

Build Image

docker build -t iati-validator-actual:<version> .

Tag

docker tag iati-validator-actual:<version> gcr.io/iati-validator/iati-validator-actual:<version>

Push to Google Cloud Registry

docker push gcr.io/iati-validator/iati-validator-actual:<version>