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

Bake workflow #3204

Draft
wants to merge 14 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 12 additions & 13 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,15 @@ Dependencies:
- [runc](https:/opencontainers/runc)
- [containerd](https:/containerd/containerd) (if you want to use containerd worker)


The following command installs `buildkitd` and `buildctl` to `/usr/local/bin`:

```bash
make && sudo make install
```
# installs buildkitd and buildctl to /usr/local/bin
$ make && sudo make install

To build containerized `moby/buildkit:local` and `moby/buildkit:local-rootless` images:
```bash
make images
# build moby/buildkit:local and moby/buildkit:local-rootless images
$ make images

# build docker/dockerfile:local and docker/dockerfile:local-labs images
$ make frontends
```

### Run the unit- and integration-tests
Expand Down Expand Up @@ -94,13 +93,15 @@ TESTPKGS=./client TESTFLAGS="--run //worker=containerd -v" ./hack/test integrati
DOCKERFILE_RELEASES=labs TESTFLAGS="--run /TestRunGlobalNetwork/worker=oci$/ -v" ./hack/test dockerfile
```

Set `TEST_KEEP_CACHE=1` for the test framework to keep external dependant images in a docker volume
if you are repeatedly calling `./hack/test` script. This helps to avoid rate limiting on the remote registry side.
> **Note**
>
> Set `TEST_KEEP_CACHE=1` for the test framework to keep external dependant
> images in a docker volume if you are repeatedly calling `./hack/test` script.
> This helps to avoid rate limiting on the remote registry side.

Updating vendored dependencies:

```bash
# update vendor.conf
make vendor
```

Expand All @@ -110,8 +111,6 @@ Validating your updates before submission:
make validate-all
```



### Pull requests are always welcome

Not sure if that typo is worth a pull request? Found a bug and know how to fix
Expand Down
Loading