Skip to content

Parallels Desktop DevOps Actions

Actions
GitHub Action to run Parallels Desktop VMs in your CI/CD pipeline
v0.3.3
Latest
Star (2)

Parallels Desktop DevOps GitHub Action

coverage Lint Codebase CI

This action allows you to run Parallels Desktop virtual machines in your GitHub Actions workflows. You can start, stop, and run commands in a VM, as well as clone, create, and delete VMs.

Usage

name: Run Parallels Desktop VM
on: [push]

jobs:
  parallels-desktop:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - name: Pull From Catalog
        id: pull
        uses: parallels/parallels-desktop-github-action@v1
        with:
          operation: 'pull'
          username: ${{ secrets.PARALLELS_USERNAME }}
          password: ${{ secrets.PARALLELS_PASSWORD }}
          host_url: devops.example.com
          base_image:
            root:${{
            secrets.CATALOG_ROOT_PASSWORD}}@catalog.example.com/mac-github-runner/v1
      - name: Configure Github Runner
        uses: parallels/parallels-desktop-github-action@v1
        with:
          operation: 'run'
          username: ${{ secrets.PARALLELS_USERNAME }}
          password: ${{ secrets.PARALLELS_PASSWORD }}
          host_url: devops.example.com
          machine_name: ${{ steps.pull.outputs.machine_name }}
          run: |
            echo "Hello, World!"
      - name: Delete VM
        if: always()
        uses: parallels/parallels-desktop-github-action@v1
        with:
          operation: 'delete'
          username: ${{ secrets.PARALLELS_USERNAME }}
          password: ${{ secrets.PARALLELS_PASSWORD }}
          host_url: devops.example.com
          machine_name: ${{ steps.pull.outputs.machine_name }}

Parallels Desktop DevOps Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to run Parallels Desktop VMs in your CI/CD pipeline
v0.3.3
Latest

Parallels Desktop DevOps Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.