This repository was archived by the owner on May 5, 2025. It is now read-only.
  
  
  - 
                Notifications
    You must be signed in to change notification settings 
- Fork 2
A test that runs a Cirrus-CI task #4
Copy link
Copy link
Open
Description
A good test for this repository could be a test similar to the basic.nix test that tries to run a Cirrus CI task. Currently, the basic.nix test only starts the runner-VM and checks that it's online, but doesn't check that it could actually run a Cirrus-CI task.
A few toughs:
- needs a Cirrus-CI worker pool for this project
- the test uses a hardcoded tokento join the pool
- each PR or push to mastershould create a new Cirrus-CI job. We'd need a.cirrus.ymlin this repository with a basic task definition e.g.:- check that the expected cache directories are available (and possibly try to write to them)
- try to do a (trivial) docker build
- try to run a basic script inside docker
 
- We won't be able to run the test offline, as wouldn't ever spawn a Cirrus-CI task. Figure out a way to skip it offline..
- Might run into problems with the Cirrus-CI scheduling weirdness discussed here: add --ephemeral mode for persistent worker cirruslabs/cirrus-cli#813 (comment)
Metadata
Metadata
Assignees
Labels
No labels