forked from privacysandbox/aggregation-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- docs updates + backports from GH - Add change log. - Updated scp repo to v0.39.0 - log worker args on startup - feat: Adopt and enable addlicense v1.1.0 - Refactoring exception handling (And 26 more changes) Change-Id: Icf3b8f4ac59bb8a7e97d55248b5924ac3019078c GitOrigin-RevId: 3c9c09b21c041949c6f4b41f2f97d80091d29235
- Loading branch information
1 parent
9e253bb
commit 3320898
Showing
254 changed files
with
3,157 additions
and
2,156 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
builders/etc/.markdownlint-cli2.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
# Copyright 2022 Google LLC | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
exclude: (?x)^( | ||
bazel-(bin|out|testlogs|workspace)/.*| | ||
.bazel_output/.*| | ||
javatests/testData/.*| | ||
version.txt | ||
)$ | ||
|
||
fail_fast: true | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.3.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: fix-byte-order-marker | ||
- id: mixed-line-ending | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- id: check-merge-conflict | ||
- id: check-yaml | ||
exclude: (?x)^( | ||
tools/load_tests/template.yaml | ||
)$ | ||
- id: check-json | ||
- id: check-symlinks | ||
files: ^$ | ||
- id: check-added-large-files | ||
- id: check-vcs-permalinks | ||
- id: check-executables-have-shebangs | ||
- id: detect-private-key | ||
|
||
- repo: https://github.com/jumanjihouse/pre-commit-hooks | ||
rev: 3.0.0 | ||
hooks: | ||
- id: git-check | ||
files: ^$ | ||
- id: script-must-not-have-extension | ||
files: ^$ | ||
exclude: '^google_internal/.*/kokoro_(presubmit|continuous).sh$' | ||
- id: script-must-have-extension | ||
- id: require-ascii | ||
- id: shellcheck | ||
files: ^$ | ||
exclude: '^(production|tools|google_internal|builders/images)/.*$' | ||
|
||
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks | ||
rev: v2.4.0 | ||
hooks: | ||
- id: pretty-format-java | ||
name: Google Java Formatter | ||
args: [--autofix] | ||
files: ^$ | ||
|
||
- repo: local | ||
hooks: | ||
- id: addlicense | ||
name: addlicense | ||
language: golang | ||
additional_dependencies: | ||
- github.com/google/[email protected] | ||
always_run: false | ||
pass_filenames: true | ||
types_or: | ||
- text | ||
entry: addlicense -v | ||
exclude: &addlicense-ignores (?x)^( | ||
adtech/.*| | ||
coordinator/.*| | ||
deploy-testenv/.*| | ||
java/com/google/aggregate/adtech/worker/gcp/.*| | ||
java/com/google/aggregate/simulation/.*| | ||
java/com/google/experimental/.*| | ||
javatests/com/google/aggregate/adtech/worker/e2e/.*| | ||
javatests/com/google/aggregate/simulation/.*| | ||
kokoro/.*| | ||
.*gcp.*| | ||
release/.*| | ||
release/aws/.*| | ||
.*/.terraform.lock.hcl| | ||
tools/opensource/.*| | ||
version.adtech| | ||
version.coordinator| | ||
worker/aws/testing/.*| | ||
worker/testing/data/1k/BUILD| | ||
WORKSPACE | ||
)$ | ||
|
||
- id: addlicense-check | ||
name: addlicense check | ||
language: golang | ||
additional_dependencies: | ||
- github.com/google/[email protected] | ||
always_run: false | ||
pass_filenames: true | ||
types_or: | ||
- text | ||
entry: addlicense -check | ||
exclude: *addlicense-ignores | ||
|
||
- id: inclusive-language | ||
name: inclusive language check | ||
language: script | ||
pass_filenames: true | ||
entry: tools/opensource/inclusive_language/inclusive-language-check | ||
types_or: | ||
- text | ||
exclude: (?x)^( | ||
WORKSPACE| | ||
tools/opensource/inclusive_language/.*| | ||
licenses/.* | ||
)$ | ||
|
||
- id: terraform-fmt | ||
name: terraform fmt | ||
description: Run terraform via docker to format Terraform files | ||
language: script | ||
pass_filenames: false | ||
entry: builders/tools/terraform fmt -write=true -recursive | ||
types_or: | ||
- terraform | ||
files: ^$ | ||
|
||
- id: hadolint | ||
name: Lint Dockerfiles | ||
description: Run hadolint via docker to lint Dockerfiles | ||
language: script | ||
types_or: | ||
- dockerfile | ||
entry: builders/tools/hadolint | ||
files: ^$ | ||
|
||
- repo: https://github.com/pre-commit/mirrors-prettier | ||
rev: v2.7.1 | ||
hooks: | ||
- id: prettier | ||
name: prettier markdown | ||
types_or: | ||
- markdown | ||
|
||
- repo: https://github.com/DavidAnson/markdownlint-cli2 | ||
rev: v0.5.1 | ||
hooks: | ||
- id: markdownlint-cli2 | ||
name: lint markdown | ||
|
||
- repo: local | ||
hooks: | ||
- id: buildifier | ||
name: buildifier | ||
description: Format bazel WORKSPACE, BUILD and .bzl files with a standard convention. | ||
language: golang | ||
additional_dependencies: | ||
- github.com/bazelbuild/buildtools/[email protected] | ||
always_run: true | ||
pass_filenames: true | ||
types_or: | ||
- bazel | ||
entry: buildifier | ||
args: | ||
- -lint=fix | ||
- -mode=fix | ||
- -warnings=all | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 22.8.0 | ||
hooks: | ||
- id: black | ||
name: black python formatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
builders/etc/.prettierrc.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Changelog | ||
|
||
## [0.5.0](https://github.com/privacysandbox/aggregation-service/compare/v0.4.0...v0.5.0) (2022-12-02) | ||
|
||
### Changes | ||
|
||
* Upgraded control plane shared library dependency to [v0.39.0](https://github.com/privacysandbox/control-plane-shared-libraries/tree/v0.39.0), which requires 6 Elastic IP addresses for the subnets of the created VPC. With the default [AWS VPC EIPs quota](https://docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html) set to 5 per region, users may need to request for more quota when deploying the Aggregate Service or decrease the number of subnets created for the aggregation service VPC. To stay within the default quota you can decrease the number of subnets, by setting `vpc_availability_zones = ["a","b","c","d","e"]` in your `<name>.auto.tfvars` | ||
|
||
* Addressed both [security issues](https://github.com/privacysandbox/aggregation-service/blob/v0.4.0/README.md#general-security-notes) by uprading the control plane shared library dependency. | ||
|
||
## [0.4.0](https://github.com/privacysandbox/aggregation-service/compare/v0.3.0...v0.4.0) (2022-10-24) | ||
|
||
### Changes | ||
|
||
* Multi-party coordinator support added and made the default. | ||
* Aggregation Service enforces the [no-duplicate](https://github.com/WICG/attribution-reporting-api/blob/main/AGGREGATION_SERVICE_TEE.md#no-duplicates-rule) rule. We recommend users design their systems keeping the no-duplicate rule in consideration. We suggest reading the [debugging](./DEBUGGING.md) document for debug aggregation runs. | ||
|
||
|
||
## [0.3.0](https://github.com/privacysandbox/aggregation-service/compare/v0.2.0...v0.3.0) (2022-06-30) | ||
|
||
### Changes | ||
|
||
* Support for updated Attribution Reporting API [Aggregatable Reports](https://github.com/WICG/conversion-measurement-api/blob/main/AGGREGATION_SERVICE_TEE.md#aggregatable-reports) format. | ||
|
||
## [0.2.0](https://github.com/privacysandbox/aggregation-service/compare/v0.1.2...v0.2.0) (2022-06-09) | ||
|
||
### Changes | ||
|
||
* The [`no-duplicate`](https://github.com/WICG/attribution-reporting-api/blob/main/AGGREGATION_SERVICE_TEE.md#no-duplicates-rule) rule for privacy budget is not enforced anymore but will be enforced in the future. We recommend you design your systems with the `no-duplicate` rule in consideration. | ||
* Added support for relative paths in LocalTestingTool binary | ||
* Fixed issue with unexpected error messages in LocalTestingTool binary |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.