Skip to content
Snippets Groups Projects
scripts.md 2.27 KiB
Newer Older
  • Learn to ignore specific revisions
  • # 🤖 Scripts
    
    Bastien DUMONT's avatar
    Bastien DUMONT committed
    Easy cozy project comes with 2 main scripts available in the `ecolyo-infra-scripts/admin_scripts` folder.
    
    ## Scripts for instances
    
    | Scripts            | Args              | Description                                             |
    | ------------------ | ----------------- | ------------------------------------------------------- |
    | create-instance.sh | instance_username | Create an instance for a user                           |
    | remove-instance.sh | instance_username | Remove an instance for a specific user                  |
    | reset_instance.sh  | instance_username | Remove and recreate again the instance for a given user |
    
    ## Scripts for applications
    
    
    | Scripts                  | Args              | Description                                                                   |
    
    | ------------------------ | ----------------- | ----------------------------------------------------------------------------- |
    
    | update_all_ecolyo_dev.sh | none              | update Ecolyo with last version from build-dev branch on all instances        |
    
    | update_ecolyo_master.sh  | instance_username | update Ecolyo with last version from build branch on a specific instance      |
    | update_ecolyo_dev.sh     | instance_username | update Ecolyo with last version from build-dev branch on a specific instance  |
    | update_ecolyo_test.sh    | instance_username | update Ecolyo with last version from build-test branch on a specific instance |
    | update_pilote_master.sh  | instance_username | update Pilote with last version from build-dev branch on a specific instance  |
    
    Hugo NOUTS's avatar
    Hugo NOUTS committed
    | update_pilote_dev.sh     | instance_username | update Pilote with last version from build-test branch on a specific instance |
    
    ## Scripts for konnectors
    
    
    | Scripts                         | Args              | Description                                                                            |
    
    | ------------------------------- | ----------------- | -------------------------------------------------------------------------------------- |
    
    | update_enedis_konnector_prod.sh | instance_username | update Enedis konnector with last version from build branch on a specific instance     |
    | update_enedis_konnector_dev.sh  | instance_username | update Enedis konnector with last version from build-dev branch on a specific instance |