Skip to content

Remove tools/, install schematyper on demand#3093

Merged
dustymabe merged 1 commit intocoreos:mainfrom
cgwalters:schematyper-on-demand
Sep 13, 2022
Merged

Remove tools/, install schematyper on demand#3093
dustymabe merged 1 commit intocoreos:mainfrom
cgwalters:schematyper-on-demand

Conversation

@cgwalters
Copy link
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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 cgwalters force-pushed the schematyper-on-demand branch from d8986be to 6b30d19 Compare September 13, 2022 14:13
@cgwalters cgwalters marked this pull request as ready for review September 13, 2022 14:13
@cgwalters
Copy link
Copy Markdown
Member Author

Rebased 🏄 and lifting draft

@cgwalters
Copy link
Copy Markdown
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
Copy Markdown
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.

2 participants