Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Expose buildkit port (#413)
Browse files Browse the repository at this point in the history
* Expose buildkit port

Signed-off-by: Jeev B <[email protected]>

* fix test

Signed-off-by: Jeev B <[email protected]>

---------

Signed-off-by: Jeev B <[email protected]>
  • Loading branch information
jeevb authored Jul 21, 2023
1 parent 3590432 commit 6fff080
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/docker/docker_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ func GetDemoPorts() (map[nat.Port]struct{}, map[nat.Port][]nat.PortBinding, erro
"0.0.0.0:30000:30000", // Registry Port
"0.0.0.0:30001:30001", // Postgres Port
"0.0.0.0:30002:30002", // Minio API Port (use HTTP port for minio console)
"0.0.0.0:30003:30003", // Buildkit Port
})
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/docker/docker_util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,7 @@ func TestGetOrCreateVolume(t *testing.T) {

func TestDemoPorts(t *testing.T) {
_, ports, _ := GetDemoPorts()
assert.Equal(t, 5, len(ports))
assert.Equal(t, 6, len(ports))
}

func TestCopyFile(t *testing.T) {
Expand Down

0 comments on commit 6fff080

Please sign in to comment.