Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
148 changes: 148 additions & 0 deletions ci-operator/config/openshift/installer/openshift-installer-fcos.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
base_images:
base:
name: "4.3"
namespace: fcos
tag: base
machine-os-content:
namespace: fcos
name: "4.3"
tag: machine-os-content
installer:
namespace: fcos
name: "4.3"
tag: installer
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.12
images:
- dockerfile_path: images/installer/Dockerfile.ci
from: base
inputs:
root:
as:
- build
paths: null
to: installer
- dockerfile_path: images/installer-artifacts/Dockerfile.rhel
from: installer
inputs:
root:
as:
- build
paths: null
to: installer-artifacts
- dockerfile_path: images/nested-libvirt/Dockerfile
from: base
inputs:
root:
as:
- build
paths: null
to: libvirt-installer
- dockerfile_path: images/installer/Dockerfile.upi.ci
from: base
inputs:
root:
as:
- build
paths: null
to: upi-installer
- dockerfile_path: images/openstack/Dockerfile.ci
from: base
inputs:
root:
as:
- build
paths: null
to: openstack-installer
- dockerfile_path: images/baremetal/Dockerfile.ci
from: base
inputs:
root:
as:
- build
paths: null
to: baremetal-installer
promotion:
name: "4.3"
namespace: fcos
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
baremetal-installer:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
installer:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
installer-artifacts:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
libvirt-installer:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
openstack-installer:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
unit:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
upi-installer:
limits:
memory: 9Gi
requests:
cpu: "3"
memory: 5Gi
tag_specification:
name: "4.3"
namespace: fcos
tests:
- as: unit
commands: go test ./pkg/...
container:
from: src
- as: gofmt
commands: IS_CONTAINER=TRUE ./hack/go-fmt.sh .
container:
from: src
- as: govet
commands: IS_CONTAINER=TRUE ./hack/go-vet.sh ./...
container:
from: src
- as: golint
commands: IS_CONTAINER=TRUE ./hack/go-lint.sh -min_confidence 0.3 $(go list -f '{{
.ImportPath }}' ./...)
container:
from: src
- as: verify-vendor
commands: IS_CONTAINER=TRUE ./hack/verify-vendor.sh
container:
from: src
- as: e2e-aws
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
base_images:
base:
name: "4.3"
namespace: ocp
tag: base
machine-os-content:
namespace: fcos
name: "4.3"
tag: machine-os-content
installer:
namespace: fcos
name: "4.3"
tag: installer
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.12
images:
- dockerfile_path: Dockerfile
from: base
to: machine-config-operator
promotion:
name: "4.3"
namespace: fcos
resources:
'*':
limits:
memory: 8Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.3"
namespace: fcos
tests:
- as: unit
commands: make test-unit
container:
from: src
- as: e2e-aws
commands: TEST_SUITE=openshift/conformance/parallel run-tests
openshift_installer:
cluster_profile: aws
- as: verify
commands: |
make verify
container:
from: src
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
postsubmits:
openshift/installer:
- agent: kubernetes
branches:
- ^fcos$
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
name: branch-ci-openshift-installer-fcos-images
spec:
containers:
- args:
- --artifact-dir=$(ARTIFACTS)
- --branch=fcos
- --give-pr-author-access-to-namespace=true
- --org=openshift
- --promote
- --repo=installer
- --resolver-address=http://ci-operator-configresolver
- --sentry-dsn-path=/etc/sentry-dsn/ci-operator
- --target=[images]
command:
- ci-operator
env:
- name: CONFIG_SPEC
valueFrom:
configMapKeyRef:
key: openshift-installer-fcos.yaml
name: ci-operator-misc-configs
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/sentry-dsn
name: sentry-dsn
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: sentry-dsn
secret:
secretName: sentry-dsn
Loading