Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
refactor: using aether consumer sdk (#2)
Browse files Browse the repository at this point in the history
* 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
lordmallam authored Feb 20, 2020
1 parent 2ed1f86 commit 70d1a1e
Show file tree
Hide file tree
Showing 119 changed files with 4,656 additions and 4,347 deletions.
1 change: 0 additions & 1 deletion .dockerignore

This file was deleted.

6 changes: 0 additions & 6 deletions .env

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.pyc
/db
.vscode
/ckan
*.coverage
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

46 changes: 36 additions & 10 deletions .travis.yml
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
21 changes: 0 additions & 21 deletions Dockerfile

This file was deleted.

28 changes: 0 additions & 28 deletions Dockerfile.test

This file was deleted.

Loading

0 comments on commit 70d1a1e

Please sign in to comment.