Commit Graph
9876 Commits
Author SHA1 Message Date
Dominion 0726a4840e Move Message.cs to the correct folder 2023-04-30 09:40:09 -04:00
Dominion d91139caff Improvements to GitHubClientFactory
- Add caching, and logging (useful for rate limit prediction).
2023-04-30 09:32:27 -04:00
Dominion 3d8a26edda Minor API documentation update 2023-04-30 08:59:17 -04:00
Dominion 066c38c87b Improved logging for ServerUpdater.BeginUpdate 2023-04-30 08:06:42 -04:00
Dominion 0ef83b872b Improve logging for swarm update test 2023-04-29 22:59:46 -04:00
Dominion 677e358100 Fix swarm node logging not working correctly 2023-04-29 22:59:10 -04:00
tgstation-server 74136c6399 Merge branch 'master' into dev 2023-04-30 02:20:00 +00:00
Jordan DominionandGitHub 2e707616de Merge pull request #1481 from tgstation/CorrectingCodeCoverage
Ignore migrations when tracking code coverage
2023-04-29 22:18:12 -04:00
Dominion d3f21f8658 Ignore migrations when tracking code coverage
This is gonna hurt...
2023-04-29 18:53:13 -04:00
tgstation-server 90e13cb6d6 Merge branch 'master' into dev 2023-04-29 22:51:24 +00:00
Jordan DominionandGitHub 04766ed36f Merge pull request #1479 from tgstation/FinalFix
Correct CI concurrency group name
2023-04-29 18:47:31 -04:00
Dominion ec2e4be6e3 Merge branch 'dev' of https://github.com/tgstation/tgstation-server into 1458-AddMapThreadsParam 2023-04-29 18:04:33 -04:00
Dominion 1b96b7036c Correct CI concurrency group name 2023-04-29 17:59:08 -04:00
tgstation-server 3d8abe89ed Merge branch 'master' into dev 2023-04-29 21:52:29 +00:00
Jordan DominionandGitHub a76c66bde5 Merge pull request #1478 from tgstation/FinalFix
Do not trigger CI when labelling a closed PR
2023-04-29 17:51:02 -04:00
Dominion 34f59d815d Allow auto-approve workflow to work if I PR from my fork 2023-04-29 17:19:09 -04:00
Dominion 3b4cfe18cf Do not trigger CI when labelling a closed PR 2023-04-29 17:13:20 -04:00
Jordan DominionandGitHub 344d7c2a7f Merge pull request #1475 from tgstation/MoreCIImprovements [NugetDeploy]
More CI Improvements
2023-04-29 16:37:01 -04:00
Dominion 746e79fed0 Do not run pull_request_target if the CI gate was skipped! 2023-04-29 16:34:53 -04:00
Dominion 96d3269836 Fix using without await 2023-04-29 16:18:41 -04:00
Dominion adbc603c80 Fix always() always never respecting a goddamn cancel command! 2023-04-29 16:04:10 -04:00
Dominion bff25c7d5b Do not trigger on pull_request:labeled 2023-04-29 15:49:25 -04:00
Dominion 63e00fd011 Fix security-checkpoint job again 2023-04-29 15:34:27 -04:00
Dominion 5226a70445 Use a custom token for live tests
GitHub Actions has a 5x less rate limit than a personal access token. Use it as little as possible
2023-04-29 15:23:33 -04:00
Dominion 4793012413 Test resistance to rate limit issues
- Unsealed ApiClient to allow tests to override with rate limit aware client that waits for rate limits to clear.
- Allowed injecting into ServerClientFactory's static ApiClientFactory.
- Use Octokit provided function for calculating retry delays.
- Fixed a rogue newline semicolon.
- Moved downgrade migrations test out of live tests.
- Admin tests now check for V5 releases.
- Fixed not disposing a StringContent in ApiClient.
- Bump client patch version.
- Added missing .ConfigureAwait(false) to async ApiClient call.
2023-04-29 15:14:22 -04:00
tgstation-server e7bff1cf33 Merge branch 'master' into dev 2023-04-29 18:10:06 +00:00
Dominion 163a40f4be Fail the auto approve workflow if the GitHub API call fails 2023-04-29 14:08:50 -04:00
tgstation-server aa55445184 Merge branch 'master' into dev 2023-04-29 17:38:02 +00:00
Dominion b593cb05ee The pull request is in the event 2023-04-29 13:33:44 -04:00
Dominion 1b49cad43c Dump the GitHub context properly 2023-04-29 13:05:12 -04:00
Dominion 886e28768c Dump the GitHub context for debugging purposes. 2023-04-29 13:01:17 -04:00
tgstation-server 49c092ba9e Merge branch 'master' into dev 2023-04-29 16:56:04 +00:00
Jordan DominionandGitHub e02dd3d986 Merge pull request #1470 from Cyberboss/SampleForkBranch2
Fix for duplicate jobs on forked pull request
2023-04-29 12:52:32 -04:00
Dominion 125a7cc20c Fix for duplicate jobs on forked pull request 2023-04-29 12:42:58 -04:00
tgstation-server 7286fb4495 Merge branch 'master' into dev 2023-04-29 16:33:45 +00:00
Jordan DominionandGitHub c09cf65766 Merge pull request #1468 from tgstation/1107-ExperimentingWithPullRequestTarget
Allow CI to run with repo secrets on pull requests after maintainer approval
2023-04-29 12:32:08 -04:00
Dominion 2aeeff9303 Workaround for GitHub runner bug
https://github.com/actions/runner/issues/2205

Also fixes ordering of TGS deploy dependencies. The graph is honestly better this way.
2023-04-29 12:03:29 -04:00
Dominion b96b1cfc0d I think the last job might have gotten cancelled because pull_request_target ran simultaneously? 2023-04-29 11:53:35 -04:00
Dominion ab9506895a Fix typo and incorrect conditional in start-ci-run-gate if expression. 2023-04-29 11:49:54 -04:00
Dominion 7aaa1619b8 Actions doesn't like ternery expressions 2023-04-29 11:39:17 -04:00
Dominion 1f073e6ca4 Fix start-ci-run-gate having no steps 2023-04-29 11:37:11 -04:00
Dominion 3eee1a2b03 Fix job self-dependency 2023-04-29 11:35:32 -04:00
Dominion 6957ccba26 Use standard pull_request event when working in the same repo 2023-04-29 11:34:12 -04:00
Dominion 6cb1de0f7b CI Overhaul
- Switched from `pull_request` to `pull_request_target`, explicitly checking out the PR code.
- Added security-checkpoint job that will fail on pull requests from forks.
- Added concurrency limiter.
- Added missing live tests filter.
- Fixed bad indentation.

Fixes #1107
2023-04-29 11:12:47 -04:00
Dominion 0813b225e6 Minor corrections to Master Merge workflow 2023-04-29 09:45:08 -04:00
Jordan DominionandGitHub 6b0a412e71 Merge branch 'dev' into 1458-AddMapThreadsParam 2023-04-29 09:18:20 -04:00
tgstation-server dddea51010 Merge branch 'master' into dev 2023-04-29 13:17:11 +00:00
Jordan DominionandGitHub af195fd281 Merge pull request #1465 from tgstation/Cyberboss-patch-2
Remove colon from README title
2023-04-29 08:21:32 -04:00
Jordan Dominion bb65146508 Create auto-approve-dominions-prs.yml
Because no one else maintains this project but me :(
2023-04-29 07:52:36 -04:00
Jordan DominionandGitHub c19b52038d Remove colon from README title 2023-04-28 23:34:40 -04:00