{"id":19653695,"url":"https://github.com/brevdev/workspace-images","last_synced_at":"2025-02-27T01:41:48.877Z","repository":{"id":40419615,"uuid":"367462190","full_name":"brevdev/workspace-images","owner":"brevdev","description":null,"archived":false,"fork":false,"pushed_at":"2024-06-18T20:28:44.000Z","size":129279,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-10T00:18:35.829Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/brevdev.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":"2021-05-14T19:33:16.000Z","updated_at":"2024-06-18T20:28:48.000Z","dependencies_parsed_at":"2024-06-19T02:29:37.600Z","dependency_job_id":null,"html_url":"https://github.com/brevdev/workspace-images","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brevdev%2Fworkspace-images","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brevdev%2Fworkspace-images/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brevdev%2Fworkspace-images/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brevdev%2Fworkspace-images/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brevdev","download_url":"https://codeload.github.com/brevdev/workspace-images/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240962200,"owners_count":19885448,"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":["docker"],"created_at":"2024-11-11T15:14:54.455Z","updated_at":"2025-02-27T01:41:48.851Z","avatar_url":"https://github.com/brevdev.png","language":"Python","readme":"Images to be used for brev workspaces\n\n\n# Development\n\n## Useful commands\n\n```\n$ make dev-push-ubuntu-proxy tag=$(git rev-parse --short=6 HEAD)\n```\n\n```\n$ make dev-run-ubuntu-proxy tag=$(git rev-parse --short=6 HEAD)\n```\n\n```\n$ make dev-shell-ubuntu-proxy\n```\n\n## Release commands\n\nTo release, we create a new tag. When we rebuild the image, we download the latest version of the CLI.\n\n### 1) Get the current release version for `ubuntu-proxy`\n\nThis tell us which tag to use. Just bump the version up -- so here it would be `0.1.17` for the next version.\n\n```\n$ make prod-get-ubuntu-proxy\n\n```\n\nOutput:\n\n```\n{\n    \"Item\": {\n        \"image\": {\n            \"S\": \"brevdev/ubuntu-proxy:0.1.16\"\n        }\n    }\n}\n\n```\n\n### 2) Create new release\n\nUse the lastest tag. Here it would be `0.1.17`.\n\n```\n$ git tag 0.1.17\n$ git push origin 0.1.17\n```\n\n### Releasing to Admins Only\n\nRight now we auto update admin template when we release to prod. When making a custom admin release ensure you disable this behavior. Search for `admin -- auto deploys` in readme then comment out to remove.\n\nget the current release version for `ubuntu-proxy`\n\n```\n$ aws dynamodb get-item --table-name brev-deploy-prod  \\\n                        --key '{\"pk\": {\"S\": \"workspace_template:v7nd45zsc\"}, \"sk\": {\"S\": \"workspace_template\"}}' \\\n                        --region us-east-1 \\\n                        --projection-expression \"#I\" \\\n                        --expression-attribute-names '{ \"#I\": \"image\"}'\n\n```\n\nOutput:\n\n```\n{\n    \"Item\": {\n        \"image\": {\n            \"S\": \"brevdev/ubuntu-proxy:0.3.12-beta-setup\"\n        }\n    }\n}\n```\n\nCreate new release\n\n```\n$ make prod-admin-push-ubuntu-proxy tag=0.3.14-beta-setup\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrevdev%2Fworkspace-images","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrevdev%2Fworkspace-images","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrevdev%2Fworkspace-images/lists"}