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

Remove tools/, install schematyper on demand #3093

Merged
merged 1 commit into from
Sep 13, 2022

Conversation

cgwalters
Copy link
Member

Depends #3092


Remove tools/, install schematyper on demand

We've had a few build/CI flakes due to the go install invocations
happening as part of a build. We previously removed gomarkdoc,
this completes things and stops building/installing schematyper
by default.

It's only need for developers to regenerate the schema; we commit
the generated code, so we don't need to build or ship it by default.


@openshift-ci
Copy link

openshift-ci bot commented Sep 12, 2022

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@cgwalters cgwalters changed the title Schematyper on demand Remove tools/, install schematyper on demand Sep 12, 2022
@dustymabe
Copy link
Member

LGTM - thanks for working on this and minimizing what gets pulled from the internet during our builds.

We've had a few build/CI flakes due to the `go install` invocations
happening as part of a build.  We previously removed `gomarkdoc`,
this completes things and stops building/installing `schematyper`
by default.

It's only need for developers to regenerate the schema; we commit
the generated code, so we don't need to build or ship it by default.
@cgwalters
Copy link
Member Author

Rebased 🏄 and lifting draft

@cgwalters
Copy link
Member Author

CI flaked on

Sep 13 14:38:32.523153 rpm-ostree(unbound-anchor.prein)[1852]: groupadd.rpmostreesave: /etc/group.4: lock file already used
Sep 13 14:38:32.524192 rpm-ostree(unbound-anchor.prein)[1852]: groupadd.rpmostreesave: cannot lock /etc/group; try again later.
Sep 13 14:38:32.545898 rpm-ostree(unbound-anchor.prein)[1854]: useradd.rpmostreesave: group 'unbound' does not exist

cc coreos/fedora-coreos-tracker#1250

Copy link
Member

@dustymabe dustymabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dustymabe dustymabe merged commit 484c148 into coreos:main Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants