{"id":23034143,"url":"https://github.com/autostructure/tomcat_automation_template","last_synced_at":"2026-02-18T18:31:21.024Z","repository":{"id":136317449,"uuid":"148330252","full_name":"autostructure/tomcat_automation_template","owner":"autostructure","description":"A generic template that transforms your java web application project. Allows your project to be used in a CI / CD pipeline.","archived":false,"fork":false,"pushed_at":"2018-09-26T18:14:58.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-12T02:08:34.857Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","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/autostructure.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":"2018-09-11T14:27:28.000Z","updated_at":"2018-09-26T18:14:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"971a0bdf-6cc3-417c-afb7-0bf3a447e8ec","html_url":"https://github.com/autostructure/tomcat_automation_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/autostructure/tomcat_automation_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Ftomcat_automation_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Ftomcat_automation_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Ftomcat_automation_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Ftomcat_automation_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/autostructure","download_url":"https://codeload.github.com/autostructure/tomcat_automation_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/autostructure%2Ftomcat_automation_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29589446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-12-15T16:29:30.582Z","updated_at":"2026-02-18T18:31:21.006Z","avatar_url":"https://github.com/autostructure.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CI / CD conversion project\n\n## Pre-requirement\n* Application must be using Maven to build the project.\n* You must have a Docker image repository already created. If you don't have one put in a service not ticket to have two created.\n  * Every repository start with your team name. Examples: FIA or VIPR\n  * One repository ends with your project name with the _development suffix added. For example: if your project is called tree counter the first repository will be: tree_counter_development\n  * The second repository will not have a suffix. For the tree counter application the repo will just be: tree_counter\n\n   \u003e Example: You work for the CFO and you have an application called VIPR. You will request two repositories be created:\n   \u003e * cfo/vipr_development\n   \u003e * cfo/vipr\n* For each port your application uses you must request a NodePort. Put in a ticket to receive your NodePort(s). This is the port the reverse proxy will use to serve up your application content. It will be assigned to you.\n\n## Instructions:\n\n1. Download or copy the setup.bat file to your project.\n\n2. Execute the setup script.\n\n3. In common.yaml add your service configurations for your tomcat server\n   * The first key 'docker_tomcat_module::environment_vars' is an array of environment variables. These variables are used to configure the container differently in each application tier. Only add the environment variable names here. NOT the values.\n   * Fill out the tomcat configurations as needed. Each entry is a hash. An example using environment variables is included in the context resources section.\n   * The last entry are the deployment WAR files.\n\n3. Go into the Jenkinsfile and change the Docker repository path to match their project.\n   - It will be docker.fs.usda.gov/\\\u003corg\u003e/\\\u003cproject\u003e_development in the container build section.\n   - Using our previous example it would be docker.fs.usda.gov/cfo/vipr\n\n4. Create Kubernetes files: (This likely requires help)\n   * A secrets yaml file with an entry for each environment variable - in each tier (And deploy them)\n   * A deployment file which contains a deployment and service object. The service file needs to be edited to reflect the assigned NodePort.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Ftomcat_automation_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fautostructure%2Ftomcat_automation_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fautostructure%2Ftomcat_automation_template/lists"}