{"id":20263621,"url":"https://github.com/springerpe/openstack-tempest","last_synced_at":"2025-03-03T19:59:38.160Z","repository":{"id":80987474,"uuid":"51429907","full_name":"SpringerPE/openstack-tempest","owner":"SpringerPE","description":"Docker tempest for OpenStack","archived":false,"fork":false,"pushed_at":"2016-02-18T15:19:02.000Z","size":2625,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-14T04:44:35.400Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpringerPE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-10T08:51:26.000Z","updated_at":"2016-02-10T09:51:17.000Z","dependencies_parsed_at":"2023-05-04T06:16:34.778Z","dependency_job_id":null,"html_url":"https://github.com/SpringerPE/openstack-tempest","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/SpringerPE%2Fopenstack-tempest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fopenstack-tempest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fopenstack-tempest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpringerPE%2Fopenstack-tempest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpringerPE","download_url":"https://codeload.github.com/SpringerPE/openstack-tempest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241731744,"owners_count":20010781,"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":[],"created_at":"2024-11-14T11:35:44.403Z","updated_at":"2025-03-03T19:59:38.096Z","avatar_url":"https://github.com/SpringerPE.png","language":"Shell","readme":"# docker-tempest-openstack\n\nDocker container to run smoke tests against an OpenStack environment. It is not\ndangerous (unless you intentionally run the stress tests) by running it without\nargs.\n\n* To build the Docker container `./build.sh` (name of the image creaded: tempest). \n  Type `docker images` to see it.\n\n* To run the container, do the auto-configuration and list all the tests,\n  just put a `openrc.sh` file in this folder (admin or other user/project with\n  admin role) and type `./run.sh` without args. Without args it will list all the test\n  available and a `tempest` folder will be created to store the test repository. \n\n\n# Configuration\n\nYou can provide your own tempest configuration by creating these files in this \nfolder (apart of the `openrc.sh` file) before running `./run.sh` for first time:\n\n* tempest.conf\n* accounts.yaml\n* logging.conf  \n\nIf those files are found, no autoconfiguration will be done. Otherwise, the \ncontainer will try to find out the tempest settings for your environment, by\nusing the OpenStack client `openstack`.\n\nAutoconfiguration is not easy for complicated environments, so in order to\nhelp or for fine tuning, you can provide some variables, have a look at `run.sh`\nand adapt it for your environment.  \n\nBy default it uses `ostestr` command to run the tests: http://docs.openstack.org/developer/os-testr/readme.html\nbut it is possible to switch to `testr` by defining  `TEMPEST_COMMAND=testr`\n\n\n# Examples\n\nTempest repository is created in `tempest`. \n\nTo see the list of available tests: `./run.sh`\n\nTo run help: `./run.sh --help`\n\nTo run api tests with pretty print and one test at a time (concurrency == 1) : `./run.sh -p -c 1  --regex '(^tempest\\.(api))'`\n\n\n# Hacking the container\n\nGo to `docker` folder and:\n\n* `conf` are the files will be copied to `\\etc\\tempest`\n* `confd` is the configuration for confd and the template for tempest autoconfiguration file.\n* `bin` includes the entrypoint (`init.sh`) and the `confd` utility.\n* `init` includes the files for initialization and autoconfiguration which are launched from\n   `bin\\init.sh', otherwise they could run using the `my_init` system of `phusion/baseimage`\n\n\n# Known problems\n\n* Autoconfiguration is done the fist time that `tempest` folder is created, \nafter the first run the openrc file is not needed anymore. If you need to make\nchanges after the first time, go to `tempest/etc` folder and change the contents\nthere.\n\n* `tempest` folder creates files owner by root. Internally, within the container,\nthe process runs as root and it creates all the files as root uid in `tempest`.\nFrom the host operating system, one cannot go into the folder because the files\nare owned by root. Workaround, use \"sudo\"\n\n* It seems tempest github repository does not use tags (there are tags, but too old) \nor branches, so, when the container is built it always will get the master branch. \nI recommend tagging the docker images once they are created and upload them to\na registry.\n\n\n## Author\n\nJosé Riguera López  \u003cjose.riguera@springer.com\u003e \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fopenstack-tempest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspringerpe%2Fopenstack-tempest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspringerpe%2Fopenstack-tempest/lists"}