Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
dc92ab6
Consider registries_credentials as input
marcogario Jul 30, 2024
3b3012e
Clean-up logging
marcogario Aug 2, 2024
e4afb79
More debugging of credentials
marcogario Aug 13, 2024
f736881
Support URL
marcogario Aug 13, 2024
1bd7fdc
Merge remote-tracking branch 'origin/main' into marcogario/proxy_64
marcogario Aug 13, 2024
5b34615
Validate credentials input
marcogario Aug 15, 2024
7baf392
fixes
marcogario Aug 15, 2024
0b84d89
Try upload teh proxy logs
marcogario Aug 15, 2024
02328f9
Update changelog and version after v3.26.3
github-actions[bot] Aug 19, 2024
d615d5c
Update checked-in dependencies
github-actions[bot] Aug 19, 2024
339aada
Merge pull request #2432 from github/mergeback/v3.26.3-to-main-883d8588
henrymercer Aug 19, 2024
512e306
Merge pull request #2404 from github/marcogario/proxy_64
aibaars Aug 20, 2024
202b3b9
Stop checking disk usage for MacOS ARM with SIP disabled (#2434)
angelapwen Aug 20, 2024
4067cda
Add deprecation message to `add-snippets` input.
rvermeulen Aug 21, 2024
ec21b8f
Update changelog with deprecation.
rvermeulen Aug 21, 2024
d7c48ef
Add link to PR deprecating `add-snippets` to CHANGELOG.md
rvermeulen Aug 21, 2024
7388c47
Merge branch 'main' into rvermeulen/deprecate-add-snippets
rvermeulen Aug 21, 2024
72bc3f7
Address incorrect changelog location
rvermeulen Aug 21, 2024
ae01f80
Merge pull request #2436 from rvermeulen/rvermeulen/deprecate-add-sni…
rvermeulen Aug 21, 2024
e354359
Update changelog for v3.26.4
github-actions[bot] Aug 21, 2024
f0f3afe
Merge main into releases/v3 (#2437)
angelapwen Aug 21, 2024
a5b0999
Revert "Update version and changelog for v2.26.3"
github-actions[bot] Aug 21, 2024
a5a1c19
Revert "Update checked-in dependencies"
github-actions[bot] Aug 21, 2024
e9925c1
Merge remote-tracking branch 'origin/releases/v3' into backport-v2.26…
github-actions[bot] Aug 21, 2024
1de3044
Update version and changelog for v2.26.4
github-actions[bot] Aug 21, 2024
4799b0f
Update checked-in dependencies
github-actions[bot] Aug 21, 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
Prev Previous commit
Next Next commit
More debugging of credentials
  • Loading branch information
marcogario committed Aug 13, 2024
commit e4afb79aebc45c535a0f858aa8deafd769dd0c0e
5 changes: 4 additions & 1 deletion lib/start-proxy-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/start-proxy-action.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion src/start-proxy-action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ export type Credential = {
token?: string;
};

function CredentialToStr(c: Credential): string {
return `Type: ${c.type}; Host: ${c.host}; Username: ${c.username}; Password: ${c.password !== undefined}; Token: ${c.token !== undefined}`
}

export type BasicAuthCredentials = {
username: string;
password: string;
Expand Down Expand Up @@ -99,7 +103,7 @@ async function runWrapper() {

// Get the configuration options
const credentials = getCredentials();
logger.debug(`Credentials loaded for the following URLs:\n ${credentials.map(c => c.host).join("\n")}`)
logger.info(`Credentials loaded for the following URLs:\n ${credentials.map(c => CredentialToStr(c)).join("\n")}`);

const ca = generateCertificateAuthority();
const proxyAuth = getProxyAuth();
Expand Down