Skip to content

Commit d74fda3

Browse files
rokroskarjsam
authored andcommitted
build: update and cleanup build (#614)
* chore: update changelog * build: push dev tags on PR merges
1 parent d286b8c commit d74fda3

File tree

2 files changed

+148
-37
lines changed

2 files changed

+148
-37
lines changed

.travis.yml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ stages:
4747
if: branch = master AND (type != pull_request)
4848
- name: test OSX
4949
if: branch = master AND (type != pull_request)
50-
- name: publish 🐍 🐳
50+
- name: publish 🐍
5151
if: type = push AND (branch = master OR tag IS present)
5252
- name: brew 🍺
53-
if: type = push AND tag IS present
53+
if: type = push AND tag IS present AND tag =~ /^\d\.\d\.\d$/
5454

5555
before_install:
5656
- git fetch --tags
@@ -145,9 +145,14 @@ jobs:
145145
os: osx
146146
osx_image: xcode9.2
147147

148-
- stage: publish 🐍 🐳
148+
- stage: publish 🐍
149149
python: 3.6
150150
script: echo "Publishing on PyPI.io ..."
151+
before_deploy:
152+
if [[ -z $TRAVIS_TAG ]]; then
153+
export TRAVIS_TAG=$(renku --version) &&
154+
git tag $TRAVIS_TAG;
155+
fi
151156
deploy:
152157
- provider: pypi
153158
user:
@@ -157,19 +162,14 @@ jobs:
157162
distributions: "sdist bdist_wheel"
158163
on:
159164
all_branches: true
165+
# push the dev tag to github
166+
- provider: releases
167+
api_key: ${GITHUB_TOKEN}
168+
on:
169+
all_branches: true
170+
tags: false
160171

161-
- # stage: publish
162-
sudo: required
163-
services:
164-
- docker
165-
install:
166-
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
167-
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
168-
- sudo apt-get update
169-
- sudo apt-get -y install docker-ce
170-
script: make docker-login docker-push
171-
172-
- # stage: brew 🍺
172+
- stage: brew 🍺
173173
language: generic
174174
sudo: true
175175
os: osx
@@ -189,7 +189,6 @@ jobs:
189189
all_branches: true
190190
- provider: pages
191191
skip-cleanup: true
192-
# Set in the settings page of your repository, as a secure variable
193192
github-token: ${GITHUB_TOKEN}
194193
repo: swissdatasciencecenter/homebrew-renku
195194
target-branch: master

CHANGES.rst

Lines changed: 133 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,52 +18,164 @@
1818
Changes
1919
=======
2020

21-
``v0.5.0``
22-
----------
21+
`0.5.2 <https://github.com/SwissDataScienceCenter/renku-python/compare/v0.5.1...v0.5.2>`__ (2019-07-26)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- safe_path check always operates on str
28+
(`#603 <https://github.com/SwissDataScienceCenter/renku-python/issues/603>`__)
29+
(`7c1c34e <https://github.com/SwissDataScienceCenter/renku-python/commit/7c1c34e>`__)
30+
31+
Features
32+
~~~~~~~~
33+
34+
- add SoftwareAgent to Activity
35+
(`#590 <https://github.com/SwissDataScienceCenter/renku-python/issues/590>`__)
36+
(`a60c20c <https://github.com/SwissDataScienceCenter/renku-python/commit/a60c20c>`__),
37+
closes
38+
`#508 <https://github.com/SwissDataScienceCenter/renku-python/issues/508>`__
39+
40+
.. _section-2:
41+
42+
`0.5.1 <https://github.com/SwissDataScienceCenter/renku-python/compare/v0.5.0...v0.5.1>`__ (2019-07-12)
43+
-------------------------------------------------------------------------------------------------------
44+
45+
.. _bug-fixes-1:
46+
47+
Bug Fixes
48+
~~~~~~~~~
49+
50+
- ensure external storage is handled correctly
51+
(`#592 <https://github.com/SwissDataScienceCenter/renku-python/issues/592>`__)
52+
(`7938ac4 <https://github.com/SwissDataScienceCenter/renku-python/commit/7938ac4>`__)
53+
- only check local repo for lfs filter
54+
(`#575 <https://github.com/SwissDataScienceCenter/renku-python/issues/575>`__)
55+
(`a64dc79 <https://github.com/SwissDataScienceCenter/renku-python/commit/a64dc79>`__)
56+
- **cli:** allow renku run with many inputs
57+
(`f60783e <https://github.com/SwissDataScienceCenter/renku-python/commit/f60783e>`__),
58+
closes
59+
`#552 <https://github.com/SwissDataScienceCenter/renku-python/issues/552>`__
60+
- added check for overwriting datasets
61+
(`#541 <https://github.com/SwissDataScienceCenter/renku-python/issues/541>`__)
62+
(`8c697fb <https://github.com/SwissDataScienceCenter/renku-python/commit/8c697fb>`__)
63+
- escape whitespaces in notebook name
64+
(`#584 <https://github.com/SwissDataScienceCenter/renku-python/issues/584>`__)
65+
(`0542fcc <https://github.com/SwissDataScienceCenter/renku-python/commit/0542fcc>`__)
66+
- modify json-ld for datasets
67+
(`#534 <https://github.com/SwissDataScienceCenter/renku-python/issues/534>`__)
68+
(`ab6a719 <https://github.com/SwissDataScienceCenter/renku-python/commit/ab6a719>`__),
69+
closes
70+
`#525 <https://github.com/SwissDataScienceCenter/renku-python/issues/525>`__
71+
`#526 <https://github.com/SwissDataScienceCenter/renku-python/issues/526>`__
72+
- refactored tests and docs to align with updated pydoctstyle
73+
(`#586 <https://github.com/SwissDataScienceCenter/renku-python/issues/586>`__)
74+
(`6f981c8 <https://github.com/SwissDataScienceCenter/renku-python/commit/6f981c8>`__)
75+
- **cli:** add check of missing references
76+
(`9a373da <https://github.com/SwissDataScienceCenter/renku-python/commit/9a373da>`__)
77+
- **cli:** fail when removing non existing dataset
78+
(`dd728db <https://github.com/SwissDataScienceCenter/renku-python/commit/dd728db>`__)
79+
- **status:** fix renku status output when not in root folder
80+
(`#564 <https://github.com/SwissDataScienceCenter/renku-python/issues/564>`__)
81+
(`873270d <https://github.com/SwissDataScienceCenter/renku-python/commit/873270d>`__),
82+
closes
83+
`#551 <https://github.com/SwissDataScienceCenter/renku-python/issues/551>`__
84+
- added dependencies for SSL support
85+
(`#565 <https://github.com/SwissDataScienceCenter/renku-python/issues/565>`__)
86+
(`4fa0fed <https://github.com/SwissDataScienceCenter/renku-python/commit/4fa0fed>`__)
87+
- **datasets:** strip query string from data filenames
88+
(`450898b <https://github.com/SwissDataScienceCenter/renku-python/commit/450898b>`__)
89+
- fixed serialization of creators
90+
(`#550 <https://github.com/SwissDataScienceCenter/renku-python/issues/550>`__)
91+
(`6a9173c <https://github.com/SwissDataScienceCenter/renku-python/commit/6a9173c>`__)
92+
- updated docs
93+
(`#539 <https://github.com/SwissDataScienceCenter/renku-python/issues/539>`__)
94+
(`ff9a67c <https://github.com/SwissDataScienceCenter/renku-python/commit/ff9a67c>`__)
95+
- **cli:** remove dataset aliases
96+
(`6206e62 <https://github.com/SwissDataScienceCenter/renku-python/commit/6206e62>`__)
97+
- **cwl:** detect script as input parameter
98+
(`e23b75a <https://github.com/SwissDataScienceCenter/renku-python/commit/e23b75a>`__),
99+
closes
100+
`#495 <https://github.com/SwissDataScienceCenter/renku-python/issues/495>`__
101+
- **deps:** updated dependencies
102+
(`691644d <https://github.com/SwissDataScienceCenter/renku-python/commit/691644d>`__)
23103

24-
*(released 2019-03-28)*
104+
.. _features-1:
105+
106+
Features
107+
~~~~~~~~
108+
109+
- add dataset metadata to the KG
110+
(`#558 <https://github.com/SwissDataScienceCenter/renku-python/issues/558>`__)
111+
(`fb443d7 <https://github.com/SwissDataScienceCenter/renku-python/commit/fb443d7>`__)
112+
- **datasets:** export dataset to zenodo
113+
(`#529 <https://github.com/SwissDataScienceCenter/renku-python/issues/529>`__)
114+
(`fc6fd4f <https://github.com/SwissDataScienceCenter/renku-python/commit/fc6fd4f>`__)
115+
- added support for working on dirty repo
116+
(`ae67be7 <https://github.com/SwissDataScienceCenter/renku-python/commit/ae67be7>`__)
117+
- **datasets:** edit dataset metadata
118+
(`#549 <https://github.com/SwissDataScienceCenter/renku-python/issues/549>`__)
119+
(`db39083 <https://github.com/SwissDataScienceCenter/renku-python/commit/db39083>`__)
120+
- integrate metadata from zenodo
121+
(`#545 <https://github.com/SwissDataScienceCenter/renku-python/issues/545>`__)
122+
(`4273d2a <https://github.com/SwissDataScienceCenter/renku-python/commit/4273d2a>`__)
123+
- **config:** added global config manager
124+
(`#533 <https://github.com/SwissDataScienceCenter/renku-python/issues/533>`__)
125+
(`938f820 <https://github.com/SwissDataScienceCenter/renku-python/commit/938f820>`__)
126+
- **datasets:** import data from zenodo
127+
(`#509 <https://github.com/SwissDataScienceCenter/renku-python/issues/509>`__)
128+
(`52b2769 <https://github.com/SwissDataScienceCenter/renku-python/commit/52b2769>`__)
129+
130+
131+
`0.5.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v0.4.0...v0.5.0>`__ (2019-03-28)
132+
-------------------------------------------------------------------------------------------------------
133+
134+
.. _bug-fixes-2:
25135

26136
Bug Fixes
27137
~~~~~~~~~
28138

29139
- **api:** make methods lock free
30-
(`1f63964 <https://github.com/swissdatasciencecenter/renku-python/commit/1f63964>`__),
140+
(`1f63964 <https://github.com/SwissDataScienceCenter/renku-python/commit/1f63964>`__),
31141
closes
32-
`#486 <https://github.com/swissdatasciencecenter/renku-python/issues/486>`__
142+
`#486 <https://github.com/SwissDataScienceCenter/renku-python/issues/486>`__
33143
- use safe_load for parsing yaml
34-
(`5383d1e <https://github.com/swissdatasciencecenter/renku-python/commit/5383d1e>`__),
144+
(`5383d1e <https://github.com/SwissDataScienceCenter/renku-python/commit/5383d1e>`__),
35145
closes
36-
`#464 <https://github.com/swissdatasciencecenter/renku-python/issues/464>`__
146+
`#464 <https://github.com/SwissDataScienceCenter/renku-python/issues/464>`__
37147
- **datasets:** link flag on dataset add
38-
(`eae30f4 <https://github.com/swissdatasciencecenter/renku-python/commit/eae30f4>`__)
148+
(`eae30f4 <https://github.com/SwissDataScienceCenter/renku-python/commit/eae30f4>`__)
149+
150+
.. _features-2:
39151

40152
Features
41153
~~~~~~~~
42154

43155
- **api:** list datasets from a commit
44-
(`04a9fe9 <https://github.com/swissdatasciencecenter/renku-python/commit/04a9fe9>`__)
156+
(`04a9fe9 <https://github.com/SwissDataScienceCenter/renku-python/commit/04a9fe9>`__)
45157
- **cli:** add dataset rm command
46-
(`a70c7ce <https://github.com/swissdatasciencecenter/renku-python/commit/a70c7ce>`__)
158+
(`a70c7ce <https://github.com/SwissDataScienceCenter/renku-python/commit/a70c7ce>`__)
47159
- **cli:** add rm command
48-
(`cf0f502 <https://github.com/swissdatasciencecenter/renku-python/commit/cf0f502>`__)
160+
(`cf0f502 <https://github.com/SwissDataScienceCenter/renku-python/commit/cf0f502>`__)
49161
- **cli:** configurable format of dataset output
50-
(`d37abf3 <https://github.com/swissdatasciencecenter/renku-python/commit/d37abf3>`__)
162+
(`d37abf3 <https://github.com/SwissDataScienceCenter/renku-python/commit/d37abf3>`__)
51163
- **dataset:** add existing file from current repo
52-
(`575686b <https://github.com/swissdatasciencecenter/renku-python/commit/575686b>`__),
53-
closes `#99 <https://github.com/swissdatasciencecenter/renku-python/issues/99>`__
164+
(`575686b <https://github.com/SwissDataScienceCenter/renku-python/commit/575686b>`__),
165+
closes
166+
`#99 <https://github.com/SwissDataScienceCenter/renku-python/issues/99>`__
54167
- **datasets:** added ls-files command
55-
(`ccc4f59 <https://github.com/swissdatasciencecenter/renku-python/commit/ccc4f59>`__)
168+
(`ccc4f59 <https://github.com/SwissDataScienceCenter/renku-python/commit/ccc4f59>`__)
56169
- **models:** reference context for relative paths
57-
(`5d1e8e7 <https://github.com/swissdatasciencecenter/renku-python/commit/5d1e8e7>`__),
170+
(`5d1e8e7 <https://github.com/SwissDataScienceCenter/renku-python/commit/5d1e8e7>`__),
58171
closes
59-
`#452 <https://github.com/swissdatasciencecenter/renku-python/issues/452>`__
172+
`#452 <https://github.com/SwissDataScienceCenter/renku-python/issues/452>`__
60173
- add JSON-LD output format for datasets
61-
(`c755d7b <https://github.com/swissdatasciencecenter/renku-python/commit/c755d7b>`__),
174+
(`c755d7b <https://github.com/SwissDataScienceCenter/renku-python/commit/c755d7b>`__),
62175
closes
63-
`#426 <https://github.com/swissdatasciencecenter/renku-python/issues/426>`__
176+
`#426 <https://github.com/SwissDataScienceCenter/renku-python/issues/426>`__
64177
- generate Makefile with log –format Makefile
65-
(`1e440ce <https://github.com/swissdatasciencecenter/renku-python/commit/1e440ce>`__)
66-
178+
(`1e440ce <https://github.com/SwissDataScienceCenter/renku-python/commit/1e440ce>`__)
67179

68180
``v0.4.0``
69181
----------

0 commit comments

Comments
 (0)