Skip to content

Hydra is now using Go 1.6 vendoring and is deployable to heroku#56

Merged
aeneasr merged 9 commits intomasterfrom
heroku
Mar 11, 2016
Merged

Hydra is now using Go 1.6 vendoring and is deployable to heroku#56
aeneasr merged 9 commits intomasterfrom
heroku

Conversation

@aeneasr
Copy link
Copy Markdown
Member

@aeneasr aeneasr commented Feb 20, 2016

This PR introduces the following BC breaks:

  • JWT_PUBLIC_KEY_PATH is now JWT_PUBLIC_KEY.
  • JWT_PRIVATE_KEY_PATH is now JWT_PRIVATE_KEY.
  • TLS_CERT_PATH is now TLS_CERT.
  • TLS_KEY_PATH is now TLS_KEY_PATH.

In all cases, it is now possible to pass the certificate directly as value, instead as a path. Hydra first checks if the given value is a path and if the file exists. If not, it tries to parse the value as the corresponding key.

Additionally, dependencies have been freezed which might cause issues when running go test ./... (see issue go#11659, go#14417). As a workaround you can run go <cmd> -t $(go list ./... | grep -v /vendor/) for now where cmd can be test, install and so on. I do not have a solution workaround for Windows.

Having multiple executables and no executables in the root directory requires us to use godep save ./cli/... and not godep save ./... as the second one will destroy the build.

ping @leetal

@aeneasr aeneasr temporarily deployed to hydra-flitt-net February 21, 2016 18:12 Inactive
aeneasr pushed a commit that referenced this pull request Mar 11, 2016
Hydra is now using Go 1.6 vendoring and is deployable to heroku
@aeneasr aeneasr merged commit ab1cc81 into master Mar 11, 2016
@aeneasr aeneasr deleted the heroku branch March 22, 2016 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant