cirrus-cli icon indicating copy to clipboard operation
cirrus-cli copied to clipboard

Local run does nothing?

Open AstraLuma opened this issue 3 years ago • 4 comments

With a trivial cirrus file

example_task:
  container:
    image: debian
  bar_step:
    - echo bar

Running cirrus run does nothing:

$ ~/Downloads/cirrus-linux-amd64 run
$ ~/Downloads/cirrus-linux-amd64 --version
cirrus version 0.88.0-b1743e6

I've tried scrubbing both docker and ~/.cache/cirrus and I'm not sure what's causing this behavior.

AstraLuma avatar Oct 20 '22 04:10 AstraLuma

oh, and neither --verbose nor -o simple give any information.

AstraLuma avatar Oct 20 '22 04:10 AstraLuma

Also removed /tmp/cirrus-*, /tmp/cli-*, /tmp/scripts*.sh and the numbered directories. No effect.

AstraLuma avatar Oct 20 '22 04:10 AstraLuma

Best as I can determine from strace (wow golang strace is hard to read), it exits nearly immediately after stat-ing or creating (depending on the run) ~/.cache/cirrus/projects/test.

AstraLuma avatar Oct 20 '22 04:10 AstraLuma

You've probably meant bar_script, not bar_step:

example_task:
  container:
    image: debian
  bar_script:
    - echo bar

edigaryev avatar Oct 20 '22 07:10 edigaryev

don't mind the thudding noise, that's just my head introducing itself to my desk.

AstraLuma avatar Oct 20 '22 17:10 AstraLuma