{"id":18714113,"url":"https://github.com/dragonraid/deployment-bumper","last_synced_at":"2025-11-10T01:30:15.823Z","repository":{"id":43104314,"uuid":"302975188","full_name":"dragonraid/deployment-bumper","owner":"dragonraid","description":"Updates deployment related stuff in configuration files.","archived":false,"fork":false,"pushed_at":"2023-06-13T07:43:04.000Z","size":710,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-30T19:01:48.937Z","etag":null,"topics":["bumper","ubuntu","updater"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dragonraid.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":"2020-10-10T19:27:25.000Z","updated_at":"2022-02-01T06:35:10.000Z","dependencies_parsed_at":"2024-11-07T12:51:25.478Z","dependency_job_id":null,"html_url":"https://github.com/dragonraid/deployment-bumper","commit_stats":{"total_commits":23,"total_committers":3,"mean_commits":7.666666666666667,"dds":"0.21739130434782605","last_synced_commit":"3fdc8a0962d92e438492147efab571db1691302d"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonraid%2Fdeployment-bumper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonraid%2Fdeployment-bumper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonraid%2Fdeployment-bumper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dragonraid%2Fdeployment-bumper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dragonraid","download_url":"https://codeload.github.com/dragonraid/deployment-bumper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239576790,"owners_count":19662114,"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":["bumper","ubuntu","updater"],"created_at":"2024-11-07T12:51:16.389Z","updated_at":"2025-11-10T01:30:15.752Z","avatar_url":"https://github.com/dragonraid.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Deployment bumper\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)\n\nThis github action allows you to update deployment related stuff like OS images.\nIt does so by reading specified file in your repository updating respective\ndependency/version and opening pull request with this update to against default branch.\nSee _Types_ section to see, what can this action update.\n\n## Inputs\n\nEnvironment variables are used for inputs instead of actual github action inputs,\nbecause with environment variables local testing is more easier. In light of this,\nsupply your inputs like this:\n\n```yaml\nenv:\n  inputKey1: inputValue1\n  inputKey2: inputValue2\n  inputKey3: inputValue3\n```\n\n| Input          |                                 Description |                        Example | Required |\n| :------------- | ------------------------------------------: | -----------------------------: | -------: |\n| TYPE           |                              processor type |                       `ubuntu` |      yes |\n| FILE           |   path to file to be updated (JSON or YAML) |              `deploy/ami.json` |      yes |\n| KEY            |                   key in file to be updated |          `builders.source_ami` |      yes |\n| REPOSITORY     |                                  repository | `dragonraid/deployment-bumper` |      yes |\n| USERNAME       |                             github username |                   `dragonraid` |      yes |\n| PASSWORD       |    password or github personal access token |                         `xxxx` |      yes |\n| PRE_RUN_SCRIPT | shell script to execute before running type |                  `./prerun.sh` |       no |\n\n## Types\n\nThis section describes what can you update with this action.\n\n### Ubuntu image ID\n\n**TYPE: `ubuntu`**\n\nWith this type you can update ubuntu image ID in various public clouds.\nSee [Ubuntu locator page](https://cloud-images.ubuntu.com/locator/) for more details.\nIn this type you specify parameters by which this action finds specified image.\nBy default this type returns latest image based on your inputs:\n\n| Input         |                                           Description |      Example | Required |\n| :------------ | ----------------------------------------------------: | -----------: | -------: |\n| CLOUD         |                                     public cloud name | `Amazon AWS` |       no |\n| ZONE          | Data-center/region, terminology varies based on cloud |  `us-east-1` |       no |\n| VERSION       |                                        Ubuntu version |      `20.04` |       no |\n| ARCHITECTURE  |                                     architecture name |      `amd64` |       no |\n| INSTANCE_TYPE |         Virtualization details, varies based on cloud |    `hvm-ssd` |       no |\n| RELEASE       |            release (do not supply if you want latest) |   `20200924` |       no |\n\n#### Example\n\n```yaml\nname: update ubuntu base image\n\non:\n  schedule:\n    - cron:  '0 0 1 * *'\n\njobs:\n  update:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: update ubuntu AMI\n        uses: dragonraid/deployment-bumper\n        env:\n          TYPE: ubuntu\n          FILE: ami.json\n          REPOSITORY: dragonraid/test\n          USERNAME: ${{ secrets.username }}\n          PASSWORD: ${{ secrets.password }}\n          KEYS: image.id\n          CLOUD: Amazon AWS\n          ZONE: us-east-1\n          VERSION: '20.04'\n          ARCHITECTURE: amd64\n          INSTANCE_TYPE: hvm-ssd\n```\n\n### Helmfile lock\n\n**TYPE: `helmfile`**\n\nWith this type you can update [helmfile](https://github.com/roboll/helmfile) lock files.\nUnder the hood this type runs [helmfile deps](https://github.com/roboll/helmfile#deps) command.\n\n| Input       |                             Description | Example | Required |\n| :---------- | --------------------------------------: | ------: | -------: |\n| ENVIRONMENT | helmfile global options `--environment` | `myEnv` |       no |\n\n#### Example\n\n```yaml\nname: update helmfile lock\n\non:\n  schedule:\n    - cron:  '0 0 1 * *'\n\njobs:\n  update:\n    runs-on: ubuntu-20.04\n    steps:\n      - name: update helmfile.lock\n        uses: dragonraid/deployment-bumper\n        env:\n          TYPE: helmfile\n          FILE: helmfile.yaml\n          USERNAME: ${{ secrets.username }}\n          PASSWORD: ${{ secrets.password }}\n          ENVIRONMENT: staging\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragonraid%2Fdeployment-bumper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdragonraid%2Fdeployment-bumper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdragonraid%2Fdeployment-bumper/lists"}