{"id":19095106,"url":"https://github.com/shopsys/gcp-ssfw-deployer","last_synced_at":"2025-08-13T22:13:28.192Z","repository":{"id":95246434,"uuid":"210529999","full_name":"shopsys/gcp-ssfw-deployer","owner":"shopsys","description":"Internal scripts for managing GCP instance of Shopsys Platform ready for stress testing","archived":false,"fork":false,"pushed_at":"2022-06-08T10:42:36.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-02-22T08:30:02.381Z","etag":null,"topics":["google-cloud","shopsys-framework","shopsys-platform"],"latest_commit_sha":null,"homepage":"https://www.shopsys.com","language":"Shell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shopsys.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-24T06:38:48.000Z","updated_at":"2024-02-08T16:55:51.000Z","dependencies_parsed_at":"2023-03-20T21:15:29.435Z","dependency_job_id":null,"html_url":"https://github.com/shopsys/gcp-ssfw-deployer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/shopsys/gcp-ssfw-deployer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fgcp-ssfw-deployer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fgcp-ssfw-deployer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fgcp-ssfw-deployer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fgcp-ssfw-deployer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shopsys","download_url":"https://codeload.github.com/shopsys/gcp-ssfw-deployer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shopsys%2Fgcp-ssfw-deployer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270325036,"owners_count":24564981,"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-08-13T02:00:09.904Z","response_time":66,"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":["google-cloud","shopsys-framework","shopsys-platform"],"created_at":"2024-11-09T03:32:47.769Z","updated_at":"2025-08-13T22:13:28.130Z","avatar_url":"https://github.com/shopsys.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCP SSFW Deployer\n\nInternal package. Designed to automated deploying scalable ecommerce platform [Shopsys Framework (SSFW)](https://github.com/shopsys/shopsys) into [Google Cloud Platform (GCP)](https://cloud.google.com/gcp/) for performance and stress tests.\n\nThere are scripts for easy managing GCP. Those scripts enables you to:\n\n* create a single virtual machine and run SSFW via docker-compose (load huge amount of data are loaded into SSFW and set production environment)\n* delete whole instance on GCP\n\n## Usage\n### Deploying a new instance\n\n```bash\ndocker run \\\n    -e PROJECT_ID \\\n    -e GOOGLE_CLOUD_ZONE \\\n    -e INSTANCE_NAME \\\n    -e SERVICE_ACCOUNT_LOGIN \\\n    -e GIT_BRANCH \\\n    -e BUILD_NUMBER \\\n    -v \u003c\u003cpath/to/your/srvice-account.json\u003e\u003e:/tmp/infrastructure/google-cloud/service-account.json \\\n    -v \"${WORKSPACE}/build-${BUILD_NUMBER}/\":\"/code/build-${BUILD_NUMBER}/\" \\\n    -v \"${WORKSPACE}/src\":/src \\\n    --rm \\\n    google/cloud-sdk:slim \\\n    /src/deployer.sh\n```\n\n#### ENV variable explanation:\n\n- `PROJECT_ID` - Google Cloud Project ID\n- `GOOGLE_CLOUD_ZONE` - Google Cloud Zone \n- `INSTANCE_NAME` - VM instance name in Google Cloud (it is recommended to be unique to prevent conflicts)\n- `SERVICE_ACCOUNT_LOGIN` - Google Cloud service account username \n- `GIT_BRANCH` - Specify the branch you want to put under the stress\n- `BUILD_NUMBER` - Number of current build\n- `WORKSPACE` - Current workdir\n\n### Removing an existing instance\n\n```bash\ndocker run \\\n    -e PROJECT_ID \\\n    -e GOOGLE_CLOUD_ZONE \\\n    -e INSTANCE_NAME \\\n    -v \u003c\u003cpath/to/your/srvice-account.json\u003e\u003e:/tmp/infrastructure/google-cloud/service-account.json \\\n    -v \"${WORKSPACE}/src\":/src \\\n    --rm \\\n    google/cloud-sdk:slim \\\n    /src/destroyer.sh \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fgcp-ssfw-deployer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshopsys%2Fgcp-ssfw-deployer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshopsys%2Fgcp-ssfw-deployer/lists"}