{"id":18011084,"url":"https://github.com/regit/suri-docker-qa","last_synced_at":"2025-04-04T13:16:26.587Z","repository":{"id":28435446,"uuid":"31950499","full_name":"regit/suri-docker-qa","owner":"regit","description":"Docker image running a buildbot set up for Suricata QA","archived":false,"fork":false,"pushed_at":"2020-03-05T15:57:00.000Z","size":171,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-09T22:46:21.678Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/regit.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2015-03-10T10:06:08.000Z","updated_at":"2019-09-18T08:30:58.000Z","dependencies_parsed_at":"2022-09-03T05:22:21.117Z","dependency_job_id":null,"html_url":"https://github.com/regit/suri-docker-qa","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/regit%2Fsuri-docker-qa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regit%2Fsuri-docker-qa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regit%2Fsuri-docker-qa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/regit%2Fsuri-docker-qa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/regit","download_url":"https://codeload.github.com/regit/suri-docker-qa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182422,"owners_count":20897381,"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-10-30T02:16:22.896Z","updated_at":"2025-04-04T13:16:26.572Z","avatar_url":"https://github.com/regit.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"===================================\nAutonomous buildbot for Suricata QA\n===================================\n\nIntroduction\n============\n\nThis repository implements a ready to use Buildbot instance dedicated\nto Suricata IDS QA running in a Docker container.\n\nThe principle of this container is to use your local Suricata sources\nto do the build. This allows to do private testing even without\nInternet access.\n\nIf you only want to use it in the scope of Suricata development you can\nsimply read the last section of the documentation.\n\nUse the image\n=============\n\nYou can use a generated image by doing ::\n\n sudo docker pull regit/suri-buildbot\n\nBuild your own image\n====================\n\nYou can also build you own image by running ::\n\n sudo docker build -t suri-buildbot .\n\nCreate the container\n====================\n\nThe image will use you local Suricata git tree to do the build. We suppose \nSURICATA_GIT_DIR variable is this path.\n\nTo create the docker container from the images ::\n\n sudo docker create --name suri-buildbot -p 8010:8010 -p 22 -v $SURICATA_GIT_DIR:/data/oisf:ro  suri-buildbot\n\nRun it\n======\n\nYou can then start the container ::\n\n sudo docker start suri-buildbot\n\nThen point to http://localhost:8010/\n\nYou can get access via SSH to the docker image with the admin/admin account. Once\nconnected you can use sudo.\n\nTo stop the container, you can run ::\n\n sudo docker stop suri-buildbot\n\nUsing the image in Suricata\n===========================\n\nCreate the container\n--------------------\n\nThis operation has only to be done once. From the root of\nSuricata  sources, run ::\n\n sudo qa/prscript.py -C\n\nIt will take some times as the download is several hundred Mo. The result will\nbe a docker container named 'suri-buildbot'.\n\nStart and use the buildbot\n--------------------------\n\nWhen you need to use the buildbot, you can start it from the command line ::\n\n sudo qa/prscript.py -s\n\nYou can then start a build ::\n\n qa/prscript.py -d -l YOUR_BRANCH\n\nThis will start a build of the local branch YOUR_BRANCH without doing any\nexternal check.\n\nIf your branch is pushed on Githb you can run ::\n\n qa/prscript.py -d -u GITHUB_USER YOUR_BRANCH\n\nThis will check that your code is in sync with the master repository and then\nstart a build of the branch YOUR_BRANCH.\n\nPlease note that in that case, this is the code of your local branch that is\ntested and not the code of Github branch.\n\nStop the buildbot\n-----------------\n\nWhen you don't need the buildbot anymore, you can stop it from the command line ::\n\n sudo qa/prscript.py -S\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregit%2Fsuri-docker-qa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fregit%2Fsuri-docker-qa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fregit%2Fsuri-docker-qa/lists"}