Skip to content

Commit

Permalink
Introduce build log retention
Browse files Browse the repository at this point in the history
- 500 for every job in all pipelines

Signed-off-by: Felix Riegger <felix.riegger@sap.com>
  • Loading branch information
Kiemes authored and friegger committed Aug 18, 2016
1 parent be3ec53 commit 3454c64
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,12 @@ custom:
suse-liberty: ['suse-liberty']
timeouts:
long: &timeouts-long 2h
build_logs_to_retain: &build_logs_to_retain 500

jobs:
- name: build-candidate
serial: true
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, get: bosh-cpi-src-in, tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -71,6 +73,7 @@ jobs:
- cleanup-lock-bats-centos-manual
- cleanup-lock-bats-ubuntu-dynamic
- cleanup-lock-bats-centos-dynamic
build_logs_to_retain: *build_logs_to_retain

plan:
- aggregate:
Expand Down Expand Up @@ -105,6 +108,7 @@ jobs:
- name: lifecycle
serial: true
serial_groups: [cleanup-lock-lifecycle]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [cleanup], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long} # used for job chaining only not for tasks
Expand Down Expand Up @@ -147,6 +151,7 @@ jobs:

- name: publish-api-calls
serial: true
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [lifecycle], get: lifecycle-log, tags: *tags, timeout: *timeouts-long}
Expand All @@ -167,6 +172,7 @@ jobs:
- name: bats-ubuntu-manual
serial: true
serial_groups: [cleanup-lock-bats-ubuntu-manual]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [cleanup], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -246,6 +252,7 @@ jobs:
- name: bats-ubuntu-dynamic
serial: true
serial_groups: [cleanup-lock-bats-ubuntu-dynamic]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [cleanup], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -309,6 +316,7 @@ jobs:
- name: bats-centos-manual
serial: true
serial_groups: [cleanup-lock-bats-centos-manual]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [cleanup], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -388,6 +396,7 @@ jobs:
- name: bats-centos-dynamic
serial: true
serial_groups: [cleanup-lock-bats-centos-dynamic]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: true, passed: [cleanup], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -450,6 +459,7 @@ jobs:

- name: promote-candidate
serial: true
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, passed: [lifecycle, bats-ubuntu-manual, bats-centos-manual, bats-ubuntu-dynamic, bats-centos-dynamic], get: bosh-cpi-dev-artifacts, tags: *tags, timeout: *timeouts-long}
Expand Down
8 changes: 8 additions & 0 deletions ci/pipelines/certify-stemcell/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ custom:
suse-liberty: ['suse-liberty']
timeouts:
long: &timeouts-long 2h
build_logs_to_retain: &build_logs_to_retain 500

jobs:
- name: e2e-centos
serial: true
serial_groups: [e2e-centos]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -90,6 +92,7 @@ jobs:
- name: e2e-ubuntu
serial: true
serial_groups: [e2e-ubuntu]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -132,6 +135,7 @@ jobs:
- name: e2e-centos-config-drive
serial: true
serial_groups: [e2e-centos-config-drive]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -210,6 +214,7 @@ jobs:
- name: e2e-ubuntu-config-drive
serial: true
serial_groups: [e2e-ubuntu-config-drive]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -261,6 +266,7 @@ jobs:
- name: test-upgrade-centos
serial: true
serial_groups: [test-upgrade-centos]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -360,6 +366,7 @@ jobs:
- name: test-upgrade-ubuntu
serial: true
serial_groups: [test-upgrade-ubuntu]
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, passed: [cleanup], tags: *tags, timeout: *timeouts-long}
Expand Down Expand Up @@ -413,6 +420,7 @@ jobs:
- name: cleanup
serial: true
serial_groups: [e2e-centos, e2e-ubuntu, e2e-ubuntu-config-drive, e2e-centos-config-drive, test-upgrade-centos, test-upgrade-ubuntu] #can't run while anything else is running
build_logs_to_retain: *build_logs_to_retain
plan:
- aggregate:
- {trigger: false, get: bosh-cpi-src-in, tags: *tags, timeout: *timeouts-long}
Expand Down

0 comments on commit 3454c64

Please sign in to comment.