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

Create new go-test repo #208

Merged
merged 2 commits into from
Jun 26, 2024
Merged

Create new go-test repo #208

merged 2 commits into from
Jun 26, 2024

Conversation

gammazero
Copy link
Contributor

Summary

Create new go-test repo.

Why do you need this?

Contains test utility code that is common across multiple projects. The repo provides a place to put common (not project specific) test code to make it easier to find and reuse.

What else do we need to know?

Since this is a new repo, it would be good for maintainers to bypass requiring reviews before merging as there will likely be frequent additions early on.

Reviewer's Checklist

  • It is clear where the request is coming from (if unsure, ask)
  • All the automated checks passed
  • The YAML changes reflect the summary of the request
  • The Terraform plan posted as a comment reflects the summary of the request

Contains test utility code that is common across multiple projects.
@gammazero gammazero requested review from a team as code owners June 26, 2024 15:56
@gammazero gammazero requested a review from galargh June 26, 2024 15:56
Copy link
Contributor

The following access changes will be introduced as a result of applying the plan:

Access Changes
User 2color:
  - will gain admin permission to go-test
User achingbrain:
  - will gain admin permission to go-test
User alanshaw:
  - will gain admin permission to go-test
User arajasek:
  - will gain admin permission to go-test
User aschmahmann:
  - will gain admin permission to go-test
User biglep:
  - will gain admin permission to go-test
User daviddias:
  - will gain admin permission to go-test
User galargh:
  - will gain admin permission to go-test
User gammazero:
  - will gain admin permission to go-test
User guillaumemichel:
  - will gain admin permission to go-test
User hsanjuan:
  - will gain admin permission to go-test
User jbenet:
  - will gain admin permission to go-test
User jorropo:
  - will gain admin permission to go-test
User kubuxu:
  - will gain admin permission to go-test
User laurentsenta:
  - will gain admin permission to go-test
User lidel:
  - will gain admin permission to go-test
User marcopolo:
  - will gain admin permission to go-test
User marten-seemann:
  - will gain admin permission to go-test
User mishmosh:
  - will gain pull permission to go-test
User momack2:
  - will gain admin permission to go-test
User olizilla:
  - will gain admin permission to go-test
User sgtpooki:
  - will gain admin permission to go-test
User stebalien:
  - will gain admin permission to go-test
User web3-bot:
  - will gain push permission to go-test
User whyrusleeping:
  - will gain admin permission to go-test
User willscott:
  - will gain pull permission to go-test

Copy link
Contributor

Before merge, verify that all the following plans are correct. They will be applied as-is after the merge.

Terraform plans

ipfs

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  + create

Terraform will perform the following actions:

  # github_branch_protection.this["go-test:main"] will be created
  + resource "github_branch_protection" "this" {
      + allows_deletions                = false
      + allows_force_pushes             = false
      + blocks_creations                = false
      + enforce_admins                  = false
      + id                              = (known after apply)
      + lock_branch                     = false
      + pattern                         = "main"
      + repository_id                   = (known after apply)
      + require_conversation_resolution = false
      + require_signed_commits          = false
      + required_linear_history         = false

      + required_pull_request_reviews {
          + dismiss_stale_reviews           = false
          + require_code_owner_reviews      = false
          + require_last_push_approval      = false
          + required_approving_review_count = 0
          + restrict_dismissals             = false
        }

      + required_status_checks {
          + contexts = [
              + "go-check / All",
              + "go-test / ubuntu (go this)",
            ]
          + strict   = false
        }
    }

  # github_repository.this["go-test"] will be created
  + resource "github_repository" "this" {
      + allow_auto_merge            = false
      + allow_merge_commit          = true
      + allow_rebase_merge          = true
      + allow_squash_merge          = true
      + allow_update_branch         = false
      + archived                    = false
      + default_branch              = "main"
      + delete_branch_on_merge      = true
      + description                 = ":test_tube: Testing utilty library"
      + etag                        = (known after apply)
      + full_name                   = (known after apply)
      + git_clone_url               = (known after apply)
      + has_discussions             = false
      + html_url                    = (known after apply)
      + http_clone_url              = (known after apply)
      + id                          = (known after apply)
      + merge_commit_message        = "PR_TITLE"
      + merge_commit_title          = "MERGE_MESSAGE"
      + name                        = "go-test"
      + node_id                     = (known after apply)
      + private                     = (known after apply)
      + repo_id                     = (known after apply)
      + squash_merge_commit_message = "COMMIT_MESSAGES"
      + squash_merge_commit_title   = "COMMIT_OR_PR_TITLE"
      + ssh_clone_url               = (known after apply)
      + svn_url                     = (known after apply)
      + topics                      = [
          + "testing",
        ]
      + visibility                  = "public"

      + security_and_analysis {

          + secret_scanning {
              + status = "enabled"
            }

          + secret_scanning_push_protection {
              + status = "enabled"
            }
        }
    }

  # github_repository_collaborator.this["go-test:web3-bot"] will be created
  + resource "github_repository_collaborator" "this" {
      + id                          = (known after apply)
      + invitation_id               = (known after apply)
      + permission                  = "push"
      + permission_diff_suppression = false
      + repository                  = "go-test"
      + username                    = "web3-bot"
    }

  # github_repository_file.this["go-test/.github/workflows/stale.yml"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "main"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update .github/workflows/stale.yml [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            name: Close and mark stale issue
            
            on:
              schedule:
                - cron: '0 0 * * *'
            
            permissions:
              issues: write
              pull-requests: write
            
            jobs:
              stale:
                uses: pl-strflt/.github/.github/workflows/[email protected]
        EOT
      + file                = ".github/workflows/stale.yml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "go-test"
      + sha                 = (known after apply)
    }

  # github_repository_file.this["ipfs-camp-2024/.github/workflows/stale.yml"] will be created
  + resource "github_repository_file" "this" {
      + branch              = "master"
      + commit_author       = "GitHub"
      + commit_email        = "[email protected]"
      + commit_message      = "chore: Update .github/workflows/stale.yml [skip ci]"
      + commit_sha          = (known after apply)
      + content             = <<-EOT
            name: Close and mark stale issue
            
            on:
              schedule:
                - cron: '0 0 * * *'
            
            permissions:
              issues: write
              pull-requests: write
            
            jobs:
              stale:
                uses: pl-strflt/.github/.github/workflows/[email protected]
        EOT
      + file                = ".github/workflows/stale.yml"
      + id                  = (known after apply)
      + overwrite_on_create = true
      + ref                 = (known after apply)
      + repository          = "ipfs-camp-2024"
      + sha                 = (known after apply)
    }

  # github_team_repository.this["admin:go-test"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "go-test"
      + team_id    = "1516991"
    }

  # github_team_repository.this["github-mgmt stewards:go-test"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "pull"
      + repository = "go-test"
      + team_id    = "6421993"
    }

  # github_team_repository.this["ipdx:go-test"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "go-test"
      + team_id    = "6349983"
    }

  # github_team_repository.this["kubo maintainers:go-test"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "go-test"
      + team_id    = "6744049"
    }

  # github_team_repository.this["w3dt-stewards:go-test"] will be created
  + resource "github_team_repository" "this" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "go-test"
      + team_id    = "4656983"
    }

Plan: 10 to add, 0 to change, 0 to destroy.

@aschmahmann aschmahmann merged commit 352caf7 into ipfs:master Jun 26, 2024
6 checks passed
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.

3 participants