Skip to content
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 dev environment to work on CyberArk NG laptops #1429

Merged
merged 1 commit into from
Oct 19, 2021

Conversation

diverdane
Copy link
Contributor

@diverdane diverdane commented Oct 18, 2021

What does this PR do?

On CyberArk dev laptops, golang module dependencies are downloaded with a corporate proxy in the middle. For these connections to succeed we need to configure the proxy CA certificate in build containers.

To allow build script to also work on non-CyberArk laptops where the CA certificate is not available, we copy the (potentially empty) directory into the build containers, and update container certificates based on that directory, rather than relying on the CA file itself.

What ticket does this PR close?

Checklists

Change log

  • The CHANGELOG has been updated, or
  • This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

  • This PR includes new unit and integration tests to go with the code changes, or
  • The changes in this PR do not require tests

Documentation

  • This PR does not require updating any documentation, or
  • Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs

(For releases only) Manual tests

@diverdane diverdane self-assigned this Oct 18, 2021
@diverdane diverdane requested a review from a team as a code owner October 18, 2021 22:41
On CyberArk dev laptops, golang module dependencies are downloaded with a
corporate proxy in the middle. For these connections to succeed we need to
configure the proxy CA certificate in build containers.

To allow build script to also work on non-CyberArk laptops where the CA
certificate is not available, we copy the (potentially empty) directory
into the build containers, and update container certificates based on that
directory, rather than relying on the CA file itself.
@diverdane diverdane force-pushed the adds-CA-for-NG-laptops branch from af979fe to a174440 Compare October 18, 2021 23:02
@codeclimate
Copy link

codeclimate bot commented Oct 18, 2021

Code Climate has analyzed commit a174440 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 53.6% (0.0% change).

View more on Code Climate.

Copy link
Contributor

@doodlesbykumbi doodlesbykumbi left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for working on this

@diverdane diverdane merged commit 814e216 into main Oct 19, 2021
@diverdane diverdane deleted the adds-CA-for-NG-laptops branch October 19, 2021 13:59
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.

2 participants