v0.4.0 Uninstall AutolabJS
To uninstall AutolabJS from a single machine deployment, follow the steps given below:
Download the code repository.
wget https://github.com/AutolabJS/AutolabJS/archive/dev.zip -O AutolabJS.zip
mv AutolabJS-dev AutolabJS
Or alternatively, if you have the repository downloaded from the time you installed AutolabJS, you can use the same.
Move to the AutolabJS directory.
If you plan to install AutolabJS at a later stage, you can save the docker images for future use. To save the docker images, follow this step, else you can skip to the next step.
Change to the docker-images directory.
Run the script save.sh
This will save all the docker images in the same directory. There are 6 docker images. The files saved will be:
- gitlab.tar - main_server.tar - ubuntu-16.04.tar - execution_node.tar - load_balancer.tar - mysql.tar
You can save these images at any location you prefer. When you want to install AutolabJS, you can use these files directly. Use the script
load.shin the same directory to do so.
Remember, this script needs to be run from the same directory where the images are stored.
Now, move back to the AutolabJS directory.
If you had added additional nodes during the installation, you have to make the same modification to the
single_machinefile made in point 4 of the installation. This step should be skipped if you performed the default setup.
Move to the deploy directory.
Uninstall AutolabJS using the command below.
ansible-playbook uninstall.yml --ask-become-pass
You have now successfully uninstalled AutolabJS.