Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added additional inputs support #54

Merged
merged 5 commits into from
Jul 25, 2022
Merged

Added additional inputs support #54

merged 5 commits into from
Jul 25, 2022

Conversation

akazakou
Copy link
Contributor

@akazakou akazakou commented Jul 25, 2022

Changes

  • Added additional inputs support

Inputs

- name: Executing AWS CodeBuild task
  uses: dark-mechanicum/aws-codebuild@v1
  with:
    projectName: '<your-aws-codebuild-job-name-here>'
    buildStatusInterval: 5000
    logsUpdateInterval: 5000
    waitToBuildEnd: true
    displayBuildLogs: true
    buildspec: '{
      "environmentVariablesOverride":[
        { "name":"testEnvVar", "value":"Testing environment variable", "type": "PLAINTEXT" }
      ],
      "logsConfigOverride": {
        "cloudWatchLogs": {
          "status": "ENABLED"
        }
      }
    }'
  • projectName [string] [required] - The name of the CodeBuild build project to start running a build
  • buildStatusInterval [number] [optional] - Interval in milliseconds to control how often should be checked status of build
  • logsUpdateInterval [number] [optional] - Interval in milliseconds to control how often should be checked new events in logs stream
  • waitToBuildEnd [number] [boolean] - Wait till AWS CodeBuild job will be finished
  • displayBuildLogs [number] [boolean] - Display AWS CodeBuild logs output in the GitHub Actions logs output
  • buildspec [string] [optional] - Custom parameters to override job parameters in the valid JSON format. Full list of supported paramters you can find in the CodeBuild.startBuild() documentation

@akazakou akazakou enabled auto-merge (squash) July 25, 2022 14:06
@akazakou akazakou disabled auto-merge July 25, 2022 14:07
@akazakou akazakou enabled auto-merge (squash) July 25, 2022 14:40
@akazakou akazakou merged commit 61eebad into main Jul 25, 2022
@akazakou akazakou deleted the feature/new-inputs branch July 25, 2022 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Option to detach codebuild run Allow configurable update interval and backoff
1 participant