Skip to content

Commit

Permalink
Ab#54256 fix pam (#74)
Browse files Browse the repository at this point in the history
* fix pam property dection ab#54256
  • Loading branch information
fiddlermikey authored Jan 31, 2024
1 parent 13057b6 commit 6da9282
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/assign-env-from-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6da9282

Please sign in to comment.