Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add new nightly bundle tests #14073

Merged
merged 2 commits into from
Dec 9, 2020
Merged
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

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
base_images:
cli:
name: "4.6"
namespace: ocp
tag: cli
cli-jq:
name: cli-jq
namespace: ocp
tag: latest
operator-registry:
name: "4.6"
namespace: ocp
tag: operator-registry
build_root:
project_image:
dockerfile_path: .ci/openshift-ci/Dockerfile
images:
- dockerfile_path: Dockerfile
to: che-operator-image
operator:
bundles:
- context_dir: deploy/olm-catalog/eclipse-che-preview-openshift
dockerfile_path: bundle.Dockerfile
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.6"
namespace: ocp
tests:
- as: che-operator-olm-nightly-deployment
steps:
cluster_profile: aws
env:
OO_CHANNEL: nightly
OO_INSTALL_NAMESPACE: eclipse-che
OO_PACKAGE: eclipse-che-preview-openshift
OO_TARGET_NAMESPACES: '!install'
test:
- as: olm-nightly-deployment
commands: |
export PATH=$PATH:/tmp/bin
mkdir -p /tmp/bin
curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.6/linux/oc.tar.gz | tar xvzf - -C /tmp/bin/ oc
chmod ug+x /tmp/bin/oc
echo -e "[INFO] Test script content:"
cat .ci/oci-nightly-olm.sh
/bin/bash .ci/oci-nightly-olm.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: optional-operators-ci-aws
- as: che-operator-single-host-nightly-deployment
steps:
cluster_profile: aws
env:
OO_CHANNEL: nightly
OO_INSTALL_NAMESPACE: eclipse-che
OO_PACKAGE: eclipse-che-preview-openshift
OO_TARGET_NAMESPACES: '!install'
test:
- as: single-host-deployment
commands: |
export PATH=$PATH:/tmp/bin
mkdir -p /tmp/bin
curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.6/linux/oc.tar.gz | tar xvzf - -C /tmp/bin/ oc
chmod ug+x /tmp/bin/oc
echo -e "[INFO] Test script content:"
cat .ci/oci-single-host.sh
/bin/bash .ci/oci-single-host.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: optional-operators-ci-aws
zz_generated_metadata:
branch: master
org: eclipse
repo: che-operator
variant: v6
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
base_images:
cli:
name: "4.7"
namespace: ocp
tag: cli
cli-jq:
name: cli-jq
namespace: ocp
tag: latest
operator-registry:
name: "4.7"
namespace: ocp
tag: operator-registry
build_root:
project_image:
dockerfile_path: .ci/openshift-ci/Dockerfile
images:
- dockerfile_path: Dockerfile
to: che-operator-image
operator:
bundles:
- context_dir: deploy/olm-catalog/eclipse-che-preview-openshift
dockerfile_path: bundle.Dockerfile
resources:
'*':
limits:
memory: 4Gi
requests:
cpu: 100m
memory: 200Mi
tag_specification:
name: "4.7"
namespace: ocp
tests:
- as: che-operator-olm-nightly-deployment
steps:
cluster_profile: aws
env:
OO_CHANNEL: nightly
OO_INSTALL_NAMESPACE: eclipse-che
OO_PACKAGE: eclipse-che-preview-openshift
OO_TARGET_NAMESPACES: '!install'
test:
- as: olm-nightly-deployment
commands: |
export PATH=$PATH:/tmp/bin
mkdir -p /tmp/bin
curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.6/linux/oc.tar.gz | tar xvzf - -C /tmp/bin/ oc
chmod ug+x /tmp/bin/oc
echo -e "[INFO] Test script content:"
cat .ci/oci-nightly-olm.sh
/bin/bash .ci/oci-nightly-olm.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: optional-operators-ci-aws
- as: che-operator-single-host-nightly-deployment
steps:
cluster_profile: aws
env:
OO_CHANNEL: nightly
OO_INSTALL_NAMESPACE: eclipse-che
OO_PACKAGE: eclipse-che-preview-openshift
OO_TARGET_NAMESPACES: '!install'
test:
- as: single-host-deployment
commands: |
export PATH=$PATH:/tmp/bin
mkdir -p /tmp/bin
curl https://mirror.openshift.com/pub/openshift-v4/clients/oc/4.6/linux/oc.tar.gz | tar xvzf - -C /tmp/bin/ oc
chmod ug+x /tmp/bin/oc
echo -e "[INFO] Test script content:"
cat .ci/oci-single-host.sh
/bin/bash .ci/oci-single-host.sh
dependencies:
- env: CI_CHE_OPERATOR_IMAGE
name: che-operator-image
from: src
resources:
requests:
cpu: 100m
memory: 200Mi
workflow: optional-operators-ci-aws
zz_generated_metadata:
branch: master
org: eclipse
repo: che-operator
variant: v7
Loading