{"id":48026281,"url":"https://github.com/binbashar/le-docker-leverage-toolbox","last_synced_at":"2026-04-04T13:50:36.495Z","repository":{"id":64795988,"uuid":"523348582","full_name":"binbashar/le-docker-leverage-toolbox","owner":"binbashar","description":"Docker image for https://github.com/binbashar/leverage","archived":false,"fork":false,"pushed_at":"2025-05-15T20:01:46.000Z","size":298,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-15T21:23:04.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/binbashar.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"binbashar"}},"created_at":"2022-08-10T13:10:31.000Z","updated_at":"2025-05-05T21:19:15.000Z","dependencies_parsed_at":"2023-11-13T15:27:49.490Z","dependency_job_id":"8d5a9de2-77e7-4ddd-b365-958e53b4a666","html_url":"https://github.com/binbashar/le-docker-leverage-toolbox","commit_stats":null,"previous_names":[],"tags_count":75,"template":false,"template_full_name":null,"purl":"pkg:github/binbashar/le-docker-leverage-toolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-docker-leverage-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-docker-leverage-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-docker-leverage-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-docker-leverage-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/binbashar","download_url":"https://codeload.github.com/binbashar/le-docker-leverage-toolbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/binbashar%2Fle-docker-leverage-toolbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31402276,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: 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":"2026-04-04T13:50:35.139Z","updated_at":"2026-04-04T13:50:36.476Z","avatar_url":"https://github.com/binbashar.png","language":"Shell","funding_links":["https://github.com/sponsors/binbashar"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://raw.githubusercontent.com/binbashar/le-ref-architecture-doc/master/docs/assets/images/logos/binbash-leverage-banner.png\" \n    alt=\"drawing\" width=\"100%\"/\u003e\n\u003c/div\u003e\n\n# le-docker-leverage\n\n![GitHub](https://img.shields.io/github/license/binbashar/le-docker-leverage.svg)\n![GitHub language count](https://img.shields.io/github/languages/count/binbashar/le-docker-leverage.svg)\n![GitHub top language](https://img.shields.io/github/languages/top/binbashar/le-docker-leverage.svg)\n![GitHub repo size](https://img.shields.io/github/repo-size/binbashar/le-docker-leverage.svg)\n![GitHub issues](https://img.shields.io/github/issues/binbashar/le-docker-leverage.svg)\n![GitHub closed issues](https://img.shields.io/github/issues-closed/binbashar/le-docker-leverage.svg)\n![GitHub pull requests](https://img.shields.io/github/issues-pr/binbashar/le-docker-leverage.svg)\n![GitHub closed pull requests](https://img.shields.io/github/issues-pr-closed/binbashar/le-docker-leverage.svg)\n![GitHub release](https://img.shields.io/github/release/binbashar/le-docker-leverage.svg)\n![GitHub Release Date](https://img.shields.io/github/release-date/binbashar/le-docker-leverage.svg)\n![GitHub contributors](https://img.shields.io/github/contributors/binbashar/le-docker-leverage.svg)\n\n![GitHub followers](https://img.shields.io/github/followers/binbashar.svg?style=social)\n![GitHub forks](https://img.shields.io/github/forks/binbashar/le-docker-leverage.svg?style=social)\n![GitHub stars](https://img.shields.io/github/stars/binbashar/le-docker-leverage.svg?style=social)\n![GitHub watchers](https://img.shields.io/github/watchers/binbashar/le-docker-leverage.svg?style=social)\n\n# Release Management\n\n### CircleCi PR auto-release job\n\u003cdiv align=\"left\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/binbashar/le-docker-leverage/master/%40doc/figures/circleci.png\" alt=\"leverage-circleci\" width=\"130\"/\u003e\n\u003c/div\u003e\n\n- ### 🚀 [**\u003e\u003e View Releases here \u003c\u003c**](https://github.com/binbashar/le-docker-leverage/releases) 🚀\n- [**pipeline-job**](https://app.circleci.com/pipelines/github/binbashar/le-docker-leverage) (**NOTE:** Will only run after merged PR)\n- [**changelog**](https://github.com/binbashar/le-docker-leverage/blob/master/CHANGELOG.md) \n\n# Version bumping process\n\n*This process will be automated in the furure.*\n\nFor now is manual, but there is a check, when image built is requested, verifying whether or not the version was bumped.\n\nContainer image tagging or versioning process is as follows:\n\n- Image tag is composed of \u003cTOFU_VERSION\u003e-\u003cLEVERAGE_TOOLBOX_IMAGE_VERSION\u003e\n- The full name then is *binbash/leverage-toolbox:\u003cTOFU_VERSION\u003e-\u003cLEVERAGE_TOOLBOX_IMAGE_VERSION\u003e*\n- When bumping version (tag):\n  - If TOFU_VERSION has changed:\n    - LEVERAGE_TOOLBOX_IMAGE_VERSION = 0.0.1\n  - If TOFU_VERSION has not changed:\n    - LEVERAGE_TOOLBOX_IMAGE_VERSION is bumped (using semver as needed)\n    \nE.g., given image *binbash/leverage-toolbox:1.2.1-0.0.1*:\n\n- We know it contains Terraform 1.2.1 and it is the first iteration for this toolbox set.\n- If something other than Terraform is updated the LEVERAGE_TOOLBOX_IMAGE_VERSION is bumped, e.g.:\n  - *binbash/leverage-toolbox:1.2.1-0.0.2* or *binbash/leverage-toolbox:1.2.1-0.1.0* (these examples are a patch and a minor)\n- If Terraform is updated then LEVERAGE_TOOLBOX_IMAGE_VERSION is reset and TOFU_VERSION is bumped accordingly to the Terraform version, e.g.:\n  - *binbash/leverage-toolbox:1.2.2-0.0.1* or *binbash/leverage-toolbox:1.3.0-0.0.1*\n\nAnother example, e.g., given image *binbash/leverage-toolbox:1.2.1-0.5.3*:\n\n- We know it contains Terraform 1.2.1 and it is the iteration 0.5.3 for the toolbox set.\n- If something other than Terraform is updated the LEVERAGE_TOOLBOX_IMAGE_VERSION is bumped, e.g.:\n  - *binbash/leverage-toolbox:1.2.1-0.5.4* or *binbash/leverage-toolbox:1.2.1-0.6.0* (these examples are a patch and a minor)\n- If Terraform is updated then LEVERAGE_TOOLBOX_IMAGE_VERSION is reset and TOFU_VERSION is bumped accordingly to the Terraform version, e.g.:\n  - *binbash/leverage-toolbox:1.2.2-0.0.1* or *binbash/leverage-toolbox:1.3.0-0.0.1*\n\n## Where to change it?\n\nIn the `Makefile`:\n\n``` shell\n# ###############################################################\n# TOFU AND CLI VERSIONS                                         #\n# ###############################################################\n# The LEVERAGE_CLI_TAG should be set per TOFU_TAG\n# e.g. if you have TOFU 1.6.0 and LEVERAGE 0.0.1 and\n# you update some script other that tofu in the image\n# the LEVERAGE tag should be upgraded, let's say to 0.0.2\n# But if then you update the tofu tag to 1.3.0 the\n# LEVERAGE tag should be reset but used under this new\n# tofu tag, e.g. 1.6.0 and 0.0.1\n# The resulting images should be:\n# 1.2.1-0.0.1\n# 1.2.1-0.0.2\n# 1.3.0-0.0.1\nTOFU_TAG         := 1.6.0\nLEVERAGE_CLI_TAG := 0.0.2\n```\n\n**NOTE** In any case, as a rule of thumb no version (tag) has to be pushed into the image repository if it already exists there.\n\n# Dev and Deploy\n\nThe container image components are, basically, the `Dockerfile` and the `scripts/*`.\n\nThen, there is a Makefile and a few other configuration files for tools.\n\n*Note* for an image to be built the version (a.k.a. the image tag) has to change!\n\n## Pipelines\n\nCircleCi pipelines are being used.\n\nThere are two basic pipelines: SumoLogic tests and BuildDeploy.\n\nThe first one will be triggered in any modification.\n\nThe second one, will be only when `Dockerfile`, `scripts/*` or `Makefile` are changed.\n\n## Basic Procedure\n\n- 1. create your working branch\n- 2. do your changes\n- 3. if any of `Dockerfile`, `scripts/*` or `Makefile` were modified then bump the version\n- 4. create a PR (add labels!)\n- 5. merge the PR\n\nIf none of the files listed in 3 were modified (e.g. only README.md changed), the PR can be merged and no image will be deployed.\n\nFinally the image can be found [here](https://hub.docker.com/r/binbash/leverage-toolbox/tags).\n\n# Working locally\n\nRequirements: some container engine up and running.\n\n``` shell\ngit clone git@github.com:binbashar/le-docker-leverage-toolbox.git\ncd le-docker-leverage-toolbox\nmake init-makefiles\n# only for building the image\nmake build-local\n# or just for testing\nmake test-local\n```\n\n# TODO List\n\n- [TODO] [2022/08/25] Check CircleCI-Slack connection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbashar%2Fle-docker-leverage-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbinbashar%2Fle-docker-leverage-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbinbashar%2Fle-docker-leverage-toolbox/lists"}