Edit .onedev-buildspec.yml - Commit 1d6cd98d - homelab/docker-shell-executor
-
Edit .onedev-buildspec.yml
-
-
| skipped 27 lines |
28 | 28 | | name: download agent |
29 | 29 | | runInContainer: false |
30 | 30 | | interpreter: !DefaultInterpreter |
31 | | - | commands: "if [-d ./agent]; then\n\techo using cached Agent\nelse\n\techo Agent missing, downloading..\n\t\n\tmkdir ./agent\n\t\n\tcurl \\\n\t\t-u @secret:download-user@:@secret:download-token@ \\\n\t\t-o ./agent/agent.tar.gz \\\n\t\thttps://dev.lwehmschulte.de/~downloads/agent.tar.gz\nfi\n" |
| 31 | + | commands: "if [-d \"./agent\"]; then\n\techo using cached Agent\nelse\n\techo Agent missing, downloading..\n\t\n\tmkdir ./agent\n\t\n\tcurl \\\n\t\t-u @secret:download-user@:@secret:download-token@ \\\n\t\t-o ./agent/agent.tar.gz \\\n\t\thttps://dev.lwehmschulte.de/~downloads/agent.tar.gz\nfi\n" |
32 | 32 | | useTTY: true |
33 | 33 | | condition: ALL_PREVIOUS_STEPS_WERE_SUCCESSFUL |
34 | 34 | | - !CommandStep |
| skipped 23 lines |
Page is in error, reload to recover