Please check digdag.io for installation & user manual.
$ ./gradlew check
Test coverage report is generated at didgag-*/build/reports/jacoco/test/html/index.html
.
Findbugs report is generated at digdag-*/build/reports/findbugs/main.html
.
Test uses in-memory H2 database by default. To use PostgreSQL, set following environment variables:
$ export DIGDAG_TEST_POSTGRESQL="$(cat config/test_postgresql.properties)"
You need to set Bintray user name and API key in BINTRAY_USER
and BINTRAY_KEY
environment variables.
- run
./gradlew setVersion -Pto=<version>
command. - write release notes to
releases/release-<version>.rst
file. It must include at least version (the first line) and release date (the last line). - run
./gradlew clean cli check releaseCheck
. - if it succeeded, run
./gradlew release
.
If major version is incremented, also update version =
and release =
at digdag-docs/src/conf.py.
./gradlew releaseSnapshot
$ cd digdag-ui/
$ npm install
$ npm run dev # starts dev server on http://localhost:9000/
$ npm run build # build files on public/
Documents are in digdag-docs/src directory. They're built using Sphinx.
Website is hosted on www.digdag.io using Github Pages. Pages are built using deployment step of circle.yml and automatically pushed to gh-pages branch of digdag-docs repository.
To build the pages and check them locally, run following command:
$ ./gradlew site
This might not always update all necessary files (Sphinx doesn't manage update dependencies well). In this case, run ./gradlew clean
first.
It buids index.html at digdag-docs/build/html/index.html.