demo_site ========= .. py:module:: demo_site Attributes ---------- .. autoapisummary:: demo_site.JENKINS_IP demo_site.GEONODE_DEMO_DOMAIN demo_site.NODE_LIST demo_site.GEONODE_DEMO_JOB demo_site.parser Classes ------- .. autoapisummary:: demo_site.DemoGeonode Module Contents --------------- .. py:data:: JENKINS_IP :value: 'http://52.7.139.177/' .. py:data:: GEONODE_DEMO_DOMAIN :value: 'demo.geonode.org' .. py:data:: NODE_LIST :value: 'computer/api/json' .. py:data:: GEONODE_DEMO_JOB :value: 'geonode-aws' .. py:class:: DemoGeonode(username, token) This class allows interaction with the Jenkins APIs to do several tasks, for a more detailed guide on how to use self.j see https://python-jenkins.readthedocs.org/en/latest/api.html .. py:attribute:: j .. py:method:: redeployDemo() Delete the jenkins node on which runs the amazon VM, this will both shutdown the VM and create a new one with a fresh geonode instance .. py:method:: getDemoNode(nodes_data) Commodity method to get the correct jenkins node name, the name is composed by 'demo.geonode.org' and the VM id .. py:method:: deleteNode(node_name) Delete the jenkins node and shutdown the amazon VM .. py:method:: buildJob(job) Trigger a job build .. py:data:: parser