README

sparrowci-sandbox

The only purpose of this module is demonstrate SparrowCI pipeline

sparrow.yaml

This pipeline runs zef test and uploads module via fez if commit message contains "ci: fez upload" string

secrets:
  - FEZ_TOKEN
tasks:
  - name: fez-upload
    default: true
    language: Raku
    init: |
      run_task "test";
      if config()<tasks><git-commit><state><comment> ~~ /'ci: fez upload'/ {
        run_task "upload"
      }
    subtasks:
    - 
      name: test
      language: Bash
      code: |
        set -e
        cd source
        zef test .
    -
      name: upload
      language: Bash
      code: |
        set -e
        cat << HERE > ~/.fez-config.json
          {"groups":[],"un":"melezhik","key":"${FEZ_TOKEN}"}
        HERE
        cd source/
        zef install --/test fez
        tom --clean
        fez upload
    depends:
      -
        name: git-commit
  - name: git-commit
    plugin: git-commit-data
    config:
      dir: source

Author

Alexey Melezhik

SparrowCI-SandBox v0.0.1

SparrowCI::Sandbox

Authors

  • Alexey Melezhik

License

Artistic-2.0

Dependencies

Test Dependencies

Provides

  • SparrowCI::Sandbox

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.