Skip to content
Snippets Groups Projects
Commit 2c5fa52c authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files
Former-commit-id: f9937dd9bccdfec5f0b86cc8cca805c50bad4001
parents 47626cc0 dafb5340
No related branches found
No related tags found
No related merge requests found
...@@ -26,10 +26,12 @@ deploy-webserver: ...@@ -26,10 +26,12 @@ deploy-webserver:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
script: script:
- yum install -y epel-release - yum install -y epel-release wget
- yum install -y gcc - yum install -y gcc
- yum install -y python34-pip python34-devel - wget https://centos7.iuscommunity.org/ius-release.rpm
- pip3 install ansible - rpm -Uvh ius-release*.rpm
- yum install -y python35u python35u-libs python35u-devel python35u-pip
- pip3.5 install ansible
- cd ansible - cd ansible
- whoami - whoami
- ansible-playbook -vvv -i ./hosts_deploy deploy.yaml --extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf" - ansible-playbook -vvv -i ./hosts_deploy deploy.yaml --extra-vars "deploy_user_name=ippidb repo_api_token=JZS-4cH7bWkFkHa2rAVf"
...@@ -74,8 +74,9 @@ class IppiWizard(NamedUrlSessionWizardView): ...@@ -74,8 +74,9 @@ class IppiWizard(NamedUrlSessionWizardView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
context=super(IppiWizard, self).get_context_data(**kwargs) context=super(IppiWizard, self).get_context_data(**kwargs)
context['complex_type']=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('complex_type') if self.steps.current == 'ProteinDomainComplexForm':
context['complex_choice']=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('complex_choice') context['complex_type']=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('complex_type')
context['complex_choice']=self.storage.get_step_data('ProteinDomainComplexTypeForm').get('complex_choice')
return context return context
def get_template_names(self): def get_template_names(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment