{"id":31770133,"url":"https://github.com/jfrog/jfrog-data-generator","last_synced_at":"2025-10-10T02:57:15.725Z","repository":{"id":56579064,"uuid":"153140033","full_name":"jfrog/jfrog-data-generator","owner":"jfrog","description":"Tools for generating and preloading JFrog products with data","archived":false,"fork":false,"pushed_at":"2023-07-17T13:18:40.000Z","size":17431,"stargazers_count":2,"open_issues_count":2,"forks_count":6,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-04-14T21:23:54.755Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfrog.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":"2018-10-15T15:45:21.000Z","updated_at":"2023-10-16T08:03:01.000Z","dependencies_parsed_at":"2022-08-15T21:20:32.732Z","dependency_job_id":null,"html_url":"https://github.com/jfrog/jfrog-data-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jfrog/jfrog-data-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-data-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-data-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-data-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-data-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfrog","download_url":"https://codeload.github.com/jfrog/jfrog-data-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfrog%2Fjfrog-data-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279002512,"owners_count":26083403,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-10-10T02:57:05.421Z","updated_at":"2025-10-10T02:57:15.714Z","avatar_url":"https://github.com/jfrog.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Artifactory Data Generators\n\nThis utility generates binaries of different package types and publishes them to Artifactory.\n\n## Getting Started\n\nTo get started, simply clone this project, make sure you meet the pre-requisites. \nBuild your package generator docker image. And, Run a docker container using the generated docker image.\nSee instructions for building docker image and usage details in below sections.\n \n### Pre-requisites\n\n* Docker 17.0+\n  * The ability to build images\n  * The ability to run images\n* *NIX tools\n\n## Currently Support packages\n\n* Conan\n* Docker\n* Generic\n* Maven\n* NPM\n* PyPi\n* RPM (YUM)\n* PHP (tar.gz)\n* Alpine (.apk)\n* Chef\n* Helm\n* Conda\n\n### Building\n\nTo build the docker images responsible to generate binaries using default settings, simply run:\n\n```./build.sh build```\n\nThis will create data generator docker images that can be used to generate binaries of different packages types.\n\nIf you want to build only a specific package type, specify the package type name:\n\n```./build.sh build maven```\n\nYou can get a list of all the package types:\n\n```./build.sh list```\n\nYou can modify the version, registry and image namespaces by copying the `env.setup.default` to \n`env.setup` and overriding with your desired values before running the build.\n\n### Usage\n\nTo run a generator, simply:\n\n* Pull the specific generator docker image (Note: Prerequisite is Docker 17.0+). \n    * `docker pull \u003cIMAGE-NAME\u003e:\u003cTAG-NAME\u003e`\n    \n*  Run the image, mounting the properties file with your details\n    * `docker run --rm -v /my/copy/config.properties:/config.properties \u003cIMAGE-NAME\u003e:\u003cTAG-NAME\u003e`\n\nYou can also pass in environment variables instead of a properties file:\n\n* Run the image, passing in environment variables with your details\n     * `docker run --rm -e \"ARTIFACTORY_URL=http://example.org/artifactory\" ... \u003cIMAGE-NAME\u003e:\u003cTAG-NAME\u003e`\n\nYou can even mix and match, with environment variables taking precedence\n\n* Run the image, passing in environment variables and mounting a properties file with your details\n    * `docker run --rm -e \"ARTIFACTORY_URL=http://example.org/artifactory\" -v /my/copy/config.properties:/config.properties \u003cIMAGE-NAME\u003e:\u003cTAG-NAME\u003e`\n\nIf README.md.template is available for the package generator type, You can see the usage details of the generator.\n* Run the image, with environment variable PRINT_HELP   \n    * `run -it -e PRINT_HELP=true \u003cIMAGE-NAME\u003e:\u003cTAG-NAME\u003e`\n\n\n## Adding a new package type\n\nTo add a new package type, you will need to:\n\n1. Create a new directory with the name of the package type under `packages`\n2. Create a Dockerfile to build the image\n3. Create a Runner.groovy script and extend Generator.groovy (see maven example)\n    * The files under the `shared` directory will automatically be added to your new package during build time\n    * Make sure to add them to your Dockerfile\n4. Create a config.properties.defaults file with input you expect (see maven example)\n    * If left blank, the property will be considered required\n    * The comments in the property file are important as they will be used to build the README.md\n5. (Optional) Create a README.md.template\n    * This is what the end users will see \n    * Use the placeholder \u003cINPUT-TABLE\u003e for the build process to auto-fill it with a end user friendly version of your config.properties.default\n    * Use the placeholder \u003cINPUT-FILE\u003e for the block the end user will copy to provide as the input\n    * Use the placeholder \u003cIMAGE-NAME\u003e for the generated image name\n    * Use the placeholder \u003cTAG-NAME\u003e for the generated tag name\n\n\n## License\n\nThis project is licensed under the Apache 2.0 License - see the [LICENSE.md](LICENSE.md) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fjfrog-data-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfrog%2Fjfrog-data-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfrog%2Fjfrog-data-generator/lists"}