summaryrefslogtreecommitdiff
path: root/zuul.d/_jobs-openshift.yaml
blob: d0f4c180acee68d1ff9620d4d37ff4bf1bfbf330 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# This file is managed by sfconfig, do not edit manually
# The Openshift driver is a Tech Preview, use at your own risk...
---
- job:
    name: base-openshift-native
    parent: null
    description: |
      A base job that build and deploy a container image using the
      project future state.
    pre-run: playbooks/openshift/pre.yaml
    post-run:
      - playbooks/base/post.yaml
    roles:
      - zuul: sf-jobs
      - zuul: zuul-jobs
    timeout: 1800
    # Set attempts to 1 until it's working well
    attempts: 1
    secrets:
      - site_sflogs
    nodeset:
      nodes:
        - name: project
          label: openshift-project
    vars:
      base_image: "python:3.6"

- job:
    name: base-openshift-pod
    parent: null
    description: |
      A base job to spawn a vanilla container and copy the project
      future state
    pre-run: playbooks/openshift/unprivileged-machine.yaml
    post-run:
      - playbooks/base/post.yaml
    roles:
      - zuul: sf-jobs
      - zuul: zuul-jobs
    # Set attempts to 1 until it's working well
    attempts: 1
    secrets:
      - site_sflogs
    timeout: 1800
    nodeset:
      nodes:
        - name: pod
          label: openshift-pod-fedora