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

[ALM Accelerator - QUESTION] Deployment profile with only 2 environments #7522

Closed
dspencelink opened this issue Jan 23, 2024 · 4 comments
Closed
Assignees
Labels
alm-accelerator ALM Accelerator Components and Apps question Further information is requested

Comments

@dspencelink
Copy link

dspencelink commented Jan 23, 2024

What is your question?

Hello. We've been using ALM Accelerator for many months now in a 3 environment setting: Dev --> Test --> Prod and it was fairly straightforward to set up. I now have a new scenario where we just have a Dev environment and a Prod environment. I've set up ALM accelerator and the 2 environments but what do I need to do to ensure that I just have Dev and Prod pipelines in the deployment profile? Do I need to manually edit YAML files? If so, what should I do? Sorry, i'm a bit of a noob here. Thanks.

What component are you experiencing the issue with?

ALM Accelerator Canvas App

What solution version are you using?

1.0.20231109.3

AB#2115

@dspencelink dspencelink added alm-accelerator ALM Accelerator Components and Apps question Further information is requested labels Jan 23, 2024
@dspencelink
Copy link
Author

Does anyone have familiarity with doing this? Do I just set the Validation and Test environments as 'Not Deployable', then set the Production trigger to be when a specific branch is updated? TIA

@v-bjaiswal v-bjaiswal self-assigned this Jan 29, 2024
@v-bjaiswal
Copy link
Collaborator

Hi @dspencelink , if you want to go with the 2 environments then you can do that by 2 methods.

  1. By using the "Import Solution" button in ALM canvas app. Commit the solution in dev and then you can use the specific environment where you want the deployment.
    image

  2. Other way to to ensure that you have committed your changes into Production pipeline. As this pipeline will trigger as soon as something changes on main branch.
    image

@dspencelink
Copy link
Author

Thanks @v-bjaiswal. I've committed, then deployed to Production, which deploys to main but it didn't trigger the pipeline to deploy the Solution to Production:
image

If I go into the Pipelines and manually run the Production pipeline, it successfully deploys the solution. I just need to figure out how to trigger it because it's not triggering from ALM Accelerator.

image

@dspencelink
Copy link
Author

I figured it out. My Solution is named EntReporting. After I commit, when I deploy to Prod, it tries to copy from the EntReporting branch to Main but there's nothing in that branch because I haven't deployed to Test. So I found if I deploy to Test first, then it copies from the 'Developername-Solution' branch into the EntReporting branch. Then when I deploy to Prod, it pulls from EntReporting branch into Main and deploys to Prod. So I just need to deploy to Test, then deploy to Prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alm-accelerator ALM Accelerator Components and Apps question Further information is requested
Projects
Status: Done
Development

No branches or pull requests

3 participants