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

Versions of actions referenced are not available in my CodeCatalyst workflow environment #477

Open
Lock128 opened this issue Jan 31, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@Lock128
Copy link

Lock128 commented Jan 31, 2024

Describe the bug

As part of our projen-pipelines implementation I am making use of the Workflows SDK

When using
image

I am getting the following error message when executing the generated workflow:
image

I think the error is in here and I dont really know if thats intended or not:

@Lock128 Lock128 added the bug Something isn't working label Jan 31, 2024
@Lock128
Copy link
Author

Lock128 commented Jan 31, 2024

Tried to workaround it by setting this.context.environmentId = 'prod';

But thats not possible as its readonly 👎

@Lock128
Copy link
Author

Lock128 commented Jan 31, 2024

A potential workaround for me could be to set process.env.CONTEXT_ENVIRONMENTID=prod but that doesnt feel to be correct?

@Lock128
Copy link
Author

Lock128 commented Jan 31, 2024

A potential workaround for me could be to set process.env.CONTEXT_ENVIRONMENTID=prod but that doesnt feel to be correct?

That worked as a workaround...

@alexforsyth
Copy link
Contributor

process.env.CONTEXT_ENVIRONMENTID=prod

Is currently the way blueprints deal with this problem. But yes, I agree this doesnt seem quite right. I'll take it back to the team and give it a review

@Lock128
Copy link
Author

Lock128 commented Jan 31, 2024

Maybe it might make sense to switch it - the "default" is the "prod" version and if you want to use the other possible type you need to explicitely set it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants