Skip to content

Commit

Permalink
Update pr.yaml
Browse files Browse the repository at this point in the history
Add integration for test licenses, save them in local files and export file paths to env vars.
  • Loading branch information
alexhung authored Jan 3, 2024
1 parent cc1af12 commit a4121f3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .jfrog-pipelines/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pipelines:
- name: partnership_slack
- name: partnership_github
- name: partnership_rt_cluster_license
- name: partnership_rt_test_licenses
inputResources:
- name: terraform_provider_platform
environmentVariables:
Expand Down Expand Up @@ -84,6 +85,10 @@ pipelines:
- cat sample.tf
- echo "Save RT licenses from the variable to the license file"
- echo ${int_partnership_rt_cluster_license_5licenses} > scripts/artifactory.lic
- echo ${int_partnership_rt_test_licenses_1} > scripts/artifactory_test_1.lic
- export JFROG_LICENSE_PATH_1=${res_terraform_provider_platform_resourcePath}/scripts/artifactory_test_1.lic
- echo ${int_partnership_rt_test_licenses_2} > scripts/artifactory_test_2.lic
- export JFROG_LICENSE_PATH_2=${res_terraform_provider_platform_resourcePath}/scripts/artifactory_test_2.lic
- echo "Set Artifactory version, run RT in a container"
- >-
if [[ ${USE_LATEST_RT_VERSION} == "true" ]]; then
Expand Down

0 comments on commit a4121f3

Please sign in to comment.