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

Update to v1.7.1 #354

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
711a65d
Bump the go-deps group with 2 updates (#3691)
dependabot[bot] Nov 26, 2024
3cdb0bd
Bump the docker-deps group across 2 directories with 2 updates (#3692)
dependabot[bot] Nov 26, 2024
4d983ba
Bump github.com/fullstorydev/grpcurl in the go-deps group (#3693)
dependabot[bot] Dec 2, 2024
e8ac768
Bump the docker-deps group across 2 directories with 1 update (#3694)
dependabot[bot] Dec 3, 2024
60e84a0
Bump the go-deps group with 9 updates (#3696)
dependabot[bot] Dec 9, 2024
10f8eb9
Bump the docker-deps group across 5 directories with 3 updates (#3698)
dependabot[bot] Dec 10, 2024
0a78ef0
Bump the npm_and_yarn group in /scripts/gcb2slack with 2 updates (#3700)
dependabot[bot] Dec 10, 2024
a9708c6
Bump @slack/webhook from 7.0.3 to 7.0.4 in /scripts/gcb2slack (#3699)
dependabot[bot] Dec 10, 2024
4e38476
Update README to point to Tessera (#3702)
mhutchinson Dec 10, 2024
d73c223
Bump github/codeql-action in the github-actions-deps group (#3697)
dependabot[bot] Dec 11, 2024
56c08fd
Bump golang.org/x/crypto from 0.30.0 to 0.31.0 in the go_modules grou…
dependabot[bot] Dec 15, 2024
13b64fa
Bump the github-actions-deps group with 2 updates (#3704)
dependabot[bot] Dec 17, 2024
f473f3d
Bump @google-cloud/functions-framework in /scripts/gcb2slack (#3706)
dependabot[bot] Dec 17, 2024
6a022c8
Bump the docker-deps group across 4 directories with 2 updates (#3710)
dependabot[bot] Jan 6, 2025
b076810
Bump the go-deps group across 1 directory with 5 updates (#3709)
dependabot[bot] Jan 6, 2025
e8b5b33
Bump the github-actions-deps group with 2 updates (#3708)
dependabot[bot] Jan 6, 2025
3c98e0d
For PostgreSQL, explicitly create index on SequencedLeafData(TreeId, …
robstradling Jan 6, 2025
4edc515
Bump the go-deps group with 3 updates (#3711)
dependabot[bot] Jan 7, 2025
a429f08
chore: relax go directive to permit 1.22.x (#3713)
dnwe Jan 9, 2025
205cc42
v1.7.1 changelog (#3714)
AlCutter Jan 9, 2025
f46af4d
Merge tag 'v1.7.1'
tommyd450 Mar 18, 2025
c50ce66
run go mod tidy
JasonPowr Mar 21, 2025
77120d4
go update to 1.23 (#3733)
phbnf Feb 13, 2025
d743e90
Bump the go-deps group with 13 updates (#3749)
dependabot[bot] Mar 11, 2025
421bc59
run go mod tidy
JasonPowr Mar 21, 2025
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
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -59,7 +59,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/autobuild@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -72,6 +72,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
category: "/language:${{matrix.language}}"
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: v1.55.1
version: v1.61.0
args: --timeout=8m
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
with:
name: SARIF file
path: results.sarif
retention-days: 5

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
sarif_file: results.sarif
8 changes: 4 additions & 4 deletions .github/workflows/test_crdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
cache: true

- uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: 'v1.55.1'
version: 'v1.61.0'
args: ./storage/crdb

unit-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
Expand All @@ -49,7 +49,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test_pgdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
cache: true

- uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0
with:
version: 'v1.55.1'
version: 'v1.61.0'
args: ./storage/postgresql

integration-and-unit-tests:
Expand All @@ -50,7 +50,7 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: go.mod
check-latest: true
Expand All @@ -68,4 +68,4 @@ jobs:

- name: Run unit tests
run: go test -v ./storage/postgresql/... ./quota/postgresqlqm/...


14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@

## HEAD

* Add `--election_system` parameter to allow selection of the election system by @osmman in https://github.com/google/trillian/pull/3721
* Add Kubernetes-based leader election system by @osmman in https://github.com/google/trillian/pull/3721
* Bump go to 1.23

## v1.7.1

### Storage

* For PostgreSQL, explicitly create index on SequencedLeafData(TreeId, LeafIdentityHash) by @robstradling in https://github.com/google/trillian/pull/3695

### Misc

* Relaxed go.mod version requirements to `1.22.x`

## v1.7.0

### Storage
Expand Down
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
[![GoDoc](https://godoc.org/github.com/google/trillian?status.svg)](https://godoc.org/github.com/google/trillian)
[![Slack Status](https://img.shields.io/badge/Slack-Chat-blue.svg)](https://transparency-dev.slack.com/)

> [!NOTE]
> Trillian is in maintenance mode.
> The next generation of transparency logs uses [Tiled APIs](ttps://c2sp.org/tlog-tiles)
> and are better supported by [Trillian Tessera](https://github.com/transparency-dev/trillian-tessera).
> We recommend that any new log operators first try Tessera.
>
> Community contributions to Trillian are still welcome!

- [Overview](#overview)
- [Support](#support)
- [Using the Code](#using-the-code)
Expand Down Expand Up @@ -73,7 +81,7 @@ The current state of feature implementation is recorded in the

To build and test Trillian you need:

- Go 1.22 or later (go 1.22 matches cloudbuild, and is preferred for developers
- Go 1.23 or later (go 1.23 matches cloudbuild, and is preferred for developers
that will be submitting PRs to this project).

To run many of the tests (and production deployment) you need:
Expand Down
95 changes: 47 additions & 48 deletions crypto/keyspb/keyspb.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/deployment/docker/db_server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM mysql:8.4@sha256:6bc3ac72e858ad6ecb651229520fe14848b885ed01b3f08e2b201a25a5f49476
FROM mysql:8.4@sha256:106d5197fd8e4892980469ad42eb20f7a336bd81509aae4ee175d852f5cc4565

# TODO(roger2hk): Uncomment the below OS-level packages patch command as this is a temporary workaround to bypass the mysql8 gpg key rotation issue.
# # Patch the OS-level packages and remove unneeded dependencies.
Expand Down
2 changes: 1 addition & 1 deletion examples/deployment/docker/db_server/postgresql/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM postgres:17.1@sha256:163763c8afd28cae69035ce84b12d8180179559c747c0701b3cad17818a0dbc5
FROM postgres:17.2@sha256:888402a8cd6075c5dc83a31f58287f13306c318eaad016661ed12e076f3e6341

# expects the build context to be: $GOPATH/src/github.com/google/trillian
COPY storage/postgresql/schema/storage.sql /docker-entrypoint-initdb.d/storage.sql
Expand Down
2 changes: 1 addition & 1 deletion examples/deployment/docker/envsubst/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.20@sha256:1e42bbe2508154c9126d48c2b8a75420c3544343bf86fd041fb7527e017a4b4a
FROM alpine:3.21@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45

RUN apk add --no-cache gettext

Expand Down
Loading
Loading