Created
October 8, 2015 13:48
-
-
Save stevekuznetsov/e889d276b21630f09830 to your computer and use it in GitHub Desktop.
branch dependent openldap build chain
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
{ | |
"kind": "Template", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "openldap", | |
"creationTimestamp": null, | |
"annotations": { | |
"description": "OpenLDAP build and test build", | |
"tags": "openldap" | |
} | |
}, | |
"objects": [ | |
{ | |
"kind": "ImageStream", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "centos", | |
"creationTimestamp": null | |
}, | |
"spec": { | |
"dockerImageRepository": "centos", | |
"tags": [ | |
{ | |
"tag": "centos7", | |
"annotations": { | |
"description": "The official build of CentOS.", | |
"iconClass": "fa-server", | |
"tags": "centos", | |
"version": "7" | |
} | |
} | |
] | |
}, | |
"status": { | |
"dockerImageRepository": "" | |
} | |
}, | |
{ | |
"kind": "ImageStream", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "openldap-testenv", | |
"creationTimestamp": null | |
}, | |
"spec": {}, | |
"status": { | |
"dockerImageRepository": "" | |
} | |
}, | |
{ | |
"kind": "ImageStream", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "openldap", | |
"creationTimestamp": null | |
}, | |
"spec": {}, | |
"status": { | |
"dockerImageRepository": "" | |
} | |
}, | |
{ | |
"kind": "BuildConfig", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "openldap-base", | |
"creationTimestamp": null, | |
"labels": { | |
"name": "openldap-base" | |
} | |
}, | |
"spec": { | |
"source": { | |
"type": "Git", | |
"git": { | |
"uri": "git://github.com/openshift/openldap.git", | |
"ref": "${OPENLDAP_BASE_BRANCH}" | |
}, | |
"contextDir": "2.4.41" | |
}, | |
"strategy": { | |
"type": "Docker", | |
"dockerStrategy": { | |
"from": { | |
"kind": "ImageStreamTag", | |
"name": "centos:centos7" | |
} | |
} | |
}, | |
"output": { | |
"to": { | |
"kind": "ImageStreamTag", | |
"name": "openldap:latest" | |
} | |
}, | |
"resources": {} | |
}, | |
"status": { | |
"lastVersion": 0 | |
} | |
}, | |
{ | |
"kind": "BuildConfig", | |
"apiVersion": "v1", | |
"metadata": { | |
"name": "openldap", | |
"creationTimestamp": null, | |
"labels": { | |
"name": "openldap" | |
} | |
}, | |
"spec": { | |
"source": { | |
"type": "Git", | |
"git": { | |
"uri": "git://github.com/openshift/origin.git", | |
"ref": "${OPENLDAP_TEST_BRANCH}" | |
}, | |
"contextDir": "images/openldap" | |
}, | |
"triggers": [ | |
{ | |
"type": "imageChange", | |
"imageChange": { | |
"from": { | |
"kind": "ImageStreamTag", | |
"name": "openldap:latest" | |
} | |
} | |
} | |
], | |
"strategy": { | |
"type": "Docker", | |
"dockerStrategy": { | |
"from": { | |
"kind": "ImageStreamTag", | |
"name": "openldap:latest" | |
} | |
} | |
}, | |
"output": { | |
"to": { | |
"kind": "ImageStreamTag", | |
"name": "openldap-testenv:latest" | |
} | |
}, | |
"resources": {} | |
}, | |
"status": { | |
"lastVersion": 0 | |
} | |
} | |
], | |
"parameters": [ | |
{ | |
"name": "OPENLDAP_BASE_BRANCH", | |
"description": "The name of the OpenLDAP base repo branch to use for the first build", | |
"value": "master" | |
}, | |
{ | |
"name": "OPENLDAP_TEST_BRANCH", | |
"description": "The name of the OpenLDAP test repo branch to use for the first build", | |
"value": "master" | |
} | |
], | |
"labels": { | |
"template": "openldap" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@deads2k