ruddle/examples/base/ruddle.yaml

57 lines
1.3 KiB
YAML
Raw Normal View History

# Some version goes here
version: "some-upstream-repo-for-ruddle@some-api-version"
name: "ruddle_base_plan"
implicitProvider: git.front.kjuulh.io
plugins:
ruddle/global@latest:
file: ruddle.yaml # is default, can be omitted
path: org
orgSettings:
- key: "name"
required: true # required is default and can be omitted
- key: "squad"
required: true
- key: "domain"
required: false
ruddle/vars@latest:
path: vars
vars:
- when: dev
vars:
SOME_VARIABLE: SOME_VALUE
- when: prod
vars:
SOME_VARIABLE: SOME_OTHER_VALUE
ruddle/actions@1.0.0:
path: actions
dependsOn:
- ruddle/shell@1.0.0
- ruddle/dagger@1.0.0
basePath: scripts/
scripts:
notify_team:
description: |
will send notification on slack
args:
- arg: "text"
- env: "env"
- env: "slack_secret"
actions:
- shell: "send_notification"
build_service:
description: |
some quite long
description
args:
- arg: "version"
actions:
- shell: get_cache.sh
- dagger: download_dependencies
- dagger: build_service
- shell: upload_service
- ruddle: notify_team