You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our team has different zendesk instances and app IDs depending on the environment. In test, the app_id might be 123, and in production it could be 456.
We're using ENV variables in our CI/CD to automatically update apps, we were expecting APP_ID to be a variable as well so that we could dynamically set it without having to touch JSON files.
Reality
app_id is only read from zcli.apps.config.json, so we have to manually generate this file depending on the environment which is less ideal. Is there a reason this is the only variable that's not controllable by ENV variables?
The text was updated successfully, but these errors were encountered:
Someones we want to have seperate apps for staging and production. In these cases they will have a seperate app_id.
In this change we will allow users to set the `ZENDESK_APP_ID` environment variable to specify which app_id to use. This will allow developers to set this in their CICD pipelines.
Fixes: #173
…pps:update (#254)
* feat: add ability to use ZENDESK_APP_ID env var during apps:update
Someones we want to have seperate apps for staging and production. In these cases they will have a seperate app_id.
In this change we will allow users to set the `ZENDESK_APP_ID` environment variable to specify which app_id to use. This will allow developers to set this in their CICD pipelines.
Fixes: #173
* fix: type check
* fix: remove generated code
* fix: lints
* chore: add new unit test
* chore: update unit test
* fix: lints
* chore: reset mock
Expectations
Our team has different zendesk instances and app IDs depending on the environment. In test, the app_id might be 123, and in production it could be 456.
We're using ENV variables in our CI/CD to automatically update apps, we were expecting APP_ID to be a variable as well so that we could dynamically set it without having to touch JSON files.
Reality
app_id
is only read from zcli.apps.config.json, so we have to manually generate this file depending on the environment which is less ideal. Is there a reason this is the only variable that's not controllable by ENV variables?The text was updated successfully, but these errors were encountered: