The ultimate quick start
If you want to skip the detailed explanations, just run through these steps on your own:- Review the list of available integrations at Orka Tools & Integrations and choose the one you want to use.
- Create a service account and get a token.
- List the available VMs and images.
- Create an SSH-enabled VM config for your workflow with the API.
- Complete the CI/CD integration setup as per its instructions.
- users with basic Orka knowledge and basic or advanced knowledge about their preferred CI/CD provider
- users with workflows that require automation
1. Before you begin
- Make sure you can access the account for your cluster in the MacStadium Customer Portal. See Cluster Access Management: Overview.
- Get your VPN connection information from your IP Plan. You can download it from the MacStadium portal.
- Connect to your Orka cluster via VPN. Make sure that your CI/CD integration can reach the cluster via VPN.
- Download and install a VPN client. Note that if you’re using a custom Orka domain, you might need to make some additional configuration changes.
- Use the server address and credentials from the VPN section at the top of your IP Plan.
- Install the Orka3 CLI on your system.
2. Some Orka CI/CD basics
- CI/CD integrations must target your Orka API URL. If you are using an Orka domain or an external custom domain, you must ensure that the CI/CD integration can resolve the domain.
- For clusters deployed before Orka 2.1, it’s the
.100address for yourPrivate-1network (usually,10.221.188.100), prefixed withhttp. For example:http://10.221.188.100. - For clusters deployed with Orka 2.1 or later, it’s the
.20address for yourPrivate-1network (usually10.221.188.20). prefixed withhttp. For example:http://10.221.188.20. - You can also use
https://<orka-domain>andhttps://<custom-domain>(if configured). To get the Orka domain for your Orka cluster, contact MacStadium. To use an external custom domain, see here.
http://<orka-IP>, https://<orka-domain>, and https://<custom-domain> interchangeably in your workflows.
- Most CI/CD integrations rely on SSH to connect to the VM where your builds run.
- Most CI/CD integrations provide both permanent and ephemeral build agents.
3. Pick your CI/CD integration
Go to Orka Tools & Integrations and review the latest list of available integrations. Pick the one you want to use and navigate to its detailed setup instructions (usually available in the respective repo or official integration page).4. Create a service account and get a token
Orka clusters now require authentication via Single Sign-On or via service account token. Service accounts are intended for use with CI/CD integrations. They don’t require username/password credentials to log in and let CI/CD integrations bypass the browser login via the Orka3 CLI. The tokens for service accounts also have an extended duration of 1 year.orka-default namespace and obtain a valid token for it. If you need your CI/CD integration to be able to work in additional namespaces, you need to create the service account in the respective namespace or configure the respective role bindings.
5. Create the template for your permanent or ephemeral agent
- Check if there are any VM configs on your environment.
- List the available base images that you can use to create a VM config.
sonoma-90gb-orka3-arm item. It is a fully installed and configured Apple Silicon-based macOS Sonoma image with a 90GB disk size. It also has an admin user configured, SSH and Apple Screen Sharing access enabled, and Orka VM Tools installed.
Glossary: Image
A disk image that represents VM storage. Base images are bootable disk images that provide the OS, file system, and storage for your VM configs and VMs.
(Intel-only) Empty images provide added storage or serve as the base image during manual OS installs from ISO.
- Create your first VM config:
sonoma-90gb-orka3-arm image, you can use our latest Sonoma image from GitHub packages.
VM Name must meet the following requirements:
- Does not exceed 50 characters
- Consists of lowercase alphanumeric characters or dashes (-)
- Starts with an alphabetic character and ends with an alphanumeric character
- Must be unique to the cluster
6. Complete the CI/CD setup
Revisit the setup instructions for your preferred Orka CI/CD integration. Fill in any configuration fields as needed. Note that you might need to provide the SSH credentials for the VM. What are the credentials for my VM config? By default, thesonoma-90gb-orka3-arm image is configured with an admin/admin set of credentials.