{"id":20963103,"url":"https://github.com/jeff-vincent/orka-actions-down-org","last_synced_at":"2025-03-13T07:23:58.726Z","repository":{"id":65160286,"uuid":"481397229","full_name":"jeff-vincent/orka-actions-down-org","owner":"jeff-vincent","description":"Organization support for orka-actions-down","archived":false,"fork":false,"pushed_at":"2022-04-13T23:35:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-21T17:17:19.009Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jeff-vincent.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}},"created_at":"2022-04-13T22:54:01.000Z","updated_at":"2022-04-13T23:06:22.000Z","dependencies_parsed_at":"2023-01-13T15:43:50.244Z","dependency_job_id":null,"html_url":"https://github.com/jeff-vincent/orka-actions-down-org","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-vincent%2Forka-actions-down-org","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-vincent%2Forka-actions-down-org/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-vincent%2Forka-actions-down-org/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeff-vincent%2Forka-actions-down-org/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeff-vincent","download_url":"https://codeload.github.com/jeff-vincent/orka-actions-down-org/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243359850,"owners_count":20278266,"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":[],"created_at":"2024-11-19T02:41:31.765Z","updated_at":"2025-03-13T07:23:58.682Z","avatar_url":"https://github.com/jeff-vincent.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# orka-actions-down-org\n\nRun self-hosted, macOS workflows on MacStadium's Orka. \n\n## Overview\nThis action is intended to be paired with [`jeff-vincent/orka-actions-up-org@v1.0.0`](https://github.com/marketplace/actions/orka-actions-up-org) in order to pass iOS and macOS CI/CD jobs to ephemeral, self-hosted runners in [MacStadium's Orka](https://orkadocs.macstadium.com). \n\n[`jeff-vincent/orka-actions-up-org@v1.0.0`](https://github.com/marketplace/actions/orka-actions-up-org) is responsible for spinning up a fresh macOS VM in Orka, which then registers itself as a self-hosted runner with the help of the agent resources housed and detailed in [`jeff-vincent/orka-actions-connect`](https://github.com/jeff-vincent/orka-actions-connect). \n\nFinally, as shown in the example below, `jeff-vincent/orka-actions-down-org@v1.0.0` tears down the ephemeral macOS, self-hosted runner.\n\n## Example workflow\n\n```\non:\n  push:\n    branches:\n      - main\n\njobs:\n  job1:\n    runs-on: ubuntu-latest          # NOTE: both orka-actions-up and orka-actions-down run on `ubuntu-latest`\n    steps:\n    - name: Job 1\n      id: job1\n      uses: jeff-vincent/orka-actions-up-org@v1.0.0\n      with:\n        orkaUser: ${{ secrets.ORKA_USER }}\n        orkaPass: ${{ secrets.ORKA_PASS }}\n        orkaBaseImage: gha_bigsur_v3.img             # NOTE: this `.img` file is the agent that has been defined in Orka\n        githubPat: ${{ secrets.GH_PAT }}\n        githubOrg: example-org-1\n        vpnUser: ${{ secrets.VPN_USER }}\n        vpnPassword: ${{ secrets.VPN_PASSWORD }}\n        vpnAddress: ${{ secrets.VPN_ADDRESS }}\n        vpnServerCert: ${{ secrets.VPN_SERVER_CERT }}\n        vcpuCount: 6\n        coreCount: 6\n    outputs:\n      vm-name: ${{ steps.job1.outputs.vm-name }}\n         \n  job2:            # NOTE: this is where your macOS-based, GitHub Actions workflow will be executed.\n    needs: job1     \n    runs-on: [self-hosted, \"${{ needs.job1.outputs.vm-name }}\"]     # NOTE: this section of the workflow can contain any number of seperate jobs,\n    steps:                                                          # but each must have this `runs-on` value.\n    - name: Job 2\n      id: job2\n      run: |\n        sw_vers\n  job3:\n    if: always()\n    needs: [job1, job2]               # NOTE: all jobs you wish to run on the macOS instance, \n    runs-on: ubuntu-latest            # along with the `orka-actions-up` job, must be listed here.\n    steps:\n    - name: Job 3\n      id: job3\n      uses: jeff-vincent/orka-actions-down-org@v1.0.0\n      with:\n        orkaUser: ${{ secrets.ORKA_USER }}\n        orkaPass: ${{ secrets.ORKA_PASS }}\n        githubPat: ${{ secrets.GH_PAT }}\n        githubOrg: example-org-1\n        vpnUser: ${{ secrets.VPN_USER }}\n        vpnPassword: ${{ secrets.VPN_PASSWORD }}\n        vpnAddress: ${{ secrets.VPN_ADDRESS }}\n        vpnServerCert: ${{ secrets.VPN_SERVER_CERT }}\n        vmName: ${{ needs.job1.outputs.vm-name }}\n```\n\n## job2 example output\n\n```\nRun sw_vers\n  sw_vers\n  shell: /bin/bash -e {0}\nProductName:\tmacOS\nProductVersion:\t11.3\nBuildVersion:\t20E232\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-vincent%2Forka-actions-down-org","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeff-vincent%2Forka-actions-down-org","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeff-vincent%2Forka-actions-down-org/lists"}