Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .github/workflows/test-build-number.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ jobs:
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- uses: ./config-npm
with:
repox-url: https://repox.jfrog.io
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
version: 2026.6.14
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-shell-scripts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
with:
fetch-depth: 0
- uses: ./config-npm
with:
repox-url: https://repox.jfrog.io
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
version: 2026.6.14
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test-update-release-channel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
[[ "${{ steps.urc.outputs.version-url }}" == "https://binaries.sonarsource.com/Distribution/test-fixture/stable.version" ]]
[[ "${{ steps.urc.outputs.version }}" == "0.0.0-test" ]]
- uses: ./config-npm
with:
repox-url: https://repox.jfrog.io
- uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
version: 2026.6.14
Expand Down
40 changes: 23 additions & 17 deletions README.md

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions build-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ inputs:
for public repositories.
default: ''
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
use-develocity:
description: Whether to use Develocity for build tracking.
default: 'false'
Expand Down
5 changes: 3 additions & 2 deletions build-maven/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ inputs:
description: Maven flags for all subsequent mvn calls
default: --batch-mode --no-transfer-progress --errors --fail-at-end --show-version -Dmaven.test.redirectTestOutputToFile=false
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
use-develocity:
description: Whether to use Develocity for build tracking.
default: 'false'
Expand Down
5 changes: 3 additions & 2 deletions build-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ inputs:
description: Deprecated. Use `disable-caching` instead. Whether to cache NPM dependencies.
default: 'true'
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
sonar-platform:
description: SonarQube primary platform (next, sqc-eu, sqc-us, or none). Use 'none' to skip sonar scans.
default: next
Expand Down
5 changes: 3 additions & 2 deletions build-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ inputs:
description: Path to the Poetry cache directory, relative to GitHub workspace.
default: .cache/pypoetry
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
sonar-platform:
description: SonarQube primary platform (next, sqc-eu, sqc-us, or none). Use 'none' to skip sonar scans.
default: next
Expand Down
11 changes: 6 additions & 5 deletions build-yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ inputs:
description: Deprecated. Use `disable-caching` instead. Whether to cache Yarn dependencies.
default: 'true'
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
sonar-platform:
description: SonarQube primary platform (next, sqc-eu, sqc-us, or none). Use 'none' to skip sonar scans.
default: next
Expand Down Expand Up @@ -133,10 +134,10 @@ runs:
id: artifactory
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length
- uses: SonarSource/vault-action-wrapper@881045d830534a70ec3c7c275fa3714412c8ff6e # 3.6.1
if: inputs.deploy != 'false' && inputs.run-shadow-scans != 'true'
Expand Down
11 changes: 6 additions & 5 deletions config-gradle/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ inputs:
and `public-reader` for public repositories.
default: ''
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
use-develocity:
description: Whether to use Develocity for build tracking.
default: 'false'
Expand Down Expand Up @@ -95,10 +96,10 @@ runs:
id: artifactory
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length
- uses: SonarSource/vault-action-wrapper@881045d830534a70ec3c7c275fa3714412c8ff6e # 3.6.1
if: steps.config-gradle-completed.outputs.skip != 'true' && inputs.use-develocity == 'true'
Expand Down
11 changes: 6 additions & 5 deletions config-maven/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ inputs:
description: Maven flags for all subsequent mvn calls
default: --batch-mode --no-transfer-progress --errors --fail-at-end --show-version -Dmaven.test.redirectTestOutputToFile=false
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
use-develocity:
description: Whether to use Develocity for build tracking.
default: 'false'
Expand Down Expand Up @@ -96,10 +97,10 @@ runs:
id: artifactory
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length
- uses: SonarSource/vault-action-wrapper@881045d830534a70ec3c7c275fa3714412c8ff6e # 3.6.1
if: steps.config-maven-completed.outputs.skip != 'true' && inputs.use-develocity == 'true'
Expand Down
11 changes: 6 additions & 5 deletions config-npm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ inputs:
description: Deprecated. Use `disable-caching` instead. Whether to cache NPM dependencies.
default: 'true'
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
host-actions-root:
description: Path to the actions folder on the host (used when called from another local action)
default: ''
Expand Down Expand Up @@ -94,10 +95,10 @@ runs:
id: secrets
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length

- name: Configure NPM authentication
Expand Down
11 changes: 6 additions & 5 deletions config-nuget/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ inputs:
for public repositories.
default: ''
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build

runs:
using: composite
Expand All @@ -30,10 +31,10 @@ runs:
id: secrets
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length

- name: Configure NuGet
Expand Down
11 changes: 6 additions & 5 deletions config-pip/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ inputs:
for public repositories.
default: ''
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
cache-paths:
description: Cache paths to use (multiline).
default: ~/.cache/pip
Expand Down Expand Up @@ -76,10 +77,10 @@ runs:
id: secrets
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length

- name: Set environment variables for Artifactory authentication
Expand Down
11 changes: 6 additions & 5 deletions config-poetry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ inputs:
description: PyPI virtual repository to resolve dependencies from
default: sonarsource-pypi
repox-url:
description: URL for Repox used to resolve dependencies. Use https://repox-internal.dev.sonar.build for the JFrog Edge.
default: https://repox.jfrog.io
description: URL for Repox used to resolve dependencies. Defaults to the production JFrog Edge.
Use https://repox.jfrog.io for SaaS or https://repox-internal.dev.sonar.build for the dev Edge.
default: https://repox-internal.sonar.build
poetry-virtualenvs-path:
description: Path to the Poetry virtual environments, relative to GitHub workspace. The folder is cached only if it is a subdirectory of
`poetry-cache-dir`.
Expand Down Expand Up @@ -119,10 +120,10 @@ runs:
id: secrets
with:
# yamllint disable rule:line-length
url: ${{ contains(inputs.repox-url, 'jfrog.io') && 'https://vault.sonar.build' || 'https://vault.dev.sonar.build' }}
url: https://vault.sonar.build
secrets: |
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || 'artifactory-edge-dev' }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} username | ARTIFACTORY_USERNAME;
development/${{ contains(inputs.repox-url, 'jfrog.io') && 'artifactory' || (contains(inputs.repox-url, '.dev.sonar.build') && 'artifactory-edge-dev' || 'artifactory-edge-prod') }}/token/{REPO_OWNER_NAME_DASH}-${{ env.ARTIFACTORY_READER_ROLE }} access_token | ARTIFACTORY_ACCESS_TOKEN;
# yamllint enable rule:line-length

- name: Configure Poetry authentication
Expand Down
Loading
Loading