adobe/aem-project-archetype

AIO SSR Actions not getting deployed with install phase

abecaleb opened this issue · 0 comments

When trying to deploy SSR with io runtime, the install phase is not deploying the actions[1], only when we change the phase to generate-resources it deploys the actions[2].

From the archetype, install phase comes by default. We are having to change this behaviour to get the actions deployed.

Expected Behaviour

SSR actions are deployed with install phase. As this is what is provided from the archetype.

Actual Behaviour

SSR actions deployed with generated-resources phase and don't get deployed with install phase.

Reproduce Scenario (including but not limited to)

  1. Create fresh AEM archetype project with SSR enabled via Maven.
  2. Keep the ui.frontend/pom.xml, same as what comes with the archetype. With install phase when deploying SSR.[1]
  3. Run cloud pipeline to deploy to env.
  4. Notice, SSR actions do not get deployed. Verify, using aio commands to see latest updated actions.
  5. Now, change the phase, to generate-resources[2].
  6. Deploy the build using pipelines to the cloud env.
  7. Verify the latest SSR actions are deployed.
    command: wsk action get /<namespace>/<package>/<action>

Steps to Reproduce

Platform and Version

AEM Archetype Version 39
Node v14.21.1
NPM 6.14.17
Version - 2023.7.12874.20230726T072051Z-230702

1
2
build_maven_build_generate_resources.log
build_maven_build_install.log

Logs taken while reproducing problem

Attached logs with install phase and with generate-resources phase.