This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: using aether consumer sdk (#2)
* refactor: setup artifacts, resources with sdk * fix: db connection test * feat: ckan resources * fix: travis scripts * test: travis fix * feat: add target_options to subscription schema * chore: include release branch build * fix: lint * chore: indent to space * fix: travis release node * fix: untrack .coverage * fix: setup * chore: remove ckan-test * feat: push messages to ckan * fix: lint * test: include remote ckan for integration test * chore: update readme * fix: typo
- Loading branch information
1 parent
2ed1f86
commit 70d1a1e
Showing
119 changed files
with
4,656 additions
and
4,347 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.pyc | ||
/db | ||
.vscode | ||
/ckan | ||
*.coverage |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,44 @@ | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.7" | ||
services: | ||
- docker | ||
cache: pip | ||
before_script: | ||
- docker login -u ehealthafricadevops -p $DOCKER_HUB_PASSWORD | ||
install: bash bin/travis-build.bash | ||
script: sh bin/travis-run.sh | ||
|
||
deploy: | ||
- provider: script | ||
script: "./scripts/release.sh" | ||
skip_cleanup: true | ||
on: | ||
all_branches: true | ||
condition: ($TRAVIS_BRANCH =~ ^release\-[0-9]+\.[0-9]+[\.0-9]*$) || ($TRAVIS_TAG =~ ^[0-9]+\.[0-9]+[\.0-9]*$) | ||
# build only the master branch or tags like #.#.# | ||
branches: | ||
only: | ||
- master | ||
- /^[0-9]+(\.[0-9]+){2}$/ | ||
- /^release\-[0-9]+\.[0-9]+$/ | ||
|
||
# define stages and their execution order | ||
stages: | ||
- name: test | ||
|
||
# release only in: | ||
# - branch master | ||
# - tag #.#.# | ||
# - never in forks or pull requests | ||
- name: release | ||
if: | | ||
fork IS false AND \ | ||
type != pull_request AND \ | ||
((branch = master) OR \ | ||
(tag =~ ^[0-9]+(\.[0-9]+){2}$)) | ||
jobs: | ||
fast_finish: true | ||
include: | ||
|
||
- name: "Test" | ||
stage: test | ||
script: "./scripts/run_travis.sh" | ||
|
||
- name: "Release" | ||
stage: release | ||
script: "./scripts/release.sh" | ||
|
||
install: true |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.