Comments (2)
Hey @anarazel,
It will be a bit hacky but you can specify a persistent_worker
instance instead whatever you use right now:
task:
persistent_worker:
script: touch test.txt
In this case cirrus run --dirty
will just shell out things.
In general, I think we can add an option to override instance types from command lines.
from cirrus-cli.
It will be a bit hacky but you can specify a persistent_worker instance instead whatever you use right now:
Nice, that mostly does work.
One thing I noticed while playing with that is that cirrus run doesn't seem to deal with env: CIRRUS_WORKING_DIR: ... in the task? Is that expected? I'd have expected that cirrus run would copy the working directory there...
In general, I think we can add an option to override instance types from command lines.
That'd be very useful. An alternative could be a flag to indicate that cirrus-cli is already in the target environment.
from cirrus-cli.
Related Issues (20)
- RunConfig: switch TaskID from int64 to string HOT 1
- Warm Isolation for Persistent Worker HOT 1
- [Request] Option to customize SSH port HOT 1
- Better shell completion HOT 3
- Allow to `cirrus run` the task by ID, even when name is present HOT 3
- `StandBy` instances should be ready for SSH
- Standby instance support for Vetu
- [Request] Option to change mount dir when running with `--dirty` flag HOT 3
- Volume preparation failure due to architecture mismatch HOT 2
- Agent: emit a warning when encountering multi-line secrets
- Allow test selection for `cirrus internal test`
- vm git is slow HOT 1
- Cannot install Cirrus CLI on macOS HOT 2
- Cirrus CLI attempts to pull an image even though it's already available locally HOT 6
- Error: image was found but does not match the specified platform HOT 9
- Document OTEL Setup
- Assume default credentials for isolations
- Task dependency is not respected when running locally HOT 3
- How to share artifacts between jobs when running locally? HOT 1
- [worker] `podman system service` process accumulation HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cirrus-cli.