{"id":26909870,"url":"https://github.com/stack-spot/runtime-rollback-action","last_synced_at":"2025-04-01T13:29:50.016Z","repository":{"id":254335248,"uuid":"837327071","full_name":"stack-spot/runtime-rollback-action","owner":"stack-spot","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-27T13:06:56.000Z","size":41,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-27T14:23:32.455Z","etag":null,"topics":["code"],"latest_commit_sha":null,"homepage":"","language":"Python","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/stack-spot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-02T17:55:01.000Z","updated_at":"2025-03-27T13:07:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6154738-803c-4bfe-9b7f-ebc28ab06de3","html_url":"https://github.com/stack-spot/runtime-rollback-action","commit_stats":null,"previous_names":["stack-spot/runtime-rollback-action"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-rollback-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-rollback-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-rollback-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-rollback-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot","download_url":"https://codeload.github.com/stack-spot/runtime-rollback-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246647107,"owners_count":20811254,"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":["code"],"created_at":"2025-04-01T13:29:49.461Z","updated_at":"2025-04-01T13:29:50.005Z","avatar_url":"https://github.com/stack-spot.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runtime-rollback-action\n\nGitHub action to authenticate and consume StackSpot Runtime API to perform self-hosted rollback to a target version or tag.\n\n_**Note**: This action is supported on all runners operating systems (`ubuntu`, `macos`, `windows`)_\n\n## 📚 Usage\n\n### Requirements\n\nTo get the account keys (`CLIENT_ID`, `CLIENT_KEY` and `CLIENT_REALM`), please login using a **ADMIN** user on the [StackSpot Portal](https://stackspot.com), and generate new keys at [https://stackspot.com/en/settings/access-token](https://stackspot.com/en/settings/access-token).\n\n### Use Case\n\n```yaml\n    steps:\n      - uses: stack-spot/runtime-rollback-action@v1\n        id: run\n        with:\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_KEY: ${{ secrets.CLIENT_KEY }}\n          CLIENT_REALM: ${{ secrets.CLIENT_REALM }}\n          WORKSPACE: my_workspace\n          ENVIRONMENT: my_environment\n          VERSION_TAG: my_tag\n          TF_STATE_BUCKET_NAME: my_bucket\n          TF_STATE_REGION: region\n          IAC_BUCKET_NAME: my_bucket\n          IAC_REGION: region\n          VERBOSE: true # not mandatory\n          WORKDIR: ./my-folder # not mandatory\n\n      - name: Check Run Tasks Data\n        run: echo \"Tasks = ${{ steps.run.outputs.tasks }}\"\n        shell: bash\n```\n\n* * *\n\n## ▶️ Action Inputs\n\nField | Mandatory | Default Value | Observation\n------------ | ------------  | ------------- | -------------\n**CLIENT_ID** | YES | N/A | [StackSpot](https://stackspot.com/en/settings/access-token) Client ID.\n**CLIENT_KEY** | YES | N/A |[StackSpot](https://stackspot.com/en/settings/access-token) Client KEY.\n**CLIENT_REALM** | YES | N/A |[StackSpot](https://stackspot.com/en/settings/access-token) Client Realm.\n**WORKSPACE** | YES | N/A | StackSpot Workspace where the project has been registered.\n**ENVIRONMENT** | YES | N/A | StackSpot Environment where the project will be deployed.\n**VERSION_TAG** | YES | N/A | Rollback intended tag\n**TF_STATE_BUCKET_NAME** | YES | N/A | AWS S3 Bucket name where the generated tfstate files will be stored.\n**TF_STATE_REGION** | YES | N/A | AWS region where the TF State will be stored (e.g: `us-east-1`).\n**IAC_BUCKET_NAME** | YES | N/A | AWS S3 Bucket name where the generated IaC files will be stored.\n**IAC_REGION** | YES | N/A | AWS region where the IaC will be stored (e.g: `us-east-1`).\n**VERBOSE** | NO | `false` | Whether to show extra logs during execution. (e.g: `true`).\n**BRANCH** | NO | N/A | Repository branch to checkout if necessary (e.g: `main`).\n\n* * *\n\n## License\n\n[Apache License 2.0](https://github.com/stack-spot/runtime-manager-action/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fruntime-rollback-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstack-spot%2Fruntime-rollback-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fruntime-rollback-action/lists"}