Commit Graph

3253 Commits

Author SHA1 Message Date
Michael B. Gale 906dd890a5 Run java to show computed settings 2026-02-17 16:49:00 +00:00
Michael B. Gale 46473e05b7 Add more interesting Java properties 2026-02-17 15:23:21 +00:00
Michael B. Gale 32ab108bfd Move interesting JRE properties out of checkJdkSettings 2026-02-17 15:22:43 +00:00
Michael B. Gale 971592501c Consistently use "\n" to split lines, then trim extra characters if needed 2026-02-17 14:58:40 +00:00
Michael B. Gale 44a4bea367 Fixup: add missing .env 2026-02-17 13:54:22 +00:00
Michael B. Gale 11c6c18818 Only run when debugging or test mode is enabled 2026-02-17 13:44:18 +00:00
Michael B. Gale 99fcc7b2a1 Check whether value is a URL in checkEnvVar and clear credentials
Note also that we run this after `getCredentials` which already instructs Actions to mask credentials that we know about in logs
2026-02-17 13:42:51 +00:00
Michael B. Gale c1d6ee5477 Fix typos 2026-02-17 13:31:01 +00:00
Michael B. Gale ef9cfd91a8 Clear GHA JAVA_HOME_* env vars for discoverActionsJdks test 2026-02-17 13:28:56 +00:00
Michael B. Gale 4250b466b2 Wrap checkProxyEnvironment call in try/catch for good measure 2026-02-17 13:17:49 +00:00
Michael B. Gale a3d7d36aa6 Find likely JDK locations and check configurations 2026-02-17 13:17:48 +00:00
Michael B. Gale 33e2dff082 Log information about proxy-related environment variables 2026-02-17 12:38:30 +00:00
Michael B. Gale bff89dcba4 Add enum for Java-related env var names 2026-02-17 11:37:25 +00:00
Michael B. Gale ebce69a4b7 Merge pull request #3485 from github/mbg/java/network-debugging
Add feature to enable Java network debugging
2026-02-17 10:19:54 +00:00
Michael B. Gale d1689c9307 Use all 2026-02-17 09:53:49 +00:00
Michael B. Gale 147d1495e4 Merge pull request #3484 from github/mbg/cli/force-nightly
Add feature for forcing the `nightly` bundle in `dynamic` workflows
2026-02-16 22:37:31 +00:00
Michael B. Gale 3e37216660 Merge branch 'main' into mbg/java/network-debugging 2026-02-16 22:02:36 +00:00
Michael B. Gale aee29a19d7 Merge pull request #3473 from github/mbg/start-proxy/cert-gen
Improve proxy certificate generation
2026-02-16 17:19:30 +00:00
Michael B. Gale f8c75d3f32 Change diagnostic level to note 2026-02-16 17:12:12 +00:00
Michael B. Gale e315c6fd3b Add diagnostic when a nightly release is forced 2026-02-16 09:29:32 +00:00
Michael B. Gale e6a312a771 Allow addNoLanguageDiagnostic to be used without a Config 2026-02-16 09:13:06 +00:00
Michael B. Gale 73f5a29960 Complete JSDoc 2026-02-16 09:07:02 +00:00
Michael B. Gale 8b734d3bc2 Improve variable names and comments
Also set default `GITHUB_EVENT_NAME` in `setupActionsVars`
2026-02-16 08:54:19 +00:00
Michael B. Gale e21e4ca93f Add debugging options to JAVA_TOOL_OPTIONS when FF is enabled 2026-02-15 18:12:51 +00:00
Michael B. Gale 595ce2dc3e Add JavaNetworkDebugging feature 2026-02-15 18:04:48 +00:00
Michael B. Gale d5f0374a1f Force nightly bundle when FF is enabled 2026-02-15 17:22:20 +00:00
Michael B. Gale 466a4f00eb Add unit test for tools: nightly 2026-02-15 17:19:12 +00:00
Michael B. Gale 817d568ca0 Improve docs in setup-codeql 2026-02-15 16:21:03 +00:00
Michael B. Gale 34d43db4c6 Add ForceNightly feature 2026-02-15 16:10:53 +00:00
Henry Mercer 05bca54402 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-12 17:37:10 +00:00
Henry Mercer 876cecb383 Avoid requesting features in CCR 2026-02-12 16:53:19 +00:00
Henry Mercer 43b46a19be Retry API authentication errors since these can be transient 2026-02-12 16:19:04 +00:00
Michael B. Gale bc1164e014 Fix typo in test 2026-02-11 19:35:29 +00:00
Michael B. Gale 7801eda177 Add some basic unit tests 2026-02-11 19:23:35 +00:00
Michael B. Gale b1d963ed8f Gate updated cert gen behind FF 2026-02-11 19:23:10 +00:00
Michael B. Gale d636fb3f63 Move certificate code to its own file 2026-02-11 19:23:09 +00:00
Michael B. Gale d155ebf27f Set more extensions 2026-02-11 19:23:09 +00:00
Michael B. Gale e8f0116911 Explicitly sign certificate with SHA256 2026-02-11 19:23:09 +00:00
Michael B. Gale 713a293090 Set keyUsage 2026-02-11 19:23:08 +00:00
Michael B. Gale efb92e2714 Skip checks for non-URLs for now 2026-02-11 18:02:24 +00:00
Michael B. Gale 2b5b614c85 Add timeout event handler 2026-02-11 17:50:44 +00:00
Michael B. Gale 555ee17b0b Remove unused logger in NetworkReachabilityBackend 2026-02-11 17:46:33 +00:00
Michael B. Gale e114998dda Add test for missing type 2026-02-11 17:15:45 +00:00
Michael B. Gale bd36637537 Require validated Credential for credentialToStr 2026-02-11 17:13:01 +00:00
Michael B. Gale 4d0bec12bf Rename types 2026-02-11 17:10:39 +00:00
Michael B. Gale 0387f55b70 Fix outdated comment 2026-02-11 16:49:07 +00:00
Michael B. Gale 27b3b6586d Remove unnecessary test assertions 2026-02-11 16:47:57 +00:00
Michael B. Gale c4b0f60beb Remove superfluous error handling details 2026-02-10 17:15:03 +00:00
Michael B. Gale 51357000d2 Add a 5s timeout to requests 2026-02-10 17:09:49 +00:00
Michael B. Gale 4d44b570d2 Type that registries must have either an url or a host 2026-02-10 17:05:44 +00:00