Skip to content
This repository has been archived by the owner on Sep 21, 2020. It is now read-only.

Upgrade Helm and other exekube bits #30

Merged
merged 6 commits into from
Dec 18, 2018

Conversation

stepanstipl
Copy link

@stepanstipl stepanstipl commented Dec 17, 2018

This PR:

Depends on gpii-ops/gpii-infra#242

Includes fixes to build and run `google-cloud-monitoring` and `-logging`
gems, which depend on `grpc` and `protobuf` and their native extensions
(see  protocolbuffers/protobuf#4460,
protocolbuffers/protobuf#2335,
gliderlabs/docker-alpine#424,
grpc/grpc#6525 for details)
This prevents lot of `.terragrung-cache` dirs in local environments and
some issues after upgrading Terraform provider versions.
@stepanstipl stepanstipl self-assigned this Dec 17, 2018
Copy link

@mrtyler mrtyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

ENV TERRAFORM_PROVIDER_HELM_VERSION 0.6.2
ENV TERRAFORM_PROVIDER_ALICLOUD_VERSION 1.9.1
# Terragrun tcache directory
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misplaced space

ENV TERRAFORM_PROVIDER_HELM_VERSION 0.6.2
# Terragrun tcache directory
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misplaced space

ENV TERRAFORM_PROVIDER_HELM_VERSION 0.6.2
ENV GOOGLE_CLOUD_MONITORING_VERSION 0.29.2
ENV GOOGLE_CLOUD_LOGGING_VERSION 1.5.7
# Terragrun tcache directory
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Misplaced space

@@ -52,6 +54,9 @@ RUN apk --no-cache add \
g++ \
make \
ruby-dev && \
# Following is needed for various native exptension issues on Alpine with protobuf and grpc plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extension

@@ -52,6 +54,9 @@ RUN apk --no-cache add \
g++ \
make \
ruby-dev && \
# Following is needed for various native exptension issues on Alpine with protobuf and grpc plugins
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a little vague, so I might link to the most relevant issue(s) here, or back to the description of this PR.

Copy link
Author

@stepanstipl stepanstipl Dec 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. So there are like 4 different issues I've hit and each of them requires some part of the fix and if not present. will lead to a different issue(s):

  • doing the system gem update
  • explicitly installing google-protobuf with ruby platfotm
  • same for grpc and it's dependency etc
  • pinning down the protobuf version at 3.6.1

I think thiat is a bit too long to explain in the code. All of the issue(s) are referenced in the commit message (as well as in the PR description), so I'll remove the comment here (I agree it's not very useful).

@natarajaya
Copy link

Please fix typos and then LGTM.

@stepanstipl
Copy link
Author

Thanks for reviews @mrtyler and @natarajaya - I've fixed the typos and removed the comment from the code (detailed commit message contains references to the relevant issues).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants