SUSE/cap

`config.schedule.enabled=true` when `config.jobs.deploy-k8s=false` is broken

Closed this issue · 1 comments

Using the following config file for cap-pre-release-caasp:

(note config.schedule.enabled=true and jobs.deploy-k8s=false)

workertags:
  caasp4: suse-internal

jobs:
  deploy-k8s: false
  deploy-kubecf: true
  smoke-tests: true
  cf-acceptance-tests-brain: true
  sync-integration-tests: true
  minibroker-integration-tests: true
  cf-acceptance-tests: true
  upgrade-kubecf: true
  deploy-stratos: false
  destroy-kubecf: true
jobs_ordered:
- deploy-k8s
- deploy-kubecf
- smoke-tests
- cf-acceptance-tests-brain
- sync-integration-tests
- minibroker-integration-tests
- cf-acceptance-tests
- upgrade-kubecf
- deploy-stratos
- destroy-kubecf
backends:
  caasp4: true
  aks: false
  gke: false
  eks: false
availabilities:
  sa: false
  ha: false
  all: true
schedulers:
  diego: true
  eirini: true
catapult:
  uri: https://github.com/SUSE/catapult
  branch: master
brain:
  verbose: false
  inorder: false
  include: ""
  exclude: ""
cats:
  nodes: 3
  flake-attempts: 5
  timeout-scale: "3.0"
s3minibroker:
  bucket: minibroker-helm-charts
  region: us-east-1
  regexp: minibroker-charts/minibroker-(.*).tgz
s3:
  bucket: kubecf
  region: us-west-2
  regexp: kubecf-bundle-v(.*).tgz
# Scheduling is required for nightly builds, enabling it removes regular trigger on kubecf bundle.
schedule:
  enabled: true
  start: 12:00 AM
  stop: 12:10 AM
  location: America/Vancouver
logs:
  enabled: false

I get:

apply configuration? [yN]: y
error: invalid pipeline config:
invalid resources:
        resource 'schedule-interval' is not used