Skip to content

ci: Rework to split build/test#513

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
cgwalters:fix-ci
Mar 10, 2021
Merged

ci: Rework to split build/test#513
openshift-merge-robot merged 1 commit into
openshift:masterfrom
cgwalters:fix-ci

Conversation

@cgwalters
Copy link
Copy Markdown
Member

Aiming to fix #506

I think the problem here may be related to the fact that
we're trying to do all of our CI as part of a build.

Instead, let's function like e.g. the CI for coreos/rpm-ostree
which creates a derived container from the source code. For
us, this derived container is basically the 2-tuple (source, cosa).

For coreos/rpm-ostree we actually do generate binaries as well
as test code from the buildroot, i.e. a 3 tuple (binaries, test binaries, cosa).
But here we don't need that, there's no actual "build" step.

Split off validate.sh as a separate thing that can be a
clearly separate step.

Aiming to fix openshift#506

I think the problem here may be related to the fact that
we're trying to do all of our CI as part of a build.

Instead, let's function like e.g. the CI for coreos/rpm-ostree
which creates a derived container from the source code.  For
us, this derived container is basically the 2-tuple (source, cosa).

For coreos/rpm-ostree we actually do generate binaries as well
as test code from the buildroot, i.e. a 3 tuple (binaries, test binaries, cosa).
But here we don't need that, there's no actual "build" step.

Split off `validate.sh` as a separate thing that can be a
clearly separate step.
@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 10, 2021
@cgwalters
Copy link
Copy Markdown
Member Author

Should pair with openshift/release#16649

@cgwalters
Copy link
Copy Markdown
Member Author

Note that the reason this PR passed is that I neutered the CI back to just running validate.sh. After the this merges I'll try ratcheting back in the real CI too.

@miabbott
Copy link
Copy Markdown
Member

🤞

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Mar 10, 2021
@openshift-ci-robot
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cgwalters, miabbott

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit eeedfbf into openshift:master Mar 10, 2021
cgwalters added a commit to cgwalters/release that referenced this pull request Mar 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI is broken tracker

4 participants