Skip to content

Commit d0122bb

Browse files
authored
TST DOC: add build time test and improve docs (#27)
1 parent 6ead96c commit d0122bb

3 files changed

Lines changed: 27 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@ Version number changes (major.minor.micro) in this package denote the following:
88
- A minor version will increase if one or more packages contained in the Docker image add new, backwards-compatible features, or if a new package is added to the Docker image.
99
- A major version will increase if there are any backwards-incompatible changes in any of the packages contained in this Docker image, or any other backwards-incompabile changes in the execution environment.
1010

11+
## [2.7.4] - 2018-08-14
12+
13+
- Added build time test for `civis`.
14+
15+
## [2.7.3] - 2018-08-13
16+
17+
- Patch release to fix broken build, due to transient MRAN failure.
18+
1119
## [2.7.0] - 2018-06-21
1220

1321
- Update civis-r to 1.5.0

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ RUN curl -s https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \
1818

1919
RUN Rscript -e "devtools::install_github('civisanalytics/civis-r', ref = 'v1.5.0', upgrade_dependencies = FALSE);"
2020

21+
RUN Rscript -e "library(civis)"
22+
2123
ENV VERSION=2.7.0 \
2224
VERSION_MAJOR=2 \
2325
VERSION_MINOR=7 \

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,23 @@ docker build -t datascience-r:test .
5757
```
5858
and describe any changes in the [change log](CHANGELOG.md).
5959

60-
## For Maintainers
61-
62-
This repo has autobuild enabled. Any PR that is merged to master will
63-
be built as the `latest` tag on Dockerhub.
64-
Once you are ready to create a new version, go to the "releases" tab of the repository and click
65-
"Draft a new release". Github will prompt you to create a new tag, release title, and release
66-
description. The tag should use semantic versioning in the form "vX.X.X"; "major.minor.micro".
67-
The title of the release should be the same as the tag. Include a change log in the release description.
68-
Once the release is tagged, DockerHub will automatically build three identical containers, with labels
69-
"major", "major.minor", and "major.minor.micro".
60+
# Tag a Release
61+
62+
To integrate with Civis Platform, the following format for releases must be followed:
63+
64+
1. Tag: vX.X.X (major.minor.micro).
65+
2. Title: vX.X.X
66+
67+
The 'Description' field is not used in Civis Platform integration, but by convention it
68+
should have the following format:
69+
70+
Description: [YYYY-MM-DD] followed by summary of changes.
71+
72+
# For Maintainers
73+
74+
This repo has autobuild enabled. Any PR that is merged to master will be built
75+
as the `latest` tag on Dockerhub. Once the release is tagged, DockerHub will
76+
automatically build three identical containers, with labels "major", "major.minor", and "major.minor.micro".
7077

7178
# License
7279

0 commit comments

Comments
 (0)