forked from jsauve/gist-bash-script-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep.yml
More file actions
38 lines (38 loc) · 1.66 KB
/
step.yml
File metadata and controls
38 lines (38 loc) · 1.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
title: |-
Gist Bash Script Runner
summary: |
Retrieves and runs bash scripts that are stored in a Gist
description: |
This step is for running bash scripts that are stored in a Gist. This is very similar to the remote bash script runner provided by the Bitrise team. However, this step differs in that it takes the root Gist URL, instwad of the "raw" Gist URL. The step automatically extracts the raw URL from the content located at the root Gist URL. Additionally, because Gists can contain multiple files, this step will retrieve the contents of _every_ file in the Gist and attempt to run them as bash scripts.
website: https://github.com/jsauve/gist-bash-script-runner
source_code_url: https://github.com/jsauve/gist-bash-script-runner
support_url: https://github.com/jsauve/gist-bash-script-runner/issues
host_os_tags:
- osx-10.9
- osx-10.10
project_type_tags: []
type_tags:
- script
- bash
- runner
is_requires_admin_user: true
is_always_run: false
is_skippable: false
dependencies: []
run_if: ""
inputs:
- gist_url: ""
opts:
title: "Gist URL"
description: |
URL of a Github Gist that contains valid bash scripts(s). (A main Gist URL, *not* a _raw_ Gist URL.)
is_required: true
- exit_on_failure: "true"
opts:
title: "Exit this step if any remote scripts fail"
description: |
Defaults to *true*. If *true*, the step will exit with if any of the remote gist files fail to load or return a failure code (exit > 0). If *false*, subsequent gist files will attempt to load, even if previous ones fail. Note that Gists can contain more than one file.
is_required: true
value_options:
- "true"
- "false"