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

Add fast pusher for fast builds #2114

Merged
merged 27 commits into from
Jan 24, 2025
Merged

Add fast pusher for fast builds #2114

merged 27 commits into from
Jan 24, 2025

Conversation

8W9aG
Copy link
Contributor

@8W9aG 8W9aG commented Jan 17, 2025

  • Separates push into standard and fast
  • Generates the necessary tar files to push
  • Calls the backend to create a file to push

* Separates push into standard and fast
* Generates the necessary tar files to push
* Calls the backend to create a file to push
@8W9aG 8W9aG marked this pull request as draft January 17, 2025 21:04
@8W9aG 8W9aG marked this pull request as ready for review January 22, 2025 17:31
@8W9aG 8W9aG requested a review from a team January 22, 2025 17:31
pkg/docker/docker_command.go Show resolved Hide resolved
pkg/docker/apt.go Outdated Show resolved Hide resolved
}

func loadAuthFromConfig(conf *configfile.ConfigFile, registryHost string) (string, error) {
return conf.AuthConfigs[registryHost].Password, nil
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it OK that this will panic if the key doesn't exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeh I would rather the program had a hard termination as this is unexpected.

pkg/docker/apt.go Outdated Show resolved Hide resolved
pkg/docker/fast_push.go Outdated Show resolved Hide resolved
pkg/docker/fast_push.go Outdated Show resolved Hide resolved
pkg/docker/fast_push.go Outdated Show resolved Hide resolved
pkg/docker/fast_push.go Outdated Show resolved Hide resolved
pkg/docker/fast_push_test.go Outdated Show resolved Hide resolved
pkg/docker/mock_command.go Outdated Show resolved Hide resolved
@8W9aG 8W9aG requested a review from meatballhat January 23, 2025 21:41
@8W9aG 8W9aG merged commit 7b97da5 into main Jan 24, 2025
21 checks passed
@8W9aG 8W9aG deleted the sackfield/add-fast-pusher branch January 24, 2025 16:43
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