Skip to content

Conversation

@chizkiyahu
Copy link
Contributor

@chizkiyahu chizkiyahu commented Oct 22, 2025

  1. refactor "clone repositories and build" from build-with-manifest.yml and build-with-manifest-overrides.yml to ci_build.sh
  2. run ci_build.sh in docker to cache the build and reduce build time by ~50%

this PR is the sec part of #62\

waiting for

1. refactor "clone repositories and build" from `build-with-manifest.yml` and `build-with-manifest-overrides.yml` to `ci_build.sh`
2. run `ci_build.sh` in docker to cache the build and reduce build time by ~50%

Signed-off-by: Chizkiyahu Raful <[email protected]>
This was referenced Oct 22, 2025

ENV MANIFEST_URL=$MANIFEST_URL REPO_DIR=$REPO_DIR INSTALL_DIR=$INSTALL_DIR CHANGED_REPO=$CHANGED_REPO CHANGED_SHA=$CHANGED_SHA
COPY --chown=$user --chmod=755 ../.github/workflows/scripts/ci_build.sh ./
RUN ./ci_build.sh
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think we should do this. I guess you are trying to cut repo checkout times but I would not do that in the docker image itself. I would like to keep this minimal and just containing dependencies for building

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I removed RUN ./ci_build.sh

@chizkiyahu chizkiyahu marked this pull request as draft October 22, 2025 13:55
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