Skip to content

builder/remotecontext: remove CachableSource, NewCachableSource#45627

Merged
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:remove_builder_streaming
May 29, 2023
Merged

builder/remotecontext: remove CachableSource, NewCachableSource#45627
thaJeztah merged 1 commit intomoby:masterfrom
thaJeztah:remove_builder_streaming

Conversation

@thaJeztah
Copy link
Member

This type (as well as TarsumBackup), was used for the experimental --stream support for the classic builder. This feature was removed in commit 6ca3ec8 (#39983), which also removed uses of the CachableSource type.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah
Copy link
Member Author

@AkihiroSuda @tonistiigi ptal

This type (as well as TarsumBackup), was used for the experimental --stream
support for the classic builder. This feature was removed in commit
6ca3ec8, which also removed uses of
the CachableSource type.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the remove_builder_streaming branch from 3c19135 to 44124ab Compare May 29, 2023 14:35
@thaJeztah
Copy link
Member Author

@corhere @crazy-max PTAL

@thaJeztah thaJeztah added this to the 25.0.0 milestone May 29, 2023
@thaJeztah thaJeztah merged commit 098b0fd into moby:master May 29, 2023
@thaJeztah thaJeztah deleted the remove_builder_streaming branch May 29, 2023 17:04
@crazy-max
Copy link
Member

crazy-max commented May 29, 2023

Not related but I see when merged a job failed: https://github.com/moby/moby/actions/runs/5113934282/jobs/9193724679#step:5:55 when trying to solve BuildKit ref (returns null):

 /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/null*:refs/remotes/origin/null* +refs/tags/null*:refs/tags/null*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 17 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/null*:refs/remotes/origin/null* +refs/tags/null*:refs/tags/null*
  The process '/usr/bin/git' failed with exit code 1
  Waiting 12 seconds before trying again
  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/null*:refs/remotes/origin/null* +refs/tags/null*:refs/tags/null*
  Error: The process '/usr/bin/git' failed with exit code 1

Might by an issue with GitHub API to return full sha from pseudo-ver:

moby/hack/buildkit-ref

Lines 17 to 18 in 098b0fd

# use github api to return full sha to be able to use it as ref
BUILDKIT_REF=$(curl -s "https://api.github.com/repos/${BUILDKIT_REPO}/commits/${BUILDKIT_REF}" | jq -r .sha)

Will look at this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants