Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AIO SSR Actions not getting deployed with install phase #1119

Open
abecaleb opened this issue Aug 16, 2023 · 0 comments
Open

AIO SSR Actions not getting deployed with install phase #1119

abecaleb opened this issue Aug 16, 2023 · 0 comments

Comments

@abecaleb
Copy link

abecaleb commented Aug 16, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant