Skip to content

Commit

Permalink
switch to lima
Browse files Browse the repository at this point in the history
  • Loading branch information
crazy-max committed Dec 18, 2023
1 parent 979d352 commit e1c24ba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 64 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
if: always()
uses: crazy-max/ghaction-dump-context@v2

colima-start-args:
lima-start-args:
runs-on: macos-latest
steps:
-
Expand All @@ -141,7 +141,7 @@ jobs:
name: Set up Docker
uses: ./
env:
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32 --dns 1.1.1.1 --dns 8.8.8.8 --dns-host example.com=1.2.3.4
LIMA_START_ARGS: --cpus 4 --memory 8

build-linux:
runs-on: ubuntu-latest
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ ___
* [Usage](#usage)
* [Quick start](#quick-start)
* [Daemon configuration](#daemon-configuration)
* [Define custom `colima start` arguments (macOS)](#define-custom-colima-start-arguments-macos)
* [Define custom `limactl start` arguments (macOS)](#define-custom-limactl-start-arguments-macos)
* [Customizing](#customizing)
* [inputs](#inputs)
* [Contributing](#contributing)
Expand Down Expand Up @@ -71,10 +71,10 @@ jobs:
}
```

### Define custom `colima start` arguments (macOS)
### Define custom `limactl start` arguments (macOS)

You can define custom [`colima start` arguments](https://github.com/abiosoft/colima#customizing-the-vm)
using the `COLIMA_START_ARGS` environment variable to customize the VM:
You can define custom [`limactl start` arguments](https://lima-vm.io/docs/reference/limactl_start/)
using the `LIMA_START_ARGS` environment variable to customize the VM:

```yaml
name: ci
Expand All @@ -90,14 +90,14 @@ jobs:
name: Set up Docker
uses: crazy-max/ghaction-setup-docker@v2
env:
COLIMA_START_ARGS: --cpu 4 --memory 8 --disk 32
LIMA_START_ARGS: --cpus 4 --memory 8
```

## Customizing

### inputs

Following inputs can be used as `step.with` keys
The following inputs can be used as `step.with` keys

| Name | Type | Default | Description |
|-----------------|--------|-----------------------|-----------------------------------------------------------------------------------------------------------------------------|
Expand Down
56 changes: 0 additions & 56 deletions TROUBLESHOOTING.md

This file was deleted.

0 comments on commit e1c24ba

Please sign in to comment.