Skip to content

Set up repo to support automated codegen #8

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

Merged
merged 4 commits into from
Sep 6, 2023
Merged

Set up repo to support automated codegen #8

merged 4 commits into from
Sep 6, 2023

Conversation

JoshMock
Copy link
Member

Copying changes from elastic/elasticsearch-js#1944.

Also updates to use a serverless version number that includes date metadata.

@JoshMock JoshMock requested a review from picandocodigo August 30, 2023 18:21
.ci/Dockerfile Outdated
RUN npm install

COPY . .
COPY --chown=$BUILDER_USER:$BUILDER_GROUP . .
Copy link
Member

@picandocodigo picandocodigo Aug 31, 2023

Choose a reason for hiding this comment

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

Just yesterday I cleaned up the elasticsearch-ruby Dockerfile. All this user/group configuration was needed for the snapshot builds so the release manager could pick up the generated zip file. I think we can remove it now to make our Dockerfiles simpler.

Copy link
Member Author

Choose a reason for hiding this comment

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

Good to know.

I ran into a pain point where not including --chown when running locally would set all the build artifacts and my node_modules to be owned by root. That's more of a personal inconvenience, though, so I'm sure I can find a way to work around it.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in a98c9bd.

@JoshMock JoshMock requested a review from picandocodigo August 31, 2023 21:10
@JoshMock JoshMock merged commit 4e6ce91 into main Sep 6, 2023
@JoshMock JoshMock deleted the auto-codegen branch September 6, 2023 18:29
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