{"id":26909898,"url":"https://github.com/stack-spot/runtime-deploy-action","last_synced_at":"2025-04-01T13:29:55.318Z","repository":{"id":191903594,"uuid":"682232270","full_name":"stack-spot/runtime-deploy-action","owner":"stack-spot","description":"StackSpot Action to perform DEPLOY Self Hosted run task processes","archived":false,"fork":false,"pushed_at":"2024-04-12T20:24:06.000Z","size":115,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-04-13T10:57:15.683Z","etag":null,"topics":["github-actions","runtime","self-hosted","stackspot"],"latest_commit_sha":null,"homepage":"https://www.stackspot.com/","language":"Dockerfile","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/stack-spot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-08-23T18:20:50.000Z","updated_at":"2024-04-15T14:09:48.889Z","dependencies_parsed_at":"2024-02-28T21:27:20.090Z","dependency_job_id":"dc3bce9f-c583-43dc-b199-fe53b2d5dfa5","html_url":"https://github.com/stack-spot/runtime-deploy-action","commit_stats":null,"previous_names":["stack-spot/runtime-github-action-deploy","stack-spot/runtime-deploy-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-deploy-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-deploy-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-deploy-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-deploy-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot","download_url":"https://codeload.github.com/stack-spot/runtime-deploy-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246647129,"owners_count":20811258,"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":["github-actions","runtime","self-hosted","stackspot"],"created_at":"2025-04-01T13:29:54.751Z","updated_at":"2025-04-01T13:29:55.291Z","avatar_url":"https://github.com/stack-spot.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# runtime-deploy-action\n\n[![Action test Ubuntu](https://github.com/stack-spot/runtime-github-action-ping/actions/workflows/action-test-ubuntu.yaml/badge.svg)](https://github.com/stack-spot/runtime-github-action-ping/actions/workflows/action-test-ubuntu.yaml)\n\nGitHub action to run StackSpot Runtime Deploy Worker.\n\n_**Note**: This action is supported on debian/RHEl like systems_\n\n## 📚 Usage\n\n### Requirements\n\n### Use Case\n\nCheck how to implement the orchestration job using the [runtime-manager-action](https://github.com/stack-spot/runtime-manager-action)\n\n```yaml\njobs:\n  job1:\n    runs-on: ubuntu-latest\n    needs: [orchestration]\n    strategy:\n       matrix:\n         task: ${{ fromJSON(needs.orchestration.outputs.tasks) }}\n       fail-fast: true\n       max-parallel: 1\n    steps:\n      - name: DEPLOY\n        if: contains( matrix.task.taskType , 'DEPLOY')\n        uses: stack-spot/runtime-deploy-action@v2.3\n        with:\n          FEATURES_LEVEL_LOG: debug\n          CLIENT_ID: ${{ secrets.CLIENT_ID }}\n          CLIENT_KEY: ${{ secrets.CLIENT_KEY }}\n          CLIENT_REALM: ${{ secrets.CLIENT_REALM }}\n          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          AWS_SESSION_TOKEN: ${{ secrets.AWS_SESSION_TOKEN }}\n          AWS_ROLE_ARN: ${{ secrets.AWS_ROLE_ARN }}\n          AWS_REGION: sa-east-1\n          REPOSITORY_NAME: my-repository-name \n          RUN_TASK_ID: ${{ matrix.task.runTaskId }}\n          CONTAINER_URL: my/container-url # not mandatory\n          FEATURES_TERRAFORM_MODULES: ... # not mandatory\n          OUTPUT_FILE: outputs_file_name.json # not mandatory\n          PATH_TO_MOUNT: path/to/mount\n          LOCALEXEC_ENABLED: true # not mandatory\n          TF_LOG_PROVIDER: info # not mandatory\n          CHECKOUT_BRANCH: 'true' # not mandatory\n```\n\n* * *\n\n## ▶️ Action Inputs\n\nField | Mandatory | Observation\n------------ | ------------  | -------------\n**FEATURES_LEVEL_LOG** | YES | Log Level\n**CLIENT_ID** | YES | [StackSpot](https://stackspot.com/en/settings/access-token) Client ID.\n**CLIENT_KEY** | YES | [StackSpot](https://stackspot.com/en/settings/access-token) Client KEY.\n**CLIENT_REALM** | YES | [StackSpot](https://stackspot.com/en/settings/access-token) Client Realm.\n**AWS_ACCESS_KEY_ID** | NO | [AWS](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) Access Key ID\n**AWS_SECRET_ACCESS_KEY** | NO | [AWS](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) Secret Access Key\n**AWS_SESSION_TOKEN** | NO | [AWS](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) Session Token\n**AWS_ROLE_ARN** | NO | AWS IAM ROLE (necessary if AWS credentials not informed)\n**AWS_REGION** | YES | AWS region where resources with be provisioned. Used for tf backend as well (e.g: `us-east-1`).\n**RUN_TASK_ID** | YES | StackSpot Runtime task id to be executed, according to [runtime-manager-action](https://github.com/stack-spot/runtime-manager-action).\n**REPOSITORY_NAME** | YES | Repository name to checkout during task process.\n**CONTAINER_URL** | NO | Container url reference (e.g `stackspot/image`)\n**FEATURES_TERRAFORM_MODULES** | NO | List of external terraform modules allowed\n**PATH_TO_MOUNT** | YES | Path provided to be used as a volume within the docker image that will be used with terraform\n**OUTPUT_FILE** | NO | Filename where outputs will be saved (default value: `outputs.json`)\n**LOCALEXEC_ENABLED** | NO | Whether or not terraform will be enable to perform local exec operations or not (default: `false`)\n**TF_LOG_PROVIDER** | NO | If there is a need to check Terraform's own log, it is now possible to pass the levels of the Terraform provider, allowing you to analyze what happens within Terraform's CLI (info, trace, debug and warn).\n**CHECKOUT_BRANCH** | NO  | Whether or not checkout is enabled. (default: `'false'`)\n\n* * *\n\n## License\n\n[Apache License 2.0](https://github.com/stack-spot/runtime-github-action-deploy/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fruntime-deploy-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstack-spot%2Fruntime-deploy-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstack-spot%2Fruntime-deploy-action/lists"}