Publish or unpublish a snapshot
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- DevOps
Publish a snapshot so that it can be exported to enable the CI/CD pipeline to access and use the config data. Exporters can execute only on published snapshots.
Before you begin
Important: Starting with the Washington DC release, DevOps Config is being prepared for future deprecation. It will be hidden and no longer installed on new instances but will continue to be supported. For details, see the Deprecation Process [KB0867184] article in the Now Support Knowledge Base.
Role required: CDM Editor [sn_cdm.cdm_editor] or CDM Admin [sn_cdm.cdm_admin]
About this task
- You publish a snapshot when you feel that the deployable that it represents is ready to export to the pipeline.
- While defining or updating a deployable, you can specify that only validated snapshots can be published.
- A deployable must be connected to a service to publish its snapshots.
- If a published deployable is
disconnected from services, then you can perform the following actions, but
cannot publish snapshots of the deployable until
it is connected to a service:
- Edit config data.
- Create snapshots.
- Validate snapshots.
- Fix validation errors.
Tip: You can add a text description of a snapshot or rename it on the
Details tab for the snapshot.
- When exporters look for the latest snapshot, they should look for the latest
created
snapshot that is published. - The published_date is the data at which the publish happens.
- The unpublish snapshot action removes the publish flag and removes the published_date value.
Procedure