Sha256: 54f80d296ee52613f2065ca79f2655b79b39151ffbd4437d8bc5be6e91dc3bda

Contents?: true

Size: 1.11 KB

Versions: 35

Compression:

Stored size: 1.11 KB

Contents

# Test plugin: `github_ci`

The `github_ci` test plugin checks that the `master` branch of Github repositories has a successful CI result from its [Github Actions](https://github.com/features/actions).

## Config DSL extension

### `github_repos`

Define Github repositories to be targeted.

It takes the following parameters:
* **url** (`String`): URL to the Github API [default: `'https://api.github.com'`]
* **user** (`String`): User or organization name, storing repositories
* **repos** (`Array<String>` or `Symbol`): List of repository names from this project, or `:all` for all [default: `:all`]

Example:
```ruby
github_repos(
  # Github's user containing repositories
  user: 'My-Github-User',
  # List of repositories to check
  repos: [
    'my-platform-repo',
    'my-chef-repo',
    'my-hpc-plugins'
  ]
)
```

## Used credentials

| Credential | Usage
| --- | --- |
| `github` | Used to connect to the Github API. Password should be the Github API token. |

## Used Metadata

| Metadata | Type | Usage
| --- | --- | --- |

## Used environment variables

| Variable | Usage
| --- | --- |

## External tools dependencies

None

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
hybrid_platforms_conductor-33.9.5 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.9.4 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.9.2 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.9.1 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.9.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.8.4 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.8.3 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.8.2 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.8.1 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.8.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.7.4 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.7.3 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.7.2 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.7.1 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.7.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.6.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.5.1 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.5.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.4.0 docs/plugins/test/github_ci.md
hybrid_platforms_conductor-33.3.0 docs/plugins/test/github_ci.md