You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
Repository navigation
This repository was archived by the owner on Jun 14, 2019. It is now read-only.
Have canonical inputs to config.json that can be overriden #17
These are all details of the particular cluster a job is run against, not a detail about the project itself. each of these steps results in something being tagged into either stable or pipeline with a short name (which must be unique).
I think the canonical form of these should either be in the dockerfiles themselves or as regular docker image references (docker.io/openshift/origin-base:v3.10) where the CI system can override them by name (use namespace openshift name origin-v3.10 as 'base') and a local developer running CI operator against an arbitrary cluster can see it simply work.
Suggested change:
change base_rpm_images and test_base_image to be something a bit more generic:
Another thing we could do - job spec should probably have a canonical definition and we could probably look that up in the current repo (when ci-operator is executing in a repo). In the future we could do local builds by building the src image ourself:
$ ci-operator --local --namespace=claytons-ns
--local would check for the local config.json, check if we are in a git repo, and create the src image for us based on local content, then run the rest of the steps the same. Would make local iteration easier.
Activity
smarterclayton commentedon May 16, 2018
@stevekuznetsov @Kargakis
smarterclayton commentedon May 16, 2018
If we did this then we can move config.json into the hosting repo and ci-operator would work against that repo raw.
0xmichalis commentedon May 17, 2018
sgtm
smarterclayton commentedon May 18, 2018
Another thing we could do - job spec should probably have a canonical definition and we could probably look that up in the current repo (when ci-operator is executing in a repo). In the future we could do local builds by building the src image ourself:
--localwould check for the local config.json, check if we are in a git repo, and create the src image for us based on local content, then run the rest of the steps the same. Would make local iteration easier.smarterclayton commentedon May 20, 2018
opened #20 as the basics of this.