Skip to content

Commit

Permalink
Release v0.10.10 (#639)
Browse files Browse the repository at this point in the history
* Release v0.10.8: Merge master into develop (#601)

* Rebuild docs site post v0.10.7 release (#563)

* 549: Fix API service LB health check for v0.10.6 (#550)

When running l0-setup apply for a new instance, after the resources are created, the health check was not succeeding and timing out. This happened because l0-setup tries to hit /health while the API was coded to have the health endpoint on /admin/health.

This change was originally implemented in api-refactor branches, so we are applying the /admin/helth -> /health change to the master/develop branches

* 553: Support ELB Idle Timeout in CLI and Terraform when creating or updating load balancer (#557)

* 553: Allow Load Balancer Idle Timeout to be defined at creation time

* 553: Fix breaking unit tests on idle timeout type casting

* 553: Add update idle timeout cli functionality

* 553: More work on fixing unit tests

* 553: Fix command unit test, add printer unit test

* 553: Fix remaining unit tests, add documentation

* 553: Remove ELB references in docs and some review changes

* 553: Make idletimeout subcommand print if no update is required

* 553: Add additional documentation explaining what the Idle Timeout it

* 553: Remove unnecessary import statement in elb provider decorator

* 553: Make review fixes, dereferencing IdleTimeout, add more explicit error handle in lb attrib describe

* 553: Modify load balancer command to ParseInt timeout rather than Atoi conversion

* 533: Change spacing in cli reference docs page

* Sync develop and master - v0.10.7 release (#561)

* Merge for CI testing. (#527)

* v0.10.4 docfixes tlake (#492)

* Fixes in guides/ and reference/

* Update admonition

* Remove deprecated 'apply-smoketest' target

* Remove smoketests from CI pipeline

* Code review updates

* Clean up deprecated smoketest targets

* Update docs

* Update release notes and add script to update version (#495)

* Update release notes and add script to update version

* Add make script for updating release

* Update release notes

* Update travis with github release

* Update travis

* Test travis

* Update travis

* Fix travis

* Update travis to build binaries for github

* Update travis build and rework release flow

* Move to expenv and removed release notes, reduntant

* Update release notes with new flow

* PR Feedback changes, fix makefile

* Fix .zip missing in index

* Remove l0_version

* Remove dependency for prefix v

* PR Feedback changes'

* Fix regex

* Update to v0.10.5 for docs and back expenv

* Fix travis script

* Update travis script

* Update travis script

* Update travis script

* Fix travis script order

* Fix docker env in travis

* Fix docker login

* Add expenv to before_deploy

* Updated docs for v0.10.6

* Release v0.10.7 (#560)

* 549: Fix API service LB health check for v0.10.6 (#550)

When running l0-setup apply for a new instance, after the resources are created, the health check was not succeeding and timing out. This happened because l0-setup tries to hit /health while the API was coded to have the health endpoint on /admin/health.

This change was originally implemented in api-refactor branches, so we are applying the /admin/helth -> /health change to the master/develop branches

* 553: Support ELB Idle Timeout in CLI and Terraform when creating or updating load balancer (#557)

Adds CLI functionality for l0 loadbalancer create and a new subcommand l0 loadbalancer idletimeout. Create has a new optional flag --idle-timeout for create which can be used to specify the Idle Timeout of the load balancer at creation time. l0 loadbalancer idletimeout is an update subcommand that updates a given load balancer's idle timeout to a new value.

Adds Terraform support for defining a load balancer's Idle Timeout. A new key is introduced into the resource, idle_timeout.

* MAINT: Build docs for v0.10.7 release

* MAINT: Doc fixes post v0.10.7 release

* MAINT: Docs site rebuilt post v0.10.7 release

* Document breaking change within v0.10.x family (#574)

* 549: Fix API service LB health check for v0.10.6 (#550)

When running l0-setup apply for a new instance, after the resources are created, the health check was not succeeding and timing out. This happened because l0-setup tries to hit /health while the API was coded to have the health endpoint on /admin/health.

This change was originally implemented in api-refactor branches, so we are applying the /admin/helth -> /health change to the master/develop branches

* 553: Support ELB Idle Timeout in CLI and Terraform when creating or updating load balancer (#557)

* 553: Allow Load Balancer Idle Timeout to be defined at creation time

* 553: Fix breaking unit tests on idle timeout type casting

* 553: Add update idle timeout cli functionality

* 553: More work on fixing unit tests

* 553: Fix command unit test, add printer unit test

* 553: Fix remaining unit tests, add documentation

* 553: Remove ELB references in docs and some review changes

* 553: Make idletimeout subcommand print if no update is required

* 553: Add additional documentation explaining what the Idle Timeout it

* 553: Remove unnecessary import statement in elb provider decorator

* 553: Make review fixes, dereferencing IdleTimeout, add more explicit error handle in lb attrib describe

* 553: Modify load balancer command to ParseInt timeout rather than Atoi conversion

* 533: Change spacing in cli reference docs page

* Sync develop and master - v0.10.7 release (#561)

* Merge for CI testing. (#527)

* v0.10.4 docfixes tlake (#492)

* Fixes in guides/ and reference/

* Update admonition

* Remove deprecated 'apply-smoketest' target

* Remove smoketests from CI pipeline

* Code review updates

* Clean up deprecated smoketest targets

* Update docs

* Update release notes and add script to update version (#495)

* Update release notes and add script to update version

* Add make script for updating release

* Update release notes

* Update travis with github release

* Update travis

* Test travis

* Update travis

* Fix travis

* Update travis to build binaries for github

* Update travis build and rework release flow

* Move to expenv and removed release notes, reduntant

* Update release notes with new flow

* PR Feedback changes, fix makefile

* Fix .zip missing in index

* Remove l0_version

* Remove dependency for prefix v

* PR Feedback changes'

* Fix regex

* Update to v0.10.5 for docs and back expenv

* Fix travis script

* Update travis script

* Update travis script

* Update travis script

* Fix travis script order

* Fix docker env in travis

* Fix docker login

* Add expenv to before_deploy

* Updated docs for v0.10.6

* Release v0.10.7 (#560)

* 549: Fix API service LB health check for v0.10.6 (#550)

When running l0-setup apply for a new instance, after the resources are created, the health check was not succeeding and timing out. This happened because l0-setup tries to hit /health while the API was coded to have the health endpoint on /admin/health.

This change was originally implemented in api-refactor branches, so we are applying the /admin/helth -> /health change to the master/develop branches

* 553: Support ELB Idle Timeout in CLI and Terraform when creating or updating load balancer (#557)

Adds CLI functionality for l0 loadbalancer create and a new subcommand l0 loadbalancer idletimeout. Create has a new optional flag --idle-timeout for create which can be used to specify the Idle Timeout of the load balancer at creation time. l0 loadbalancer idletimeout is an update subcommand that updates a given load balancer's idle timeout to a new value.

Adds Terraform support for defining a load balancer's Idle Timeout. A new key is introduced into the resource, idle_timeout.

* MAINT: Build docs for v0.10.7 release

* MAINT: Doc fixes post v0.10.7 release

* MAINT: Docs site rebuilt post v0.10.7 release

* Document breaking change within v0.10.x family

* Add merge type for release branch into master

* 596: Update AWS SDK vendoring (#597)

* 596: Update AWS SDK vendoring

The vendored version of the AWS SDK is being updated to account for
recent changes that have been made in the SDK. As it pertains to the
issue that is being addressed, ECS ContainerDefinitions have added new
properties that we should support when l0 deploys are created.

* MAINT: Update broken README links

* MAINT: Update v0.10.8 docs

* use home dir for terraform plugin

`~/.terraform.d/plugins` rather than arbitrary install directory

* Capping AWS provider to pre-2.0 versions (#633)

* 4887: Maintenance (#634)

* Fix %d <-> string mismatch errors

* Bump aws provider version to >= 2.0.0

* Add 'owners' to aws_ami data sources

* Add request_payer to s3 bucket

* Add autoscaling to read capacity of dynamodb tables

* Update max_capacity

* Pin version to also be < 3.0.0

* Rev go version to 1.12

* Use personal access token for carbon-bot-user

* Update README, CI automation in prep for relocating docs to separate repo

* Move docs to separate layer0-docs repo

* Fix nesting typo
  • Loading branch information
tlake authored Apr 15, 2019
1 parent 3a97969 commit 9fd9361
Show file tree
Hide file tree
Showing 199 changed files with 93 additions and 33,294 deletions.
42 changes: 22 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
sudo: required

language: go

go:
- 1.9
- 1.12

services:
- docker
- docker

before_install:
- sudo apt-get install jq
- sudo apt-get install jq

script:
- make unittest

# Build Binaries to upload
before_deploy:
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD";
- go get github.com/blang/expenv
- go install github.com/blang/expenv
- make release
- docker login -u "$DOCKER_USERNAME" -p "$DOCKER_PASSWORD"
- go get github.com/blang/expenv
- go install github.com/blang/expenv
- make release

# Deploy to Github
deploy:
- provider: releases
api_key:
secure: O0g3yP0OWCF2I96p2sY9SsmFrurbVWS1A4DthtWw+xVl8PYhAby7hzgYsy/Ap6C3L5b0PAdP8EtDKoYBy8A7tIImKtoIG7XZPqEH11WhFyUGlpr52DgeROdwZhpKsB3AjELzzSY+XYqW1pKxhcQPIbEBRSHfcREVJ3mL1yuXJkjrXDFCqnLe7oalR6rXaYfv27dJ9PK/Dmtpcu87I21rAX3Jmr94NFPfhXSaIHx9v4WOriMRYKNXvS0hxMH/UNlPNyKBFP6bMzMJFuIusmiJOx9ew/PmxyWen46rRytnJXj9YtaTeaK2Vn+6hEQ11PtwDn7ulou40ZIUiruxM1lmwN/uSIPmq5LVkx6Xsqfppu/jE8JLzitlme2D15xwJybdxNFaXCYG6TjlHjus4DPc72lLtO9OLNQr5bRc0IWrMlHPY49THkMnwMmqNxSLKhz56GcOOPUU/sNwCbReMlT0Ml/CKWwqqF8ul4MD/6quQjiemKsbGEXUTzy4myzO681R7/MQSioI6XF2fPaf+29CBB28uxUva7jbQSb7f1MaRagBBPL2a7P0Pk7ofw9nX49LOHLF8z9SZAbXT0/R4HgIBBt4yXOD1IyIXUitnNHYfbCQLUA4Mq7NFglGKfUPs9HG0afTm+eUJXxjUqEjXpNjrLC6TJOzutYXamBpTVaZe1w=
file:
- build/macOS.zip
- build/Linux.zip
- build/Windows.zip
skip_cleanup: true
on:
tags: true

- provider: releases
api_key:
secure: 5iy5dYqL4PFI3DfyNaZ5aEMiG3lSFKjHSNy403cZoptmylID4EWq7ciM5vJVM913fhvnq9uqOpjGsBiIjiG1VU3IGIB/0yNNNO4VI5WO3JKTlz6QcAyhYH7sucLjPV+3ztPsbbnRMTbbLJzzm6NiiiLenzL4uI0sUHqLx0jgsJSShZtyyogVmKTQfyCodBjmykuYzExldIRkvJ/MwybR5uL+PXXIC1qyJx6N6iWIlo9JAcjCdGXAEOB6UDPPlgKmEm4pBhuGqiefWTmlBaYHFE6OEpcy9vuurhIkZr6SqFukLvqdTPLO/hWDYUoEooCmK4rcgsHidlWW4S8lxlYF5KMl7FsJJnG62nS2UDfKcFmsTsSKJCL4qbZDgyTkVV/zO414P2sDols33RmGuYBGjdjWyAhJD2KzjLvpt2X7QcwxI61WYyoF+hFykAl+IXEl23W9To5ORylm+S/vHuLeL0JBELQFHJGM16m0fhAiDdGnOcrDI+KOXdWNqa9c0T1PAn2ivhto9mgXjdf2HaahYK4XTyNjyJkQnpy0Oju5vbq2b6SPcjOwXNqvgl4P2pcEAWcnO538lNajy+P9n2EOeHfC8QIkPNFECOHrkeR9yXa247hRsjYPRATNzs77lj3I4pY2hHIcn+s+P40s5hUQowy2lUJJJs+5aRRvv7dH6lU=
file:
- build/macOS.zip
- build/Linux.zip
- build/Windows.zip
skip_cleanup: true
on:
tags: true
17 changes: 1 addition & 16 deletions DEVELOP.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,22 +86,7 @@ make release
```

## Docs
The documentation for Layer0 exists in `layer0/docs-src`.
We use [mkdocs](http://www.mkdocs.org/) (version >= v0.16.0) to compile our markdown docs into html and css.

#### Common Functions
*The following commands should be run from the `layer0/docs-src` directory*

```
# install dependencies
make deps
# compile docs
make build
# serve docs locally
mkdocs serve
```
The documentation for Layer0 exists in the [layer0-docs](http://github.com/quintilesims/layer0-docs) repository.

## Testing
Any package or subpackage in Layer0 can be tested using the standard `go test` tool.
Expand Down
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ SHELL:=/bin/bash
release:
$(MAKE) -C api release
$(MAKE) -C cli release
$(MAKE) -C docs-src release
$(MAKE) -C runner release
$(MAKE) -C setup release
$(MAKE) -C plugins/terraform release
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# ![logo](https://quintilesims.github.io/layer0/static/logo_rs.png)
# ![logo](https://quintilesims.github.io/layer0-docs/static/logo_rs.png)

[![Build Status](https://travis-ci.org/quintilesims/layer0.svg?branch=master)](https://travis-ci.org/quintilesims/layer0)
[![Version](https://img.shields.io/badge/version-v0.10.9-brightgreen.svg)](https://github.com/quintilesims/layer0/releases/tag/v0.10.9)
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://quintilesims.github.io/layer0/)
[![Version](https://img.shields.io/badge/version-latest-brightgreen.svg)](https://github.com/quintilesims/layer0/releases/latest)
[![Documentation](https://img.shields.io/badge/docs-latest-blue.svg)](https://quintilesims.github.io/layer0-docs/)

Layer0 is a PAAS that helps you deploy your Docker containers to the cloud with minimal fuss.
Using our [CLI](http://layer0.ims.io/reference/cli), or [Terraform Plugin](http://layer0.ims.io/reference/terraform-plugin),
Expand Down
11 changes: 11 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ git merge remotes/origin/master
git push -u origin release
```


## Merge Release into Master

[Create a pull request](https://github.com/quintilesims/layer0/compare) from the `release` branch targeting the `master` branch (_base: master, compare: release_).
Expand All @@ -69,6 +70,9 @@ git tag -a vX.X.X -m "<some message about the version>"
git push origin --tag
```

Pushing a tag triggers a branch of automation in travis-ci which will build the binaries and attach them to the release.


## Add Release Notes

Add release notes to the release with this format.
Expand All @@ -83,6 +87,13 @@ This can be done through the [Github UI](https://github.com/quintilesims/layer0/
Please follow the existing formatting when adding release notes.


## Update the documentation for the new tag

This should have been done all through development, but in particular here, we must create the links for the newly-tagged release.
Documentation lives in the [layer0-docs](https://github.com/quintilesims/layer0-docs) repository.
Follow the instructions in that repo's README for updating for a new Layer0 release.


# Announce the release

Once the release is available for download, send a message to
Expand Down
2 changes: 1 addition & 1 deletion api/backend/ecs/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func (r *ECSResourceManager) GetProviders(environmentID string) ([]*resource.Res
func (r *ECSResourceManager) getResourceProvider(ecsEnvironmentID id.ECSEnvironmentID, instance *ecs.ContainerInstance) (*resource.ResourceProvider, bool) {
instanceID := pstring(instance.Ec2InstanceId)
if pstring(instance.Status) != "ACTIVE" {
r.logger.Warnf("Instance %d is not in the 'ACTIVE' state", instanceID)
r.logger.Warnf("Instance %s is not in the 'ACTIVE' state", instanceID)
return nil, false
}

Expand Down
2 changes: 1 addition & 1 deletion common/db/job_store/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (m *MemoryJobStore) SelectByID(jobID string) (*models.Job, error) {
}
}

return nil, fmt.Errorf("Job with id '%d' does not exist", jobID)
return nil, fmt.Errorf("Job with id '%s' does not exist", jobID)
}

func (m *MemoryJobStore) UpdateJobStatus(jobID string, status types.JobStatus) error {
Expand Down
21 changes: 0 additions & 21 deletions docs-src/Makefile

This file was deleted.

Binary file removed docs-src/docs/.DS_Store
Binary file not shown.
1 change: 0 additions & 1 deletion docs-src/docs/CNAME

This file was deleted.

108 changes: 0 additions & 108 deletions docs-src/docs/guides/one_off_task.md

This file was deleted.

Loading

0 comments on commit 9fd9361

Please sign in to comment.