Skip to content

Commit

Permalink
More images in docs (#56)
Browse files Browse the repository at this point in the history
* More images in docs

* More images in docs

* Updated GIF
  • Loading branch information
fkorotkov authored May 9, 2022
1 parent f6acbe8 commit cc697b4
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.png filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
## Tart – open source virtualization for your automation needs

![tart VM view app](Resources/TartScreenshot.png)
![Tart – open source virtualization for your automation needs](Resources/TartSocial.png)

*Tart* is a virtualization toolset to build, run and manage virtual machines on Apple Silicon.
Built by CI engineers for your automation needs. Here are some highlights of Tart:
Expand All @@ -18,6 +16,8 @@ tart clone ghcr.io/cirruslabs/macos-monterey-base:latest monterey-base
tart run monterey-base
```

![tart VM view app](Resources/TartScreenshot.png)

## CI Integration

[Cirrus CLI](https://github.com/cirruslabs/cirrus-cli) is an open-sourced CI-agnostic tool that can run workloads
Expand All @@ -30,7 +30,11 @@ task:
macos_instance:
# can be a remote or a local virtual machine
image: ghcr.io/cirruslabs/macos-monterey-base:latest
script: echo "Hello from within a Tart VM!"
hello_script:
- echo "Hello from within a Tart VM!"
- echo "Here is my CPU info:"
- sysctl -n machdep.cpu.brand_string
- sleep 15
```
Run it locally or in CI with the following command:
Expand All @@ -40,6 +44,8 @@ brew install cirruslabs/cli/cirrus
cirrus run
```

![Cirrus CLI Run](Resources/TartCirrusCLI.gif)

[Cirrus CI](https://cirrus-ci.org/) already leverages Tart to power its macOS cloud infrastructure. The `.cirrus.yml`
config from above will just work in Cirrus CI and your tasks will be executed inside Tart VMs in our cloud.

Expand Down
3 changes: 3 additions & 0 deletions Resources/TartCirrusCLI.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions Resources/TartScreenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions Resources/TartSocial.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit cc697b4

Please sign in to comment.