Sha256: b493f2a2180f6537d31449037ff86f3ee0483262a01ec9b3adc7b09c108d6683

Contents?: true

Size: 1.64 KB

Versions: 31

Compression:

Stored size: 1.64 KB

Contents

# Concourse.rb

A Ruby SDK for the Concourse CI API.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'concourse'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install concourse

## Usage

Add usage here.

## Development

To install dependencies and run the build, run the pre-commit build:

```shell script
./go
```

This runs all unit tests and other checks including coverage and code linting / 
formatting.

To run only the unit tests, including coverage:

```shell script
./go test:unit
```

To attempt to fix any code linting / formatting issues:

```shell script
./go library:fix
```

To check for code linting / formatting issues without fixing:

```shell script
./go library:check
```

You can also run `bin/console` for an interactive prompt that will allow you to 
experiment.

### Common Tasks

#### Managing CircleCI keys

To encrypt a GPG key for use by CircleCI:

```bash
openssl aes-256-cbc \
  -e \
  -md sha1 \
  -in ./config/secrets/ci/gpg.private \
  -out ./.circleci/gpg.private.enc \
  -k "<passphrase>"
```

To check decryption is working correctly:

```bash
openssl aes-256-cbc \
  -d \
  -md sha1 \
  -in ./.circleci/gpg.private.enc \
  -k "<passphrase>"
```

## Contributing

Bug reports and pull requests are welcome on GitHub at 
https://github.com/infrablocks/concourse.rb. This project is intended to be a 
safe, welcoming space for collaboration, and contributors are expected to adhere
to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.

## License

The gem is available as open source under the terms of the 
[MIT License](http://opensource.org/licenses/MIT).

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
concourse.rb-0.6.0.pre.10 README.md
concourse.rb-0.6.0.pre.9 README.md
concourse.rb-0.6.0.pre.8 README.md
concourse.rb-0.6.0.pre.7 README.md
concourse.rb-0.6.0.pre.6 README.md
concourse.rb-0.6.0.pre.5 README.md
concourse.rb-0.6.0.pre.4 README.md
concourse.rb-0.6.0.pre.3 README.md
concourse.rb-0.6.0.pre.2 README.md
concourse.rb-0.6.0.pre.1 README.md
concourse.rb-0.5.0 README.md
concourse.rb-0.5.0.pre.20 README.md
concourse.rb-0.5.0.pre.19 README.md
concourse.rb-0.5.0.pre.18 README.md
concourse.rb-0.5.0.pre.17 README.md
concourse.rb-0.5.0.pre.16 README.md
concourse.rb-0.5.0.pre.15 README.md
concourse.rb-0.5.0.pre.14 README.md
concourse.rb-0.5.0.pre.13 README.md
concourse.rb-0.5.0.pre.12 README.md