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

support for test infrastructure in private subnets #1698

Merged
merged 3 commits into from
Oct 24, 2022

Conversation

cnfait
Copy link
Contributor

@cnfait cnfait commented Oct 20, 2022

Feature or Bugfix

  • Refactoring
  • Bugfix (cfn-nag workflow)

Detail

  • Add the ability to run the test infrastructure without public IPs/domains (i.e. in VPC's private subnets)

  • network can be set to public, else it defaults to private infrastructure

  • The Glue connection subnet is always private ("No public IP addresses are assigned")

  • The Redshift cluster subnet group was retained on stack deletion, added removal policy to destroy it instead

  • regenerate poetry.lock following poetry 1.2.2 update

  • our cfn-nag github workflow wasn't working reliably, I fixed it as part of this PR:

    • poetry installation through pip bugged out, the preferred method for install works fine so it is used now
    • poetry 1.2+ doesn't like ubuntu's way of naming python packages (which is not PEP-440 compliant), working in a virtual environment avoids these kind of issues

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@cnfait cnfait self-assigned this Oct 20, 2022
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 5294889
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@cnfait cnfait force-pushed the private-test-infra branch 2 times, most recently from ccd26f7 to 3a4b496 Compare October 20, 2022 16:04
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: ccd26f7
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 3a4b496
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@cnfait cnfait force-pushed the private-test-infra branch 2 times, most recently from 0e43c60 to 2e601ed Compare October 21, 2022 05:24
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: b42cac3
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@cnfait cnfait force-pushed the private-test-infra branch 3 times, most recently from d81cc4a to 06e6c48 Compare October 21, 2022 05:43
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 120f67f
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 09ae2da
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 90e7cf2
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: b9da28a
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@cnfait cnfait force-pushed the private-test-infra branch 2 times, most recently from 885abb8 to 18825b6 Compare October 21, 2022 07:39
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 885abb8
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@cnfait cnfait marked this pull request as ready for review October 21, 2022 07:51
@cnfait cnfait added dependencies Pull requests that update a dependency file workflows Related to Github Actions labels Oct 21, 2022
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 87f3804
  • Result: FAILED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

poetry installation through pip bugged out, using the preferred method for install instead
poetry 1.2+ doesn't like ubuntu's way of naming python packages (which is not PEP-440 compliant), work in a virtual env instead
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 9505f5f
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Copy link
Contributor

@malachi-constant malachi-constant left a comment

Choose a reason for hiding this comment

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

LGTM !

@malachi-constant malachi-constant merged commit be0bbe4 into main Oct 24, 2022
@malachi-constant malachi-constant deleted the private-test-infra branch October 24, 2022 15:55
@malachi-constant
Copy link
Contributor

AWS CodeBuild CI Report

  • CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
  • Commit ID: 73556b0
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@kukushking kukushking added this to the 2.18.0 milestone Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file workflows Related to Github Actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants