bazel-lib/.circleci/config.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2022-08-02 21:06:04 +00:00
version: 2.1
parameters:
perform_delivery:
type: boolean
default: false
delivery_commit:
type: string
default: ""
description: The commit to checkout and run the delivery from
delivery_targets:
type: string
default: ""
description: Ignore the target(s) that are listed in the delivery manifest
and instead deliver these targets. Comma-separated list of labels.
2022-08-08 23:30:42 +00:00
# enable CircleCI's dynamic configuration feature
setup: true
2022-08-08 23:30:42 +00:00
orbs:
slack: circleci/slack@4.12.5
aspect-workflows: aspect-build/workflows@dev:5.9.0-rc.10
jobs:
legacy:
docker:
- image: cimg/base:2023.03
steps:
- run: echo "No-op step since CCI requires one step for the job to be valid"
- when:
condition:
and:
- not:
equal: [scheduled_pipeline, << pipeline.trigger_source >>]
steps:
- checkout
- run: echo "This is an example of legacy non-workflows job"
2022-08-08 23:30:42 +00:00
workflows:
default-workflow:
2022-08-08 23:30:42 +00:00
jobs:
- legacy
- aspect-workflows/setup:
resource_class: aspect-build/bazel-lib-nano
context:
- slack