Skip to content

ci: More test cleanups#84

Merged
AkihiroSuda merged 3 commits into
lima-vm:masterfrom
nirs:ci-plain-mode
Nov 23, 2024
Merged

ci: More test cleanups#84
AkihiroSuda merged 3 commits into
lima-vm:masterfrom
nirs:ci-plain-mode

Conversation

@nirs
Copy link
Copy Markdown
Member

@nirs nirs commented Nov 22, 2024

  • Use lima from brew
  • Add apt-get update before install
  • Use plain mode

@nirs nirs force-pushed the ci-plain-mode branch 3 times, most recently from 4b91895 to c625058 Compare November 23, 2024 01:02
@nirs nirs changed the title ci: Use plain mode ci: More test cleanups Nov 23, 2024
@nirs nirs marked this pull request as ready for review November 23, 2024 01:21
AkihiroSuda
AkihiroSuda previously approved these changes Nov 23, 2024
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda AkihiroSuda added this to the v1.2.0 milestone Nov 23, 2024
@nirs nirs dismissed AkihiroSuda’s stale review November 23, 2024 02:08

The merge-base changed after approval.

AkihiroSuda
AkihiroSuda previously approved these changes Nov 23, 2024
Copy link
Copy Markdown
Member

@AkihiroSuda AkihiroSuda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@AkihiroSuda
Copy link
Copy Markdown
Member

Merging is blocked
Merging can be performed automatically with 1 approving review.

GitHub no longer recognizes me as a maintainer 😄

@nirs nirs dismissed AkihiroSuda’s stale review November 23, 2024 02:16

The merge-base changed after approval.

AkihiroSuda
AkihiroSuda previously approved these changes Nov 23, 2024
nirs added 3 commits November 23, 2024 04:19
Since we are testing the latest commit there is no reason to build lima
from source. This saves about 5 minutes and removes the go dependency.

Signed-off-by: Nir Soffer <nirsof@gmail.com>
This is standard practice and seems to resolve this this failure:

    Run limactl shell vm1 sudo DEBIAN_FRONTEND=noninteractive apt-get install -y iperf3
    Reading package lists...
    Building dependency tree...
    Reading state information...
    E: Unable to locate package iperf3

Signed-off-by: Nir Soffer <nirsof@gmail.com>
We test on very old and slow machines that tends to fail randomly a lot.
Lets minimize the test by using the simplest possible vm without any
feature.

When we have more powerful and stable runners, we can try to test more
interesting vms.

Signed-off-by: Nir Soffer <nirsof@gmail.com>
@nirs nirs dismissed AkihiroSuda’s stale review November 23, 2024 02:19

The merge-base changed after approval.

@nirs
Copy link
Copy Markdown
Member Author

nirs commented Nov 23, 2024

Rebase on master, ready for merge.

@AkihiroSuda AkihiroSuda merged commit d7aba7a into lima-vm:master Nov 23, 2024
@nirs nirs mentioned this pull request Nov 23, 2024
@nirs nirs deleted the ci-plain-mode branch January 19, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants