-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
50 lines (50 loc) · 2.05 KB
/
action.yml
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
39
40
41
42
43
44
45
46
47
48
49
50
name: 'dark-mechanicum/aws-codebuild'
author: 'Andrei Kazakou <[email protected]>'
description: 'GitHub Action to execute AWS CodeBuild jobs'
branding:
icon: 'upload-cloud'
color: 'orange'
runs:
using: 'node20'
main: 'dist/index.js'
inputs:
projectName:
description: 'The name of the CodeBuild build project to start running a build'
required: true
buildStatusInterval:
description: 'Interval in milliseconds to control how often should be checked status of build'
required: false
default: '5000'
logsUpdateInterval:
description: 'Interval in milliseconds to control how often should be checked new events in logs stream'
required: false
default: '5000'
waitToBuildEnd:
description: 'Wait till AWS CodeBuild job will be finished'
required: false
default: 'true'
displayBuildLogs:
description: 'Display AWS CodeBuild logs output in the GitHub Actions logs output'
required: false
default: 'true'
redirectServiceURL:
description: 'External service that can be used for redirects. Example: "https://cloudaws.link/r/"'
required: false
default: ''
buildspec:
description: 'Custom buildSpec job overrides in the valid JSON format'
required: false
default: '{}'
outputs:
id:
description: 'The unique ID for the build'
success:
description: 'Flag that marks is current AWS CodeBuild job was finished successfully'
buildNumber:
description: 'The number of the build. For each project, the buildNumber of its first build is 1. The buildNumber of each subsequent build is incremented by 1. If a build is deleted, the buildNumber of other builds does not change'
timeoutInMinutes:
description: 'How long, in minutes, from 5 to 480 (8 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed. The default is 60 minutes'
initiator:
description: 'The AWS entity that started the build'
buildStatus:
description: 'The final status of the build. Valid values include: FAILED, FAULT, IN_PROGRESS, STOPPED, SUCCEEDED, TIMED_OUT'