Question remove PGE from SDS
- Topher Allen
Context:
I am working with a HySDS system. I am trying to remove a PGE that was installed on this HySDS system.
I tried using
sds ci remove https://github.com/aria-jpl/create_aoi_track
But it failed with an error involving jenkins. How do I fix it?
Answer:
Per Alex Torres:
If you want to deregister the PGE from Jenkins --> use sds ci remove_job
If you want to remove the package (tarball) from Mozart --> use sds pkg rm
you can find a list of packages using sds pkg ls
To answer the follow up question about how to re-add a package after removing it, Mohammed Karim added:
for sds pkg import
to work, you need to have the tar file created by jenkins with you. It will upload it to appropriate s3 bucket. you can get that tar by running sds pkg export
. We generally use these to move a container build in one cluster to another
say you have build it in 'a' cluster jenkins. after building, you can download it in 'a' cluster's mozart using 'sds pkg export
'. Now you can move it to another cluster's mozart and run sds pkg import
to get that container in that cluster
sds ci
generally use to add/build/remove a job to jenkins.