Skip to content

Commit

Permalink
Merge pull request #54 from phnmnl/feature/versioning_on_jupyter_and_…
Browse files Browse the repository at this point in the history
…galaxy

versioning_on_jupyter_and_galaxy
  • Loading branch information
andersla authored Mar 16, 2017
2 parents c18baaa + e8f372f commit db52a4b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion KubeNow
4 changes: 4 additions & 0 deletions cloud_portal/shared/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ ansible-playbook -i $ansible_inventory_file \
# deploy jupyter
ansible-playbook -i $ansible_inventory_file \
-e "domain=$domain" \
-e "jupyter_chart_version=0.1.1" \
-e "jupyter_image_tag=:v387f29b6ca83_cv0.4.7" \
-e "jupyter_password=$TF_VAR_jupyter_password" \
-e "jupyter_pvc=galaxy-pvc" \
-e "jupyter_resource_req_cpu=200m" \
Expand All @@ -105,6 +107,8 @@ $PORTAL_APP_REPO_FOLDER'/bin/generate-galaxy-api-key'
galaxy_api_key=$(cat $PORTAL_DEPLOYMENTS_ROOT'/'$PORTAL_DEPLOYMENT_REFERENCE'/galaxy_api_key')
ansible-playbook -i $ansible_inventory_file \
-e "domain=$domain" \
-e "galaxy_chart_version=0.1.6-phenomenal-alanine" \
-e "galaxy_image_tag=:v16.07-pheno_cv0.1.59" \
-e "galaxy_admin_password=$TF_VAR_galaxy_admin_password" \
-e "galaxy_admin_email=$TF_VAR_galaxy_admin_email" \
-e "galaxy_api_key=$galaxy_api_key" \
Expand Down
5 changes: 3 additions & 2 deletions playbooks/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- name: install galaxy
become: yes
command: >
helm install
--set use_ingress="yes",domain="{{ domain }}",external_ingress_controller="yes",galaxy_admin_email="{{ galaxy_admin_email }}",galaxy_admin_password="{{ galaxy_admin_password }}",galaxy_api_key="{{ galaxy_api_key }}",postgres.db_password="{{ galaxy_admin_password }}",galaxy_pvc="{{ galaxy_pvc }}",postgres.postgres_pvc="{{ postgres_pvc }}",galaxy_create_pvc="false"
helm install
--version "{{ galaxy_chart_version }}"
--set galaxy_image_tag="{{ galaxy_image_tag }}",use_ingress="yes",domain="{{ domain }}",external_ingress_controller="yes",galaxy_admin_email="{{ galaxy_admin_email }}",galaxy_admin_password="{{ galaxy_admin_password }}",galaxy_api_key="{{ galaxy_api_key }}",postgres.db_password="{{ galaxy_admin_password }}",galaxy_pvc="{{ galaxy_pvc }}",postgres.postgres_pvc="{{ postgres_pvc }}",galaxy_create_pvc="false"
galaxy-helm-repo/galaxy-postgres-chart
5 changes: 3 additions & 2 deletions playbooks/jupyter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- name: install jupyter
become: yes
command: >
helm install
--set passwd_jupyter="{{ jupyter_password }}",use_ingress="yes",domain="{{ domain }}",external_ingress_controller="yes",pvc_exists="yes",jupyter_pvc="{{ jupyter_pvc }}",jupyter_resource_req_cpu="{{ jupyter_resource_req_cpu }}",jupyter_resource_req_memory="{{ jupyter_resource_req_memory }}"
helm install
--version "{{ jupyter_chart_version }}"
--set jupyter_image_tag="{{ jupyter_image_tag }}",passwd_jupyter="{{ jupyter_password }}",use_ingress="yes",domain="{{ domain }}",external_ingress_controller="yes",pvc_exists="yes",jupyter_pvc="{{ jupyter_pvc }}",jupyter_resource_req_cpu="{{ jupyter_resource_req_cpu }}",jupyter_resource_req_memory="{{ jupyter_resource_req_memory }}"
phenomenal-helm/jupyter

0 comments on commit db52a4b

Please sign in to comment.