{"id":18646474,"url":"https://github.com/ammbra/crafty-goblin","last_synced_at":"2025-08-11T20:13:13.363Z","repository":{"id":197466862,"uuid":"696224980","full_name":"ammbra/crafty-goblin","owner":"ammbra","description":"Contains 2 sample projects configured with DevSpace and Skaffold.","archived":false,"fork":false,"pushed_at":"2024-02-10T18:07:24.000Z","size":6330,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-02T18:51:16.714Z","etag":null,"topics":["development-tools","devspace","skaffold"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"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/ammbra.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}},"created_at":"2023-09-25T10:44:31.000Z","updated_at":"2025-03-09T14:03:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"41f9cc34-a8b1-403c-bde9-45ef27a92326","html_url":"https://github.com/ammbra/crafty-goblin","commit_stats":null,"previous_names":["ammbra/crafty-goblin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ammbra/crafty-goblin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammbra%2Fcrafty-goblin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammbra%2Fcrafty-goblin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammbra%2Fcrafty-goblin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammbra%2Fcrafty-goblin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ammbra","download_url":"https://codeload.github.com/ammbra/crafty-goblin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ammbra%2Fcrafty-goblin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269948859,"owners_count":24501821,"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-11T02:00:10.019Z","response_time":75,"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":["development-tools","devspace","skaffold"],"created_at":"2024-11-07T06:20:09.984Z","updated_at":"2025-08-11T20:13:13.331Z","avatar_url":"https://github.com/ammbra.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DevSpace vs Skaffold demo code\n\nThis repository contains the application code and setup used to inspect DevSpace vs Skaffold capabilities for iterative development.\n\n## Working with DevSpace\n\nProject [task-buddy](https://github.com/ammbra/crafty-goblin/tree/main/task-buddy) contains the application on which DevSpace was demonstrated. Script `setup.sh` is based on this example: https://github.com/devspace-sh/devspace/tree/main/examples/spring-boot-mysql\n\n### Generate the k8s manifests\n\nThe project contains the spring dekorate.io dependency:\n\n```xml\n       \u003cdependency\u003e\n            \u003cgroupId\u003eio.dekorate\u003c/groupId\u003e\n            \u003cartifactId\u003ekubernetes-spring-starter\u003c/artifactId\u003e\n            \u003cversion\u003e3.7.0\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\nand the following configuration in _aplication.properties_:\n\n```text\ndekorate.docker.registry=ghcr.io\ndekorate.docker.group=ammbra\ndekorate.docker.name=task-buddy\ndekorate.docker.version=1.0\ndekorate.docker.auto-push-enabled=false # disable image push\ndekorate.docker.auto-build-enabled=false # disable image build\ndekorate.output-path=../../k8s  # overwrite default path where the kubernetes manifests are generated\n```\n\nYou can also generate Kubernetes manifests inside _k8s_ folder (or any other folder of your liking) by running:\n\n`mvn verify -Ddekorate.build=true --Ddekorate.output-path=../../k8s\".\n\nBy default Dekorate generates the kubernetes manifests under _target/classes_, so `-Ddekorate.output-path` instructs Dekorate to create them in a directory relative to that path.\n\n### Start the dev mode\n\nRun the following command to build a container image for your local development:\n\n`devspace build -t 1.0.0 --var=TARGET=build` or its equivalent with `devspace build-dev`\n\nThen just execute in a terminal `devspace dev`.\n\nNext, you can execute `devspace ui` to see the commands that you can run in this project.\n\n\n### Deploy and rollback  an application\n\nYou can build a production image by running: \n\n`devspace build-prod`\n\nDeploy the application using: \n\n`devspace deploy`\n\nIn case of errors, run `devspace run-pipeline rollback`.\n\n## Working with Skaffold\n\nProject [task-pal](https://github.com/ammbra/crafty-goblin/tree/main/task-pal) contains the application on which Skaffold was demonstrated.\n\n\n### Generate the k8s manifests\n\nThe project contains the spring dekorate.io dependency:\n\n```xml\n       \u003cdependency\u003e\n            \u003cgroupId\u003eio.dekorate\u003c/groupId\u003e\n            \u003cartifactId\u003ekubernetes-spring-starter\u003c/artifactId\u003e\n            \u003cversion\u003e3.7.0\u003c/version\u003e\n        \u003c/dependency\u003e\n```\n\nand the following configuration in _aplication.properties_:\n\n```text\ndekorate.docker.registry=ghcr.io\ndekorate.docker.group=ammbra\ndekorate.docker.name=task-pal\ndekorate.docker.version=1.0\ndekorate.docker.auto-push-enabled=false # disable image push\ndekorate.docker.auto-build-enabled=false # disable image build\ndekorate.output-path=../../k8s  # overwrite default path where the kubernetes manifests are generated\n```\n\nYou can also generate Kubernetes manifests inside _k8s_ folder (or any other folder of your liking) by running:\n\n`mvn verify -Ddekorate.build=true --Ddekorate.output-path=../../k8s\".\n\nBy default Dekorate generates the kubernetes manifests under _target/classes_, so `-Ddekorate.output-path` instructs Dekorate to create them in a directory relative to that path.\n\n### Start the dev mode\n\nRun the following command to start development mode:\n\n`skaffold dev --default-repo=localhost:5000 -p dev --port-forward`. \n\n\n### Deploy an application\n\nYou can build a production image by running: \n\n`skaffold deploy -p prod -t 1.0`\n\nDeploy the application using: \n\nIn case of errors, run `skaffold debug` and attach a remote debugger to the application.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammbra%2Fcrafty-goblin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fammbra%2Fcrafty-goblin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fammbra%2Fcrafty-goblin/lists"}