From 6da9282a7fa394c34a46b279117d639257fcf302 Mon Sep 17 00:00:00 2001 From: Mikey Henderson <4452096+fiddlermikey@users.noreply.github.com> Date: Wed, 31 Jan 2024 15:44:14 -0800 Subject: [PATCH] Ab#54256 fix pam (#74) * fix pam property dection ab#54256 --- .github/workflows/assign-env-from-json.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.github/workflows/assign-env-from-json.yml b/.github/workflows/assign-env-from-json.yml index ac45a88..f2ed559 100644 --- a/.github/workflows/assign-env-from-json.yml +++ b/.github/workflows/assign-env-from-json.yml @@ -67,6 +67,14 @@ jobs: input-file: 'src/integration-manifest.json' input-property: 'update_catalog' + - name: Read pam_support property + if: steps.read-type.outputs.output-value == 'orchestrator' + uses: ./tools + id: read-pam_support + with: + input-file: 'src/integration-manifest.json' + input-property: 'about.orchestrator.pam_support' + - name: Read UOFramework property if: steps.read-type.outputs.output-value == 'orchestrator' uses: ./tools @@ -76,7 +84,7 @@ jobs: input-property: 'about.orchestrator.UOFramework' - name: Read keyfactor_platform_version property - if: steps.read-type.outputs.output-value == 'orchestrator' || steps.read-type.outputs.output-value == 'pam' + if: steps.read-type.outputs.output-value == 'orchestrator' && steps.read-pam_support.outputs.output-value == 'true' uses: ./tools id: read-keyfactor_platform_version with: @@ -107,6 +115,10 @@ jobs: echo "* ${{ steps.read-update_catalog.outputs.output-property }} : ${{ steps.read-update_catalog.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY if [[ "${{ steps.read-type.outputs.output-value }}" == 'orchestrator' ]]; then echo "* ${{ steps.read-UOFramework.outputs.output-property }} : ${{ steps.read-UOFramework.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY + echo "* ${{ steps.read-pam_support.outputs.output-property }} : ${{ steps.read-pam_support.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY + if [[ "${{ steps.read-pam_support.outputs.output-value }}" == 'true' ]]; then + echo "* ${{ steps.read-keyfactor_platform_version.outputs.output-property }} : ${{ steps.read-keyfactor_platform_version.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY + fi fi echo "* ${{ steps.read-release_dir.outputs.output-property }} : ${{ steps.read-release_dir.outputs.output-value }}" >> $GITHUB_STEP_SUMMARY