Bring back hard-coded Artifactory URL

This commit is contained in:
Artem Bilan
2024-06-28 14:27:22 -04:00
parent 7a5175e949
commit b1de043bf3
4 changed files with 4 additions and 14 deletions

View File

@@ -11,14 +11,11 @@ concurrency:
group: group-snapshot-for-${{ github.ref }}
cancel-in-progress: true
env:
ARTIFACTORY_URL: ${{ secrets.COMMERCIAL_ARTIFACTORY_URL }}
jobs:
build-snapshot:
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-snapshot.yml@main
with:
artifactoryUrl: ${{ env.ARTIFACTORY_URL }}
artifactoryUrl: https://usw1.packages.broadcom.com
targetRepository: spring-enterprise-maven-dev-local
artifactoryProjectKey: spring
runner: ubuntu22-2-8

View File

@@ -13,14 +13,11 @@ on:
description: 'The Artifactory Build Number'
required: true
env:
ARTIFACTORY_URL: ${{ secrets.COMMERCIAL_ARTIFACTORY_URL }}
jobs:
distribute-release-to-spring-enterprise:
uses: spring-io/spring-github-workflows/.github/workflows/spring-enterprise-release-bundle.yml@main
with:
artifactoryUrl: ${{ env.ARTIFACTORY_URL }}
artifactoryUrl: https://usw1.packages.broadcom.com
bundleName: TNZ-${{ github.event.repository.name }}
releaseVersion: ${{ inputs.releaseVersion }}
buildName: ${{ inputs.buildName }}

View File

@@ -5,9 +5,6 @@ on:
run-name: Release current version for branch ${{ github.ref_name }}
env:
ARTIFACTORY_URL: ${{ secrets.COMMERCIAL_ARTIFACTORY_URL }}
jobs:
release:
permissions:
@@ -17,7 +14,7 @@ jobs:
uses: spring-io/spring-github-workflows/.github/workflows/spring-artifactory-gradle-release.yml@main
with:
artifactoryUrl: ${{ env.ARTIFACTORY_URL }}
artifactoryUrl: https://usw1.packages.broadcom.com
stagingRepository: spring-enterprise-maven-stage-local
targetReleaseRepository: spring-enterprise-maven-prod-local
artifactoryProjectKey: spring

View File

@@ -11,7 +11,6 @@ on:
env:
ARTIFACTORY_USERNAME: ${{ secrets.COMMERCIAL_ARTIFACTORY_USERNAME }}
ARTIFACTORY_PASSWORD: ${{ secrets.COMMERCIAL_ARTIFACTORY_PASSWORD }}
ARTIFACTORY_URL: ${{ secrets.COMMERCIAL_ARTIFACTORY_URL }}
jobs:
verify-staged-with-samples:
@@ -33,7 +32,7 @@ jobs:
printf "allprojects {
repositories {
maven {
url '$ARTIFACTORY_URL/artifactory/spring-enterprise-maven-stage-local'
url 'https://usw1.packages.broadcom.com/artifactory/spring-enterprise-maven-stage-local'
credentials {
username = '$ARTIFACTORY_USERNAME'
password = '$ARTIFACTORY_PASSWORD'