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

fix(#19314): allow ssh/altssh subdomains in repo URLs to match webhook payload #19315

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
801aae4
allow ssh/altssh subdomains in repo URLs to match webhook payload
mtbennett-godaddy Jul 30, 2024
3f8958f
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 1, 2024
c79b60d
test nit
mtbennett-godaddy Aug 1, 2024
858d6df
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 2, 2024
7746506
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 5, 2024
cf8ce08
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 6, 2024
1948699
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 8, 2024
7c6a3ab
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 9, 2024
eb25202
wip
mtbennett-godaddy Aug 12, 2024
c4665d3
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 12, 2024
a58f88a
unify return types and allow for nil webhook
mtbennett-godaddy Aug 13, 2024
dba501e
lint fixes
mtbennett-godaddy Aug 13, 2024
40a16ce
missing import
mtbennett-godaddy Aug 13, 2024
5857b05
resolve with base and push argoCdSettings init down
mtbennett-godaddy Aug 13, 2024
e3c9acb
Merge branch 'master' of github.com:argoproj/argo-cd into allow-alt-s…
mtbennett-godaddy Aug 13, 2024
f4e0773
use numbered inputs so caller can provide regex format
mtbennett-godaddy Aug 13, 2024
30cc282
resolve with base
mtbennett-godaddy Aug 13, 2024
f9da773
resolve with base
mtbennett-godaddy Aug 13, 2024
27d62e2
resolve with base
mtbennett-godaddy Aug 13, 2024
7ba2875
tweak URL regular expressions
mtbennett-godaddy Aug 14, 2024
d04bb80
resolve with base
mtbennett-godaddy Aug 14, 2024
0937a9a
resolve with base
mtbennett-godaddy Aug 14, 2024
b433ec0
resolve with base
mtbennett-godaddy Aug 15, 2024
3917438
resolve with base
mtbennett-godaddy Aug 15, 2024
717ecac
resolve with base
mtbennett-godaddy Aug 15, 2024
259ff98
resolve with base
mtbennett-godaddy Aug 16, 2024
0f36a7d
resolve with base
mtbennett-godaddy Aug 19, 2024
fb09082
resolve with base
mtbennett-godaddy Aug 19, 2024
7369ba2
resolve with base
mtbennett-godaddy Aug 20, 2024
10909de
resolve with base
mtbennett-godaddy Aug 22, 2024
3bd6d61
resolve with base
mtbennett-godaddy Aug 22, 2024
0520145
resolve with base
mtbennett-godaddy Aug 22, 2024
d70f91f
resolve with base
mtbennett-godaddy Aug 23, 2024
601d857
resolve with base
mtbennett-godaddy Aug 23, 2024
08e0a5f
resolve with base
mtbennett-godaddy Aug 26, 2024
6208575
resolve with base
mtbennett-godaddy Aug 27, 2024
1fc1257
resolve with base
mtbennett-godaddy Aug 28, 2024
ddade23
resolve with base
mtbennett-godaddy Aug 30, 2024
ac206d3
resolve with base
mtbennett-godaddy Sep 3, 2024
735fbc3
resolve with base
mtbennett-godaddy Sep 3, 2024
f359d34
resolve with base
mtbennett-godaddy Sep 4, 2024
12e827f
resolve with base
mtbennett-godaddy Sep 5, 2024
27ef474
fix test data file indentation
mtbennett-godaddy Sep 5, 2024
046b24e
resolve with base
mtbennett-godaddy Sep 5, 2024
ae3e907
resolve with base
mtbennett-godaddy Sep 5, 2024
e9cee07
resolve with base
mtbennett-godaddy Sep 6, 2024
68309fc
resolve with base
mtbennett-godaddy Sep 9, 2024
6b55fe3
resolve with base
mtbennett-godaddy Sep 11, 2024
207dccf
resolve with base
mtbennett-godaddy Sep 12, 2024
ac143ad
resolve with base
mtbennett-godaddy Sep 20, 2024
d8438f0
resolve with base
mtbennett-godaddy Sep 23, 2024
c3396ab
resolve with base
mtbennett-godaddy Sep 24, 2024
cedbd1e
resolve with base
mtbennett-godaddy Oct 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,186 @@
{
"ref": "refs/heads/env/dev",
"before": "d5c1ffa8e294bc18c639bfb4e0df499251034414",
"after": "63738bb582c8b540af7bcfc18f87c575c3ed66e0",
"created": false,
"deleted": false,
"forced": true,
"base_ref": null,
"compare": "https://github.com/org/repo/compare/d5c1ffa8e294...63738bb582c8",
"commits": [
{
"id": "63738bb582c8b540af7bcfc18f87c575c3ed66e0",
"tree_id": "64897da445207e409ad05af93b1f349ad0a4ee19",
"distinct": true,
"message": "Add staging-argocd-demo environment",
"timestamp": "2018-05-04T15:40:02-07:00",
"url": "https://github.com/org/repo/commit/63738bb582c8b540af7bcfc18f87c575c3ed66e0",
"author": {
"name": "Jesse Suen",
"email": "[email protected]",
"username": "org"
},
"committer": {
"name": "Jesse Suen",
"email": "[email protected]",
"username": "org"
},
"added": [
"ksapps/test-app/environments/staging-argocd-demo/main.jsonnet",
"ksapps/test-app/environments/staging-argocd-demo/params.libsonnet"
],
"removed": [

],
"modified": [
"ksapps/test-app/app.yaml"
]
}
],
"head_commit": {
"id": "63738bb582c8b540af7bcfc18f87c575c3ed66e0",
"tree_id": "64897da445207e409ad05af93b1f349ad0a4ee19",
"distinct": true,
"message": "Add staging-argocd-demo environment",
"timestamp": "2018-05-04T15:40:02-07:00",
"url": "https://github.com/org/repo/commit/63738bb582c8b540af7bcfc18f87c575c3ed66e0",
"author": {
"name": "Jesse Suen",
"email": "[email protected]",
"username": "org"
},
"committer": {
"name": "Jesse Suen",
"email": "[email protected]",
"username": "org"
},
"added": [
"ksapps/test-app/environments/staging-argocd-demo/main.jsonnet",
"ksapps/test-app/environments/staging-argocd-demo/params.libsonnet"
],
"removed": [

],
"modified": [
"ksapps/test-app/app.yaml"
]
},
"repository": {
"id": 123060978,
"name": "repo",
"full_name": "org/repo",
"owner": {
"name": "org",
"email": "[email protected]",
"login": "org",
"id": 12677113,
"avatar_url": "https://avatars0.githubusercontent.com/u/12677113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/org",
"html_url": "https://github.com/org",
"followers_url": "https://api.github.com/users/org/followers",
"following_url": "https://api.github.com/users/org/following{/other_user}",
"gists_url": "https://api.github.com/users/org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/org/subscriptions",
"organizations_url": "https://api.github.com/users/org/orgs",
"repos_url": "https://api.github.com/users/org/repos",
"events_url": "https://api.github.com/users/org/events{/privacy}",
"received_events_url": "https://api.github.com/users/org/received_events",
"type": "User",
"site_admin": false
},
"private": false,
"html_url": "https://github.com/org/repo",
"description": "Test Repository",
"fork": false,
"url": "https://github.com/org/repo",
"forks_url": "https://api.github.com/repos/org/repo/forks",
"keys_url": "https://api.github.com/repos/org/repo/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/org/repo/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/org/repo/teams",
"hooks_url": "https://api.github.com/repos/org/repo/hooks",
"issue_events_url": "https://api.github.com/repos/org/repo/issues/events{/number}",
"events_url": "https://api.github.com/repos/org/repo/events",
"assignees_url": "https://api.github.com/repos/org/repo/assignees{/user}",
"branches_url": "https://api.github.com/repos/org/repo/branches{/branch}",
"tags_url": "https://api.github.com/repos/org/repo/tags",
"blobs_url": "https://api.github.com/repos/org/repo/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/org/repo/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/org/repo/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/org/repo/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/org/repo/statuses/{sha}",
"languages_url": "https://api.github.com/repos/org/repo/languages",
"stargazers_url": "https://api.github.com/repos/org/repo/stargazers",
"contributors_url": "https://api.github.com/repos/org/repo/contributors",
"subscribers_url": "https://api.github.com/repos/org/repo/subscribers",
"subscription_url": "https://api.github.com/repos/org/repo/subscription",
"commits_url": "https://api.github.com/repos/org/repo/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/org/repo/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/org/repo/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/org/repo/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/org/repo/contents/{+path}",
"compare_url": "https://api.github.com/repos/org/repo/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/org/repo/merges",
"archive_url": "https://api.github.com/repos/org/repo/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/org/repo/downloads",
"issues_url": "https://api.github.com/repos/org/repo/issues{/number}",
"pulls_url": "https://api.github.com/repos/org/repo/pulls{/number}",
"milestones_url": "https://api.github.com/repos/org/repo/milestones{/number}",
"notifications_url": "https://api.github.com/repos/org/repo/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/org/repo/labels{/name}",
"releases_url": "https://api.github.com/repos/org/repo/releases{/id}",
"deployments_url": "https://api.github.com/repos/org/repo/deployments",
"created_at": 1519698615,
"updated_at": "2018-05-04T22:37:55Z",
"pushed_at": 1525473610,
"git_url": "git://github.com/org/repo.git",
"ssh_url": "[email protected]:org/repo.git",
"clone_url": "https://github.com/org/repo.git",
"svn_url": "https://github.com/org/repo",
"homepage": null,
"size": 538,
"stargazers_count": 0,
"watchers_count": 0,
"language": null,
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"forks_count": 1,
"mirror_url": null,
"archived": false,
"open_issues_count": 0,
"license": null,
"forks": 1,
"open_issues": 0,
"watchers": 0,
"default_branch": "master",
"stargazers": 0,
"master_branch": "master"
},
"pusher": {
"name": "org",
"email": "[email protected]"
},
"sender": {
"login": "org",
"id": 12677113,
"avatar_url": "https://avatars0.githubusercontent.com/u/12677113?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/org",
"html_url": "https://github.com/org",
"followers_url": "https://api.github.com/users/org/followers",
"following_url": "https://api.github.com/users/org/following{/other_user}",
"gists_url": "https://api.github.com/users/org/gists{/gist_id}",
"starred_url": "https://api.github.com/users/org/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/org/subscriptions",
"organizations_url": "https://api.github.com/users/org/orgs",
"repos_url": "https://api.github.com/users/org/repos",
"events_url": "https://api.github.com/users/org/events{/privacy}",
"received_events_url": "https://api.github.com/users/org/received_events",
"type": "User",
"site_admin": false
}
}
Loading