Document toolboxDocument toolbox

How do we delete DataStage assets from a Git repository using MettleCI?

When Git­-controlled assets are deleted from Information Server then it is the developer's responsibility to ensure that the asset is also removed from the associated Git repository.  Deletion from a development environment always comes with risk. MettleCI therefore takes the cautious approach of allowing developers to specify explicitly when assets are to be removed from the corresponding Git repository. This approach keeps developers in control and protects against accidental deletion.

Remember that your MettleCI-managed Git repository is a regular Git repository, so your existing Git user interfaces and git commands will work as normal.

If you wish to delete a DataStage asset from Git using the MettleCI Workbench then simply...

  1. Delete the asset in the DataStage repository (using your DataStage client, for example), then

  2. Commit the no-longer-existing asset using the 'Commit' option in the MettleCI Workbench. 

When you do this the specified asset (or assets) is/are removed using a Git commit. This approach ensures that the Git history is retained for that asset, and that the asset removal is associated with a Work Item to support traceability of all version control actions.





© 2015-2024 Data Migrators Pty Ltd.