Skip to content

Commit

Permalink
Merge pull request #104 from privacysandbox/release-0.71.0
Browse files Browse the repository at this point in the history
Release 0.71.0
  • Loading branch information
pmeric authored Oct 18, 2024
2 parents 3a6c0ff + 0bc24ca commit c631816
Show file tree
Hide file tree
Showing 10 changed files with 31 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ repos:
- markdown

- repo: https://github.com/DavidAnson/markdownlint-cli2
rev: v0.13.0
rev: v0.7.1
hooks:
- id: markdownlint-cli2
name: lint markdown
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

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.71.0 (2024-10-18)


### Dependencies

* **deps:** Pin AmazonLinux2023 Nitro CLI versions
* **deps:** Update AmazonLinux base images to 2024-10-01
* **deps:** Upgrade pre-commit and pylint

## 0.70.0 (2024-10-10)


Expand Down
2 changes: 1 addition & 1 deletion images/build-amazonlinux2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM amazonlinux:2.0.20240412.0
FROM amazonlinux:2.0.20241001.0

COPY /install_apps install_golang_apps install_go.sh generate_system_bazelrc .bazelversion /scripts/
COPY get_workspace_mount /usr/local/bin
Expand Down
2 changes: 1 addition & 1 deletion images/build-amazonlinux2023/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM amazonlinux:2023.5.20240722.0
FROM amazonlinux:2023.5.20241001.1

COPY /install_apps install_golang_apps install_go.sh generate_system_bazelrc .bazelversion /scripts/
COPY get_workspace_mount /usr/local/bin
Expand Down
16 changes: 13 additions & 3 deletions images/build-amazonlinux2023/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,19 @@ function install_python() {
}

function install_nitro() {
local -r arch="$1"
local -r -A extensions=(
[amd64]="x86_64"
[arm64]="aarch64"
)
local -r ext="${extensions[${arch}]}"
if [[ -z ${ext} ]]; then
printf "Unrecognized or unsupported architecture for nitro: %s\n" "${arch}" &>/dev/stderr
return 1
fi
dnf install -y \
"aws-nitro-enclaves-cli-1.3.*" \
"aws-nitro-enclaves-cli-devel-1.3.*"
"aws-nitro-enclaves-cli-1.3.1-0.amzn2023.${ext}" \
"aws-nitro-enclaves-cli-devel-1.3.1-0.amzn2023.${ext}"
}

function install_gcc() {
Expand Down Expand Up @@ -91,7 +101,7 @@ fi

install_python
dnf_update
install_nitro
install_nitro "${BUILD_ARCH}"
install_misc
install_clang
install_golang "${BUILD_ARCH}"
Expand Down
4 changes: 2 additions & 2 deletions images/presubmit/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ function install_docker() {
function install_precommit() {
/usr/bin/python3.12 -m venv "${PRE_COMMIT_VENV_DIR}"
"${PRE_COMMIT_VENV_DIR}"/bin/pip install \
pre-commit~=3.7 \
pylint~=3.1.0
pre-commit~=4.0 \
pylint~=3.1
"${PRE_COMMIT_TOOL}" --version

# initialize pre-commit cache, which needs a git repo (a temporary will suffice)
Expand Down
2 changes: 1 addition & 1 deletion tests/data/hashes/build-amazonlinux2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b736a985e1dabca78d7b568b1bed9dc4d57d64ee89b75a60704d3df535de0313
566ebf3a2f4bc0a9675b51ee68de67bf0ea6d90c1fbbb9dcd9096002a24ed365
2 changes: 1 addition & 1 deletion tests/data/hashes/build-amazonlinux2023
Original file line number Diff line number Diff line change
@@ -1 +1 @@
bf2a5b9d4f49488600efac473c911d28d494cd2e2e611ebcbdeb4d0a83c469ca
9cde9b8ca775243a0093c486e229f3fa885bead7e12afc3bdd1408a919076e7e
2 changes: 1 addition & 1 deletion tests/data/hashes/presubmit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f7e849db94d0f6c3fb6ef4a3e12dfce53ae2987015040511236a53fd516298fa
59738b43c28ecd1582112ce61fdbb697aa4952636b99955fdecdcc624bd245fe
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.70.0
0.71.0

0 comments on commit c631816

Please sign in to comment.