Skip to content

Commit

Permalink
Merge branch 'main' of github.com:terramate-io/terramate into i4k-sen…
Browse files Browse the repository at this point in the history
…d-reviewers-id

Signed-off-by: i4k <[email protected]>
  • Loading branch information
i4ki committed Dec 20, 2024
2 parents 7543a08 + 218cc71 commit 7e5a8cd
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
1 change: 1 addition & 0 deletions cmd/terramate/cli/cloud.go
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ func (c *cli) newBitbucketReviewRequest(pr *bitbucket.PR) *cloud.ReviewRequest {
uniqueReviewers[participant.User.DisplayName] = cloud.Reviewer{
Login: participant.User.DisplayName,
AvatarURL: participant.User.Links.Avatar.Href,
ID: participant.User.UUID,
}
}

Expand Down
20 changes: 13 additions & 7 deletions e2etests/cloud/run_cloud_sync_preview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,7 @@ func TestCLIRunWithCloudSyncPreview(t *testing.T) {
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Author: cloud.Author{
ID: "1",
Login: "octocat",
AvatarURL: "https://github.com/images/error/octocat_happy.gif",
},
Expand Down Expand Up @@ -254,6 +255,7 @@ func TestCLIRunWithCloudSyncPreview(t *testing.T) {
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Author: cloud.Author{
ID: "1",
Login: "octocat",
AvatarURL: "https://github.com/images/error/octocat_happy.gif",
},
Expand Down Expand Up @@ -316,13 +318,17 @@ func TestCLIRunWithCloudSyncPreview(t *testing.T) {
Description: "Please pull these awesome changes in!",
URL: "https://github.com/octocat/Hello-World/pull/1347",
Labels: []cloud.Label{{Name: "bug", Color: "f29513", Description: "Something isn't working"}},
Author: cloud.Author{Login: "octocat", AvatarURL: "https://github.com/images/error/octocat_happy.gif"},
Status: "open",
CreatedAt: createdAt,
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Branch: "new-topic",
BaseBranch: "master",
Author: cloud.Author{
ID: "1",
Login: "octocat",
AvatarURL: "https://github.com/images/error/octocat_happy.gif",
},
Status: "open",
CreatedAt: createdAt,
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Branch: "new-topic",
BaseBranch: "master",
},
StackPreviews: []*cloudstore.StackPreview{
{
Expand Down
2 changes: 2 additions & 0 deletions e2etests/cloud/run_script_cloud_preview_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ func TestScriptRunWithCloudSyncPreview(t *testing.T) {
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Author: cloud.Author{
ID: "1",
Login: "octocat",
AvatarURL: "https://github.com/images/error/octocat_happy.gif",
},
Expand Down Expand Up @@ -295,6 +296,7 @@ func TestScriptRunWithCloudSyncPreview(t *testing.T) {
UpdatedAt: updatedAt,
PushedAt: &pushedAt,
Author: cloud.Author{
ID: "1",
Login: "octocat",
AvatarURL: "https://github.com/images/error/octocat_happy.gif",
},
Expand Down

0 comments on commit 7e5a8cd

Please sign in to comment.