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

give eng admin test #1

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

give eng admin test #1

wants to merge 10 commits into from

Conversation

GrantBirki
Copy link
Member

No description provided.

Copy link

👋 Thanks for opening a pull request!

If you are new, please check out the trimmed down summary of the deployment process below:

  1. 🧪 Run a noop deployment with .noop as a comment on this PR

  2. 👀 Observe the CI and noop output on this pull request to ensure it is passing and doing what it is supposed to do

  3. ✔️ Obtain an approval/review on this pull request

  4. 🚀 Branch deploy your pull request to production with .deploy

    If anything goes wrong, rollback with .deploy main

  5. 🎉 Merge!

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:34:21.264Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420358128"
  },
  "git": {
    "branch": "test",
    "commit": "e5cef986524652a4ca700e6378b42c44bed9140a",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:34:05Z",
      "updated_at": "2024-12-19T20:34:05Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555724749"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ❌

GrantBirki your branch deployment of test failed to deploy to the production environment

Show Results
<%= results %>

@GrantBirki
Copy link
Member Author

.noop

Copy link

Deployment Triggered 🚀

GrantBirki, started a noop deployment to production (noop: test)

You can watch the progress here 🔗

Details
{
  "type": "noop",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:35:18.291Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420372097"
  },
  "git": {
    "branch": "test",
    "commit": "f5a69922f99c3a28b963a4762bf002d15e53b2de",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": true,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:35:05Z",
      "updated_at": "2024-12-19T20:35:05Z",
      "body": ".noop",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555726191"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully noop deployed branch test to production

Show Results
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_team_repository.repo-2 will be created
  + resource "github_team_repository" "repo-2" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

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

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:36:16.651Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420384766"
  },
  "git": {
    "branch": "test",
    "commit": "f5a69922f99c3a28b963a4762bf002d15e53b2de",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:36:01Z",
      "updated_at": "2024-12-19T20:36:01Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555727460"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
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_team_repository.repo-2 will be created
  + resource "github_team_repository" "repo-2" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

Plan: 1 to add, 0 to change, 0 to destroy.
github_team_repository.repo-2: Creating...
github_team_repository.repo-2: Creation complete after 1s [id=11801954:repo-2]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:38:10.039Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420409948"
  },
  "git": {
    "branch": "test",
    "commit": "f5a69922f99c3a28b963a4762bf002d15e53b2de",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:37:56Z",
      "updated_at": "2024-12-19T20:37:56Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555730114"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

@GrantBirki
Copy link
Member Author

.noop

Copy link

Deployment Triggered 🚀

GrantBirki, started a noop deployment to production (noop: test)

You can watch the progress here 🔗

Details
{
  "type": "noop",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:40:13.763Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420436746"
  },
  "git": {
    "branch": "test",
    "commit": "3add2361a02eb2b96b68323f1f8e15c8edf52e28",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": true,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:40:01Z",
      "updated_at": "2024-12-19T20:40:01Z",
      "body": ".noop",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555732992"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully noop deployed branch test to production

Show Results
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # github_team_repository.repo-2 will be updated in-place
  ~ resource "github_team_repository" "repo-2" {
        id         = "11801954:repo-2"
      ~ permission = "admin" -> "write"
        # (3 unchanged attributes hidden)
    }

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

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:41:24.427Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420452423"
  },
  "git": {
    "branch": "test",
    "commit": "3add2361a02eb2b96b68323f1f8e15c8edf52e28",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:41:11Z",
      "updated_at": "2024-12-19T20:41:11Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555734719"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ❌

GrantBirki your branch deployment of test failed to deploy to the production environment

Show Results
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # github_team_repository.repo-2 will be updated in-place
  ~ resource "github_team_repository" "repo-2" {
        id         = "11801954:repo-2"
      ~ permission = "admin" -> "write"
        # (3 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.
github_team_repository.repo-2: Modifying... [id=11801954:repo-2]
::error::Terraform exited with code 1.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T20:43:09.534Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12420475513"
  },
  "git": {
    "branch": "test",
    "commit": "8ccc4f26bc3f02560c1f74fe26340c97983ff7ec",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T20:42:55Z",
      "updated_at": "2024-12-19T20:42:55Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555737366"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ❌

GrantBirki your branch deployment of test failed to deploy to the production environment

Show Results
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:

  # module.repo_access.github_team_repository.repo_access["admins"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "repo-2"
      + team_id    = "admins"
    }

  # module.repo_access.github_team_repository.repo_access["engineers"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "push"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

Plan: 2 to add, 0 to change, 0 to destroy.
module.repo_access.github_team_repository.repo_access["admins"]: Creating...
module.repo_access.github_team_repository.repo_access["engineers"]: Creating...
::error::Terraform exited with code 1.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:23:12.888Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421001856"
  },
  "git": {
    "branch": "test",
    "commit": "1ce02d20481fb40450b8c0148e8b37943739cea9",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:22:57Z",
      "updated_at": "2024-12-19T21:22:57Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555797435"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ❌

GrantBirki your branch deployment of test failed to deploy to the production environment

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

Terraform planned the following actions, but then encountered a problem:

  # module.repo_access.github_team_repository.repo_access["admins"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "admin"
      + repository = "repo-2"
      + team_id    = "admins"
    }

  # module.repo_access.github_team_repository.repo_access["engineers"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "push"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

Plan: 2 to add, 0 to change, 0 to destroy.
::error::Terraform exited with code 1.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:48:22.240Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421318165"
  },
  "git": {
    "branch": "test",
    "commit": "1c3d6807ad6416a5b11c80ecb5e3e4ec7dcd78d5",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:48:04Z",
      "updated_at": "2024-12-19T21:48:04Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555830685"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

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

Terraform will perform the following actions:

  # github_team_repository.repo-1 will be destroyed
  # (because github_team_repository.repo-1 is not in configuration)
  - resource "github_team_repository" "repo-1" {
      - etag       = "W/\"08ab988118273d01e14156f27dd7856a3295ab10d47e4c8b505de9f2db136568\"" -> null
      - id         = "11801954:repo-1" -> null
      - permission = "pull" -> null
      - repository = "repo-1" -> null
      - team_id    = "engineers" -> null
    }

  # github_team_repository.repo_access["repo-1"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "pull"
      + repository = "repo-1"
      + team_id    = "engineers"
    }

Plan: 1 to add, 0 to change, 1 to destroy.
github_team_repository.repo-1: Destroying... [id=11801954:repo-1]
github_team_repository.repo_access["repo-1"]: Creating...
github_team_repository.repo-1: Destruction complete after 1s
github_team_repository.repo_access["repo-1"]: Creation complete after 3s [id=11801954:repo-1]
Releasing state lock. This may take a few moments...

Apply complete! Resources: 1 added, 0 changed, 1 destroyed.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:50:03.745Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421339391"
  },
  "git": {
    "branch": "test",
    "commit": "50cb132db5ad0b19d554d6a8a71fa11654da541f",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:49:48Z",
      "updated_at": "2024-12-19T21:49:48Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555832845"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
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_team_repository.repo_access["repo-2"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "pull"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

Plan: 1 to add, 0 to change, 0 to destroy.
github_team_repository.repo_access["repo-2"]: Creating...
github_team_repository.repo_access["repo-2"]: Creation complete after 2s [id=11801954:repo-2]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:51:10.970Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421352481"
  },
  "git": {
    "branch": "test",
    "commit": "50cb132db5ad0b19d554d6a8a71fa11654da541f",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:50:56Z",
      "updated_at": "2024-12-19T21:50:56Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555834389"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
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_team_repository.repo_access["repo-2"] will be created
  + resource "github_team_repository" "repo_access" {
      + etag       = (known after apply)
      + id         = (known after apply)
      + permission = "pull"
      + repository = "repo-2"
      + team_id    = "engineers"
    }

Plan: 1 to add, 0 to change, 0 to destroy.
github_team_repository.repo_access["repo-2"]: Creating...
github_team_repository.repo_access["repo-2"]: Creation complete after 1s [id=11801954:repo-2]

Apply complete! Resources: 1 added, 0 changed, 0 destroyed.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:55:50.994Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421405334"
  },
  "git": {
    "branch": "test",
    "commit": "50cb132db5ad0b19d554d6a8a71fa11654da541f",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:55:32Z",
      "updated_at": "2024-12-19T21:55:32Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555840575"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

@GrantBirki
Copy link
Member Author

.deploy

Copy link

Deployment Triggered 🚀

GrantBirki, started a branch deployment to production (branch: test)

You can watch the progress here 🔗

Details
{
  "type": "branch",
  "environment": {
    "name": "production",
    "url": null
  },
  "deployment": {
    "timestamp": "2024-12-19T21:57:15.736Z",
    "logs": "https://github.com/birki-sandbox/repo-access/actions/runs/12421421048"
  },
  "git": {
    "branch": "test",
    "commit": "50cb132db5ad0b19d554d6a8a71fa11654da541f",
    "verified": true
  },
  "context": {
    "actor": "GrantBirki",
    "noop": false,
    "fork": false,
    "comment": {
      "created_at": "2024-12-19T21:56:59Z",
      "updated_at": "2024-12-19T21:56:59Z",
      "body": ".deploy",
      "html_url": "https://github.com/birki-sandbox/repo-access/pull/1#issuecomment-2555842293"
    }
  },
  "parameters": {
    "raw": null,
    "parsed": null
  }
}

Copy link

Deployment Results ✅

GrantBirki successfully branch deployed branch test to production

Show Results
No changes. Your infrastructure matches the configuration.

Terraform has compared your real infrastructure against your configuration
and found no differences, so no changes are needed.

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

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