Apps
Note
All app creatrions are handled via an ad-hoc deployment.
All app updates are handled via a standard deployment.
All our apps are handled via the deployment cycle. This means updates traditonally are only applied on the first of each month.
Creating a new app
Creating a new app is a more involved process. For this, you will:
- Setup the project (see the project setup workflow for more details)
- Install the app in the sandbox Zendesk
- Install the app in the production Zendesk
- Setup the scheduled pipeline for the project
Updating an app
Updating an app is done by updating the source code of the app.
You should also do this in a way that creates a MR. Said MR should always be peer reviewed before merging (the MR should enforce this).
Deactivating an app
Deactivating an app requires a very manual process. When deactivating an app, you must:
- Deactivate the app in the Zendesk instance
- Navigate to the Zendesk instance’s admin center
- Navigate to
Apps and integrations
>Apps
>Zendesk Support apps
- Hover over the app in question
- Click the gear icon
- Click the slider under
Enabled
- Deactivate the scheduled pipeline for the app
- Navigate to the app project
- Go to its scheduled pipelines
- Click the button to assume ownership of the scheduled pipeline
- Click the icon to edit it
- Uncheck the box next to
Activated
- Click
Save Changes
Packaging an app
This is done by combining all the “app code” into a zipfile. To accomplish this, you need to access the app project’s source code via CLI and zip the content up. This might look something like:
cd ~/dev/support-readiness/zendesk-global/apps/star
zip -r data/application.zip assets manifest.json translations
This will produce the zipfile application.zip
in the data
folder of your local repository (which git will ignore thanks to the .gitignore file you copied earlier).
Exception deployment
Some changes, such as bug fixes, warrant an immediate deployment.
To perform an exception deployment for an app, navigate to the app project in question, go to the scheduled pipelines page, and click the play button. This will trigger a sync job for the app.
9196a840
)