Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxdeviant/dhall-semaphore

Dhall bindings for Semaphore CI
https://github.com/maxdeviant/dhall-semaphore

dhall dhall-lang semaphore semaphoreci

Last synced: about 5 hours ago
JSON representation

Dhall bindings for Semaphore CI

Awesome Lists containing this project

README

        

# dhall-semaphore

[Dhall](https://dhall-lang.org/) bindings for [Semaphore CI](https://docs.semaphoreci.com/reference/pipeline-yaml-reference/).

## Usage

```sh
dhall-to-yaml <<< ./examples/preface.dhall
```

```yaml
agent:
machine:
os_image: ubuntu1804
type: e1-standard-2
blocks:
- name: Inspect Linux environment
task:
jobs:
- commands:
- "echo $SEMAPHORE_PIPELINE_ID"
name: Print Environment variable
name: The name of the Semaphore 2.0 project
version: v1.0
```