Skip to content

Commit

Permalink
Merge pull request #54 from privacysandbox/release-0.38.0
Browse files Browse the repository at this point in the history
Release 0.38.0
  • Loading branch information
pmeric authored Jul 28, 2023
2 parents ee2fe8f + b86b5cf commit 41edbd6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.

## 0.38.0 (2023-07-28)


### Features

* Add cbuild flag --seccomp-unconfined

## 0.37.0 (2023-07-27)


Expand Down
10 changes: 10 additions & 0 deletions tools/cbuild
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ USAGE
--without-shared-cache Containers will not mount ${HOME}/.cache/bazel
--without-embedded-docker Disable docker client within container
--docker-network <value> Specify docker network type or name, value passed to docker run --network
--seccomp-unconfined Run docker container without a seccomp profile
--verbose Enable verbose output
Environment variables (all optional):
Expand All @@ -67,6 +68,7 @@ USAGE
WITH_SHARED_CACHE=1
WITH_DOCKER_SOCK=1
DOCKER_NETWORK=bridge
DOCKER_SECCOMP_UNCONFINED=0

while [[ $# -gt 0 ]]; do
case "$1" in
Expand Down Expand Up @@ -94,6 +96,10 @@ while [[ $# -gt 0 ]]; do
DOCKER_NETWORK="$2"
shift 2 || usage
;;
--seccomp-unconfined)
DOCKER_SECCOMP_UNCONFINED=1
shift
;;
--verbose)
VERBOSE=1
shift
Expand Down Expand Up @@ -145,6 +151,10 @@ DOCKER_RUN_ARGS+=(
"$(echo "${EXTRA_DOCKER_RUN_ARGS}" | envsubst)"
)

if [[ ${DOCKER_SECCOMP_UNCONFINED} -eq 1 ]]; then
DOCKER_RUN_ARGS+=("--security-opt=seccomp=unconfined")
fi

# inside the docker build images, /bazel_root is the bazel cache dir, per the system-wide bazelrc
readonly BAZEL_ROOT=/bazel_root
if [[ ${WITH_SHARED_CACHE} -eq 0 ]]; then
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.37.0
0.38.0

0 comments on commit 41edbd6

Please sign in to comment.