-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update release notes and add script to update version #495
Changes from 19 commits
79a9f75
f50a923
03eb528
8d0a37d
89e8952
af1bd5c
0f72381
2ecf3d6
1ee9be9
c4177a1
77fca12
9f17cb7
a423f8f
9bd3e4a
63bde91
34a2852
fbf984d
5263889
b677cd2
71e7d77
81538a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,30 @@ | ||
sudo: required | ||
|
||
language: go | ||
|
||
go: | ||
- 1.8 | ||
|
||
- 1.9 | ||
services: | ||
- docker | ||
|
||
- docker | ||
before_install: | ||
- sudo apt-get install jq | ||
- sudo apt-get install jq | ||
|
||
stage: Build Release | ||
|
||
script: | ||
- make unittest | ||
- ./scripts/ci-smoketest.sh | ||
before_deploy: | ||
- if [ "$TRAVIS_BRANCH" == "master" ]; then | ||
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; | ||
fi | ||
|
||
after_script: | ||
- make destroy-smoketest | ||
deploy: | ||
provider: releases | ||
script: make release | ||
api_key: | ||
secure: O0g3yP0OWCF2I96p2sY9SsmFrurbVWS1A4DthtWw+xVl8PYhAby7hzgYsy/Ap6C3L5b0PAdP8EtDKoYBy8A7tIImKtoIG7XZPqEH11WhFyUGlpr52DgeROdwZhpKsB3AjELzzSY+XYqW1pKxhcQPIbEBRSHfcREVJ3mL1yuXJkjrXDFCqnLe7oalR6rXaYfv27dJ9PK/Dmtpcu87I21rAX3Jmr94NFPfhXSaIHx9v4WOriMRYKNXvS0hxMH/UNlPNyKBFP6bMzMJFuIusmiJOx9ew/PmxyWen46rRytnJXj9YtaTeaK2Vn+6hEQ11PtwDn7ulou40ZIUiruxM1lmwN/uSIPmq5LVkx6Xsqfppu/jE8JLzitlme2D15xwJybdxNFaXCYG6TjlHjus4DPc72lLtO9OLNQr5bRc0IWrMlHPY49THkMnwMmqNxSLKhz56GcOOPUU/sNwCbReMlT0Ml/CKWwqqF8ul4MD/6quQjiemKsbGEXUTzy4myzO681R7/MQSioI6XF2fPaf+29CBB28uxUva7jbQSb7f1MaRagBBPL2a7P0Pk7ofw9nX49LOHLF8z9SZAbXT0/R4HgIBBt4yXOD1IyIXUitnNHYfbCQLUA4Mq7NFglGKfUPs9HG0afTm+eUJXxjUqEjXpNjrLC6TJOzutYXamBpTVaZe1w= | ||
file: | ||
- build/macOS.zip | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not sure why There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's just how they name their OS's. like iOS, tvOS, etc. |
||
- build/Linux.zip | ||
- build/Windows.zip | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
branch: master | ||
repo: quintilesims/layer0 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#  | ||
|
||
[](https://travis-ci.org/quintilesims/layer0) | ||
[](https://github.com/quintilesims/layer0/releases/tag/v0.10.4) | ||
[](https://github.com/quintilesims/layer0/releases/tag/v0.10.4) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want to run the script now so that references to 0.10.4 like here and elsewhere update the version to 0.10.5? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I could do that now. It'll make the merge easier. |
||
[](https://quintilesims.github.io/layer0/) | ||
|
||
Layer0 is a PAAS that helps you deploy your Docker containers to the cloud with minimal fuss. | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
L0_VERSION:=$(shell git describe --tags) | ||
export L0_VERSION | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needed for expenv |
||
|
||
deps: | ||
pip install mkdocs | ||
pip install -Iv mkdocs-material==2.3.0 | ||
go get github.com/blang/expenv | ||
go install github.com/blang/expenv | ||
|
||
build: | ||
mkdocs build --clean | ||
|
||
release: | ||
$(shell sed -E -i '' 's/(v[0-9]+.[0-9]+.[0-9]+)/'$(L0_VERSION)'/g' ../README.md) | ||
|
||
|
||
serve: | ||
mkdocs serve -a 0.0.0.0:9090 | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
| Version | macOS | Linux | Windows | | ||
| - | - | - | - | | ||
| v0.10.4 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.10.4/layer0_v0.10.4_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.10.4/layer0_v0.10.4_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.10.4/layer0_v0.10.4_windows.zip) | ||
| v0.10.3 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.10.3/layer0_v0.10.3_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.10.3/layer0_v0.10.3_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.10.3/layer0_v0.10.3_windows.zip) | ||
| v0.10.2 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.10.2/layer0_v0.10.2_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.10.2/layer0_v0.10.2_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.10.2/layer0_v0.10.2_windows.zip) | ||
| v0.10.1 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.10.1/layer0_v0.10.1_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.10.1/layer0_v0.10.1_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.10.1/layer0_v0.10.1_windows.zip) | ||
| v0.10.0 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.10.0/layer0_v0.10.0_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.10.0/layer0_v0.10.0_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.10.0/layer0_v0.10.0_windows.zip) | ||
| v0.9.0 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.9.0/layer0_v0.9.0_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.9.0/layer0_v0.9.0_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.9.0/layer0_v0.9.0_windows.zip) | ||
| v0.8.4 | [macOS](https://s3.amazonaws.com/xfra-layer0/release/v0.8.4/layer0_v0.8.4_darwin.zip) | [Linux](https://s3.amazonaws.com/xfra-layer0/release/v0.8.4/layer0_v0.8.4_linux.zip) | [Windows](https://s3.amazonaws.com/xfra-layer0/release/v0.8.4/layer0_v0.8.4_windows.zip) | ||
| v0.8.4 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.8.4/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.8.4/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.8.4/Windows.zip) | ||
| v0.9.0 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.9.0/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.9.0/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.9.0/Windows.zip) | ||
| v0.10.0 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.10.0/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.10.0/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.10.0/Windows.zip) | ||
| v0.10.1 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.10.1/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.10.1/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.10.1/Windows.zip) | ||
| v0.10.2 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.10.2/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.10.2/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.10.2/Windows.zip) | ||
| v0.10.3 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.10.3/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.10.3/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.10.3/Windows.zip) | ||
| v0.10.4 | [macOS](https://github.com/quintilesims/layer0/releases/download/v0.10.4/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/v0.10.4/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/v0.10.4/Windows.zip) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<p align="center"> | ||
<img alt="Layer0 Logo" src="/static/logo_rs.png" > | ||
</p> | ||
|
||
<center> | ||
# Build, Manage, and Deploy Your Application | ||
</center> | ||
|
||
|
||
## Meet Layer0 | ||
Layer0 is a framework that helps you deploy web applications to the cloud with minimal fuss. Using a simple command line interface (CLI), you can manage the entire life cycle of your application without having to focus on infrastructure. | ||
|
||
Ready to learn more about Layer0? See our [introduction page](intro.md) to learn about some important concepts. When you're ready to get started, take a look at the [installation page](setup/install.md) for information about setting up Layer0. | ||
|
||
## Download | ||
| Download **$L0_VERSION** | | | | ||
|:-:|:-:|:-:| | ||
|  |  |  | | ||
| [macOS](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/Windows.zip) | | ||
|
||
|
||
## Contact Us | ||
|
||
If you have questions about Layer0, email the development team at [[email protected]](mailto:[email protected]). |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
| $L0_VERSION | [macOS](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/macOS.zip) | [Linux](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/Linux.zip) | [Windows](https://github.com/quintilesims/layer0/releases/download/$L0_VERSION/Windows.zip) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have the team chime in, but I don't think we want/need to release the binaries on Github. We already have an easier pathway for users to download from S3 (because they can get the release for their specific OS), and adding that here just seems redundant and more code to maintain.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another note, we don't want to run this in Travis. For one thing, Travis doesn't have the permissions to push to S3 or our Dockerhub account. Also, if we did go the Travis route for releases, we should run system tests first, which is a very large unit of work. Any Travis related stuff should be dropped from this PR imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For historical perspective, issue #117 has some previous discussion on this. An argument could be made to not have to depend on S3 hosting our releases and instead use built in GitHub functionality for delivering releases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oooh, great point about travis' permissions - I hadn't even thought about that.
As for releasing binaries on GitHub in addition to our docs, I'm sort of on the fence. I think that if we do release on GitHub as well, we should definitely break it up by OS in the same way we do in the docs. But whether or not we should do that... I don't know just yet. I like the idea of having binary releases so strongly coupled to the tagged version notes; I think that it's a good pattern found in a lot of other OSS repositories. It is redundant, though, given that we also link to binaries stored in S3 in our docs. Maybe the release process could be that the version notes on GitHub and the download links in our docs both link to the same source of binaries?
I guess what I like about releasing binaries on GitHub is that we're not tied to AWS resources paid for by IQVIA - if anything goes south and we lose access to those resources, our OSS tool is unaffected and still available on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great thoughts everyone, just to clarify with the deploy portion.
It'd only be building the binaries the current layer0.ims.io/#download which can be done on in travis.
As far as s3 and DockerHub go we can continue to do that locally or figure out if it can be deployed via travis, which I believe can be done, ie https://docs.travis-ci.com/user/deployment/s3/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess my concern is more about releasing in multiple locations. To tlake's point, releasing on Github makes a lot of sense, and if we went that route, I'd like to see the S3 stuff go away.