{"action":"created","issue":{"url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/108","repository_url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration","labels_url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/108/labels{/name}","comments_url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/108/comments","events_url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/108/events","html_url":"https://github.com/integr8ly/ansible-tower-configuration/pull/108","id":498822518,"node_id":"MDExOlB1bGxSZXF1ZXN0MzIxNjY4Njk2","number":108,"title":"Removing extra vars files for OSD and POC environments","user":{"login":"pmccarthy","id":1999769,"node_id":"MDQ6VXNlcjE5OTk3Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1999769?v=4","gravatar_id":"","url":"https://api.github.com/users/pmccarthy","html_url":"https://github.com/pmccarthy","followers_url":"https://api.github.com/users/pmccarthy/followers","following_url":"https://api.github.com/users/pmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/pmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/pmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmccarthy/subscriptions","organizations_url":"https://api.github.com/users/pmccarthy/orgs","repos_url":"https://api.github.com/users/pmccarthy/repos","events_url":"https://api.github.com/users/pmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/pmccarthy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-09-26T11:17:10Z","updated_at":"2019-10-10T13:13:13Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/pulls/108","html_url":"https://github.com/integr8ly/ansible-tower-configuration/pull/108","diff_url":"https://github.com/integr8ly/ansible-tower-configuration/pull/108.diff","patch_url":"https://github.com/integr8ly/ansible-tower-configuration/pull/108.patch"},"body":"## Summary\r\nVariables set per deployment type (POC/OSD) are being migrated to the RHMI installer repository to provide a clean way of deploying multiple release versions from Ansible Tower. \r\n\r\nIt also means that this configuration repo does not need to be aligned with each RHMI release\r\n\r\n**Changes**\r\n- Removing extra vars files for both POC and OSD environments (moved to RHMI installer instead)\r\n- Updating workflow templates with `integreatly_install_type` variable\r\n- Exposing `/tmp` directory to support job isolation as part of bootstrap\r\n\r\n**Validation**\r\n- [x] Provision new tower instance on target Openshift cluster\r\n```\r\nansible-playbook -i <path-to-integreatly_dev>/inventories/hosts playbooks/install_tower.yml -e tower_openshift_master_url=https://<openshift-master-url> -e tower_openshift_username=<cluster-admin-username> -e tower_openshift_password=<cluster-admin-password> -e tower_openshift_project=<tower-namespace> -e tower_openshift_pg_pvc_size=10Gi --ask-vault-pass\r\n```\r\n- [x] Temporarily add new Tower details to integreatly_dev repository locally\r\n\r\n```\r\n~/repos/integreatly_dev/inventories/group_vars/all/tower.yml\r\n\r\ntowerv353_tower_host: \"https://ansible-tower-hostname\"\r\ntowerv353_tower_verify_ssl: False\r\ntowerv353_tower_username: \"admin\"\r\ntowerv353_tower_password: \"CHANGEME\"\r\n```\r\n\r\n- [x] Bootstrap instance using this feature branch\r\n```\r\nansible-playbook -i <path-to-integreatly_dev>/inventories/hosts playbooks/bootstrap.yml -e tower_environment=towerv353 -e tower_configuration_project_scm_branch=INTLY-3623_migrate_extra_vars_files_to_rhmi_installer -e tower_configuration_project_scm_type_url='https://github.com/pmccarthy/ansible-tower-configuration.git' --ask-vault-pass\r\n```\r\n- [x] Validate `/tmp/` dir in job settings of tower is set (see docs [1])\r\n- [x] Add temp tower details in `Default Tower Inventory` e.g.\r\n```\r\ntowerv353_tower_host: \"https://ansible-tower-hostname\"\r\ntowerv353_tower_verify_ssl: False\r\ntowerv353_tower_username: \"admin\"\r\ntowerv353_tower_password: \"CHANGEME\"\r\n```\r\n- [x] Create a cluster using `Cluster Provision` Workflow\r\n- [x] Install RHMI on new cluster specifying `INTLY-3623_support_rhmi_deployment_types` as the deploy branch and `https://github.com/pmccarthy/installation.git` as the fork URL in the `Integreatly Install` survey\r\n- [x] Uninstall RHMI on same cluster specifying `INTLY-3623_support_rhmi_deployment_types` as the deploy branch and `https://github.com/pmccarthy/installation.git` as the fork URL in the `Integreatly Uninstall` survey\r\n- [x] Deprovision Cluster using `Deprovision Cluster` workflow\r\n\r\n[1] https://github.com/integr8ly/ansible-tower-configuration#32-tower-configuration\r\n\r\n## Related PR\r\nhttps://github.com/integr8ly/installation/pull/1055"},"comment":{"url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/comments/540572784","html_url":"https://github.com/integr8ly/ansible-tower-configuration/pull/108#issuecomment-540572784","issue_url":"https://api.github.com/repos/integr8ly/ansible-tower-configuration/issues/108","id":540572784,"node_id":"MDEyOklzc3VlQ29tbWVudDU0MDU3Mjc4NA==","user":{"login":"pmccarthy","id":1999769,"node_id":"MDQ6VXNlcjE5OTk3Njk=","avatar_url":"https://avatars3.githubusercontent.com/u/1999769?v=4","gravatar_id":"","url":"https://api.github.com/users/pmccarthy","html_url":"https://github.com/pmccarthy","followers_url":"https://api.github.com/users/pmccarthy/followers","following_url":"https://api.github.com/users/pmccarthy/following{/other_user}","gists_url":"https://api.github.com/users/pmccarthy/gists{/gist_id}","starred_url":"https://api.github.com/users/pmccarthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmccarthy/subscriptions","organizations_url":"https://api.github.com/users/pmccarthy/orgs","repos_url":"https://api.github.com/users/pmccarthy/repos","events_url":"https://api.github.com/users/pmccarthy/events{/privacy}","received_events_url":"https://api.github.com/users/pmccarthy/received_events","type":"User","site_admin":false},"created_at":"2019-10-10T13:13:13Z","updated_at":"2019-10-10T13:13:13Z","author_association":"CONTRIBUTOR","body":"@obrienrobert Have if you been able to validate all of the steps above? If so (assuming you're happy with the changes) would you mind approving please?"}}
{"actor":{"display_login":"pmccarthy"}}