-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add basic origin ci-operator definition
- Loading branch information
1 parent
f9ab880
commit 2350680
Showing
3 changed files
with
92 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"tag_specification": { | ||
"namespace": "openshift", | ||
"name": "origin-v3.10", | ||
"tag": "", | ||
"tag_overrides": {} | ||
}, | ||
"base_rpm_images": [ | ||
{ | ||
"namespace": "openshift", | ||
"name": "origin-v3.10", | ||
"tag": "base", | ||
"as": "base" | ||
} | ||
], | ||
"test_base_image": { | ||
"namespace": "ci", | ||
"name": "src-cache-origin", | ||
"tag": "master" | ||
}, | ||
|
||
"binary_build_commands": "make build", | ||
"rpm_build_commands": "make build-rpms", | ||
|
||
"images": [ | ||
{ | ||
"from": "base", | ||
"to": "cli", | ||
"context_dir": "images/cli/" | ||
}, | ||
{ | ||
"from": "base", | ||
"to": "hypershift", | ||
"context_dir": "images/hypershift/" | ||
}, | ||
{ | ||
"from": "base", | ||
"to": "hyperkube", | ||
"context_dir": "images/hyperkube/" | ||
}, | ||
{ | ||
"from": "cli", | ||
"to": "control-plane", | ||
"context_dir": "images/origin/" | ||
} | ||
], | ||
|
||
"tests": [ | ||
{ | ||
"as": "unit", | ||
"from": "src", | ||
"commands": "ARTIFACT_DIR=/tmp/artifacts JUNIT_REPORT=1 hack/test-go.sh", | ||
"artifact_dir": "/tmp/artifacts" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: v1 | ||
kind: List | ||
items: | ||
- kind: ImageStream | ||
apiVersion: v1 | ||
metadata: | ||
name: src-cache-origin | ||
- kind: BuildConfig | ||
apiVersion: v1 | ||
metadata: | ||
name: src-cache-origin-master | ||
spec: | ||
successfulBuildsHistoryLimit: 1 | ||
failedBuildsHistoryLimit: 2 | ||
output: | ||
to: | ||
kind: ImageStreamTag | ||
name: src-cache-origin:master | ||
source: | ||
dockerfile: | | ||
FROM openshift/origin-release:golang-1.9 | ||
WORKDIR /go/src/github.com/openshift/origin | ||
RUN umask 0002 && chmod -R uga+rwx . && \ | ||
git clone -b master --single-branch https://github.com/openshift/origin.git . | ||
strategy: | ||
dockerStrategy: | ||
from: | ||
kind: ImageStreamTag | ||
name: release-with-clonerefs:golang-1.9 | ||
imageOptimizationPolicy: SkipLayers |