{"id":8235711,"name":"stack-spot/runtime-github-action-iac","ecosystem":"actions","description":"Runs Runtime Action Iac with parameters","homepage":"https://www.stackspot.com/","licenses":"apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/stack-spot/runtime-github-action-iac","keywords_array":["cloud-runtime","code","github-actions","maintain","self-hosted","stackspot"],"namespace":"stack-spot","versions_count":2,"first_release_published_at":"2023-08-31T15:35:23.000Z","latest_release_published_at":"2023-08-31T18:31:55.000Z","latest_release_number":"v2","last_synced_at":"2026-03-27T15:10:43.705Z","created_at":"2023-09-05T14:09:20.238Z","updated_at":"2026-03-27T15:10:43.705Z","registry_url":"https://github.com/stack-spot/runtime-github-action-iac","install_command":null,"documentation_url":null,"metadata":{"name":"Run Runtime Action Iac","description":"Runs Runtime Action Iac with parameters","inputs":{"FEATURES_LEVEL_LOG":{"description":"Log Level","required":true},"CLIENT_ID":{"description":"CLIENT ID","required":true},"CLIENT_KEY":{"description":"CLIENT KEY","required":true},"CLIENT_REALM":{"description":"CLIENT REALM","required":true},"REPOSITORY_NAME":{"description":"Git Repository Name","required":false,"default":"${{ github.event.repository.name }}"},"AWS_ACCESS_KEY_ID":{"description":"AWS ACCESS KEY ID from console","required":false},"AWS_SECRET_ACCESS_KEY":{"description":"AWS SECRET ACCESS KEY from console","required":false},"AWS_SESSION_TOKEN":{"description":"AWS SESSION TOKEN from console","required":false},"AWS_REGION":{"description":"AWS REGION","required":true},"AWS_ROLE_ARN":{"description":"AWS ROLE ARN","required":false},"RUN_TASK_ID":{"description":"Runtime Run Task Id","required":true},"PATH_TO_MOUNT":{"description":"Path to mount inside the docker","required":false,"default":"${{ github.workspace }}"},"BASE_PATH_OUTPUT":{"description":"Base Path Output","required":false},"CONTAINER_URL":{"description":"IAC Container url","required":false,"default":"stackspot/runtime-job-iac:latest"},"CHECKOUT_BRANCH":{"description":"Whether or not checkout is enabled.","required":false,"default":"false"}},"runs":{"using":"composite","steps":[{"name":"Checkout","if":"inputs.CHECKOUT_BRANCH != 'false'","uses":"actions/checkout@v4"},{"name":"Check Runner","run":"echo 🤖 OS runner is $(uname)","shell":"bash"},{"name":"Configure aws credentials","id":"aws-cred","if":"${{ inputs.AWS_ROLE_ARN != 0 }}","uses":"aws-actions/configure-aws-credentials@v4","with":{"role-to-assume":"${{ inputs.AWS_ROLE_ARN }}","aws-region":"${{ inputs.AWS_REGION }}","output-credentials":true}},{"name":"Run Runtime Action Iac","run":"FLAGS=$(echo \"-v ${{ inputs.PATH_TO_MOUNT }}:/app-volume  \\\n-e FEATURES_LEVEL_LOG=${{ inputs.FEATURES_LEVEL_LOG }} \\\n-e AUTHENTICATE_CLIENT_ID=${{ inputs.CLIENT_ID }} \\\n-e AUTHENTICATE_CLIENT_SECRET=${{ inputs.CLIENT_KEY }} \\\n-e AUTHENTICATE_CLIENT_REALMS=${{ inputs.CLIENT_REALM }} \\\n-e AUTHENTICATE_URL=\"https://idm.stackspot.com\" \\\n-e FEATURES_API_MANAGER=\"https://runtime-manager.v1.stackspot.com\" \\\n-e REPOSITORY_NAME=${{ inputs.REPOSITORY_NAME }} \\\n-e AWS_REGION=${{ inputs.AWS_REGION }}\")\n\nif [ -z \"${{ inputs.AWS_ROLE_ARN }}\" ]; then\n  FLAGS=$(echo \"$FLAGS -e AWS_ACCESS_KEY_ID=${{ inputs.AWS_ACCESS_KEY_ID }}\")\n  FLAGS=$(echo \"$FLAGS -e AWS_SECRET_ACCESS_KEY=${{ inputs.AWS_SECRET_ACCESS_KEY }}\")\n  FLAGS=$(echo \"$FLAGS -e AWS_SESSION_TOKEN=${{ inputs.AWS_SESSION_TOKEN }}\")\nfi\n\nif [ ! -z \"${{ inputs.AWS_ROLE_ARN }}\" ]; then\n  FLAGS=$(echo \"$FLAGS -e AWS_ACCESS_KEY_ID=${{ steps.aws-cred.outputs.aws-access-key-id }}\")\n  FLAGS=$(echo \"$FLAGS -e AWS_SECRET_ACCESS_KEY=${{ steps.aws-cred.outputs.aws-secret-access-key }}\")\n  FLAGS=$(echo \"$FLAGS -e AWS_SESSION_TOKEN=${{ steps.aws-cred.outputs.aws-session-token }}\")\nfi\n\ndocker run --rm \\\n$FLAGS \\\n--entrypoint=/app/stackspot-runtime-job-iac \\\n${{ inputs.CONTAINER_URL }} start --run-task-id=\"${{ inputs.RUN_TASK_ID }}\" --base-path-output=\"${{ inputs.BASE_PATH_OUTPUT }}\"\n","shell":"bash"}]},"branding":{"icon":"terminal","color":"orange"},"default_branch":"main","path":null},"repo_metadata":{"id":191903645,"uuid":"682232122","full_name":"stack-spot/runtime-iac-action","owner":"stack-spot","description":"StackSpot Action to perform IAC Self Hosted run task processes","archived":false,"fork":false,"pushed_at":"2024-08-27T22:05:41.000Z","size":60,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-08-28T19:28:11.035Z","etag":null,"topics":["cloud-runtime","code","github-actions","maintain","self-hosted","stackspot"],"latest_commit_sha":null,"homepage":"https://www.stackspot.com/","language":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-08-23T18:20:31.000Z","updated_at":"2024-08-27T18:57:36.000Z","dependencies_parsed_at":"2023-12-15T09:28:15.901Z","dependency_job_id":"f418f4f5-5f76-498d-986b-1db75bd5cf04","html_url":"https://github.com/stack-spot/runtime-iac-action","commit_stats":null,"previous_names":["stack-spot/runtime-github-action-iac","stack-spot/runtime-iac-action"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot","download_url":"https://codeload.github.com/stack-spot/runtime-iac-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":218864593,"owners_count":16400252,"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"},"owner_record":{"login":"stack-spot","name":"StackSpot","uuid":"80908571","kind":"organization","description":"Build applications with speed and confidence.","email":"contact@stackspot.com","website":"https://stackspot.com","location":"Brazil","twitter":"stackspot","company":null,"icon_url":"https://avatars.githubusercontent.com/u/80908571?v=4","repositories_count":40,"last_synced_at":"2023-03-05T08:58:45.379Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/stack-spot","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-15T10:05:13.532Z","updated_at":"2023-03-05T08:58:45.382Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stack-spot/repositories"},"tags":[{"name":"v2","sha":"864be049d3e03fe543a00562cb5dc1a32a6b6629","kind":"commit","published_at":"2023-08-31T18:31:55.000Z","download_url":"https://codeload.github.com/stack-spot/runtime-iac-action/tar.gz/v2","html_url":"https://github.com/stack-spot/runtime-iac-action/releases/tag/v2","dependencies_parsed_at":"2023-09-07T04:26:38.386Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/tags/v2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/tags/v2/manifests"},{"name":"v1","sha":"d47cf14965c48fd186f3bdc3f359307c4ba8d95c","kind":"commit","published_at":"2023-08-31T15:35:23.000Z","download_url":"https://codeload.github.com/stack-spot/runtime-iac-action/tar.gz/v1","html_url":"https://github.com/stack-spot/runtime-iac-action/releases/tag/v1","dependencies_parsed_at":"2023-09-07T04:26:39.536Z","dependency_job_id":null,"tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/tags/v1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stack-spot%2Fruntime-iac-action/tags/v1/manifests"}]},"repo_metadata_updated_at":"2024-09-13T23:10:53.312Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":2,"rankings":{"downloads":null,"dependent_repos_count":20.573601647916337,"dependent_packages_count":0.0,"stargazers_count":48.261765171922036,"forks_count":35.11012517826018,"docker_downloads_count":null,"average":25.98637299952464},"purl":"pkg:githubactions/stack-spot/runtime-github-action-iac","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/stack-spot/runtime-github-action-iac","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/stack-spot/runtime-github-action-iac","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/stack-spot/runtime-github-action-iac/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":null,"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stack-spot%2Fruntime-github-action-iac/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stack-spot%2Fruntime-github-action-iac/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stack-spot%2Fruntime-github-action-iac/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stack-spot%2Fruntime-github-action-iac/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/stack-spot%2Fruntime-github-action-iac/codemeta","maintainers":[]}