{"id":15684758,"url":"https://github.com/goneri/tripleo-quickstart-dci","last_synced_at":"2025-03-28T02:48:58.171Z","repository":{"id":138997181,"uuid":"90779489","full_name":"goneri/tripleo-quickstart-dci","owner":"goneri","description":"TripleO-Quickstart + Distributed-CI","archived":false,"fork":false,"pushed_at":"2018-01-11T21:41:13.000Z","size":52,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T03:12:40.222Z","etag":null,"topics":["distributed-ci","openstack","tripleo","tripleo-quickstart"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/goneri.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-09T18:35:07.000Z","updated_at":"2017-07-27T19:07:54.000Z","dependencies_parsed_at":"2024-05-05T19:15:05.731Z","dependency_job_id":null,"html_url":"https://github.com/goneri/tripleo-quickstart-dci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goneri%2Ftripleo-quickstart-dci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goneri%2Ftripleo-quickstart-dci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goneri%2Ftripleo-quickstart-dci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/goneri%2Ftripleo-quickstart-dci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/goneri","download_url":"https://codeload.github.com/goneri/tripleo-quickstart-dci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245960682,"owners_count":20700777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["distributed-ci","openstack","tripleo","tripleo-quickstart"],"created_at":"2024-10-03T17:21:42.835Z","updated_at":"2025-03-28T02:48:58.141Z","avatar_url":"https://github.com/goneri.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TripleO-QuickStart with Distributed-CI\n\nThis is an example of an integration of Distributed-CI and TripleO-Quickstart.\n\n## Requirements\n\n- to be on Red Hat VPN.\n- RDO-Cloud openrc file should be sourced first\n- in ansible/hosts, the jumpbox should have a floating IP from the user tenant\n- a valide RHSM credential and a pool ID with the rhel-7-server-cert-rpms channel\n\n## Usage\n\n\n```bash\ncd ansible\n```\n\nPrepare and source the dcirc.sh environment file:\n\n```bash\nvim files/dcirc.sh\nsource files/dcirc.sh\n```\n\nLoad the OpenStack openrc:\n\n```bash\nsource ~/openrc.sh\n```\n\n:warning: If you may need  to use a KeyStone v2 OpenRC file.\n\nAdjust the public IP of the jumpbox and the virthost in the hosts file. The\nIP addresses should come from your tenant floating IP pool:\n\n```bash\nvim hosts\n```\n\nImport the RHEL image, if it's missing:\n```\nopenstack image create --file ~/rhel-guest-image-7.3-35.x86_64.qcow2 --container-format bare --disk-format qcow2 \"RHEL 7.3-35\"\n```\n\nFinally you can start the deployment:\n```\nansible-playbook -i hosts -e rhsm_login=XXXX -e rhsm_password=XXXX -e rhsm_pool_id bootstrap.yml\n```\n\n## Workflow\n\nThe playbook will do the following steps:\n\n- bootstrap.yml playbook\n  - prepare the jumpbox and virthost virtual machines\n  - deploy the dci-ansible-agent\n  - prepare the configuration for dci-ansible-agent\n  - fetch the last version of quickstart.sh\n  - push an up to date copy of tripleo-environments\n  - start the dci-ansible-agent agent\n  - dci-ansible-agent\n    - request a new DCI job to the DCI Control Server\n    - fetch the RHOSP or RDO repository to validate\n    - expose the repository on an internal HTTP server\n    - call quickstart.sh with a special requirement file\n    - quickstart.sh from TripleO-Quickstart\n      - use to requirement to:\n        - fetch the last version of rhos-10-baseos-undercloud-dci.yml\n        - use the local copy of tripleo-environents\n      - deploy an openstack\n    - run the DCI tests\n      - collect-logs\n      - validate-tempest\n      - certification\n\n## Gating\n\nThe `rpm_to_gate` parameter can be used to inject a local RPM on the jumpbox. In this case, it will be use\ninstead of the RPM from the upstream repository:\n\n```bash\nansible-playbook -i hosts -e rhsm_login=XXXX -e rhsm_password=XXXX -e rhsm_pool_id bootstrap.yml -e rpm_to_gate=/tmp/dci-ansible.rpm\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoneri%2Ftripleo-quickstart-dci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoneri%2Ftripleo-quickstart-dci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoneri%2Ftripleo-quickstart-dci/lists"}