Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
build(java): skip javadoc tests during dependencies test (#27)
Browse files Browse the repository at this point in the history
* build(java): skip javadoc tests during dependencies test

Source-Author: Jeff Ching <chingor@google.com>
Source-Date: Fri Apr 9 09:18:54 2021 -0700
Source-Repo: googleapis/synthtool
Source-Sha: 5b0e1592dd7d70b485e157ea4b3eb1704ecbd015
Source-Link: googleapis/synthtool@5b0e159

* chore: add sync-repo-settings.yaml file to java templates

* chore: add sync-repo-settings.yaml file to java templates

* chore fix lint

Source-Author: Neenu Shaji <Neenu1995@users.noreply.github.com>
Source-Date: Fri Apr 9 14:19:16 2021 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 1f5e6bc8dc8e3661ee550905fc070e55e1b6cea1
Source-Link: googleapis/synthtool@1f5e6bc
  • Loading branch information
yoshi-automation committed Apr 12, 2021
1 parent 7b13cb2 commit 4ea55eb
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 2 deletions.
49 changes: 49 additions & 0 deletions .github/sync-repo-settings.yaml
@@ -0,0 +1,49 @@

# Whether or not rebase-merging is enabled on this repository.
# Defaults to `true`
rebaseMergeAllowed: false

# Whether or not squash-merging is enabled on this repository.
# Defaults to `true`
squashMergeAllowed: true

# Whether or not PRs are merged with a merge commit on this repository.
# Defaults to `false`
mergeCommitAllowed: false

# Rules for master branch protection
branchProtectionRules:
# Identifies the protection rule pattern. Name of the branch to be protected.
# Defaults to `master`
- pattern: master
# Can admins overwrite branch protection.
# Defaults to `true`
isAdminEnforced: true
# Number of approving reviews required to update matching branches.
# Defaults to `1`
requiredApprovingReviewCount: 1
# Are reviews from code owners required to update matching branches.
# Defaults to `false`
requiresCodeOwnerReviews: true
# Require up to date branches
requiresStrictStatusChecks: false
# List of required status check contexts that must pass for commits to be accepted to matching branches.
requiredStatusCheckContexts:
- "dependencies (8)"
- "dependencies (11)"
- "linkage-monitor"
- "lint"
- "clirr"
- "units (7)"
- "units (8)"
- "units (11)"
- "Kokoro - Test: Integration"
- "cla/google"
# List of explicit permissions to add (additive only)
permissionRules:
- team: yoshi-admins
permission: admin
- team: yoshi-java-admins
permission: admin
- team: yoshi-java
permission: push
1 change: 1 addition & 0 deletions .kokoro/dependencies.sh
Expand Up @@ -33,6 +33,7 @@ export MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=128m"
retry_with_backoff 3 10 \
mvn install -B -V -ntp \
-DskipTests=true \
-Dmaven.javadoc.skip=true \
-Dclirr.skip=true

mvn -B dependency:analyze -DfailOnWarning=true
Expand Down
5 changes: 3 additions & 2 deletions synth.metadata
Expand Up @@ -4,7 +4,7 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-artifact-registry.git",
"sha": "8795893799fed0f3847c26dd0b1b4fe217aa2a74"
"sha": "c59df6f1d4b0e0eaccbe0807178aa2da662a1b93"
}
},
{
Expand All @@ -19,7 +19,7 @@
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
"sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098"
"sha": "1f5e6bc8dc8e3661ee550905fc070e55e1b6cea1"
}
}
],
Expand All @@ -34,6 +34,7 @@
".github/readme/synth.py",
".github/release-please.yml",
".github/snippet-bot.yml",
".github/sync-repo-settings.yaml",
".github/trusted-contribution.yml",
".github/workflows/approve-readme.yaml",
".github/workflows/auto-release.yaml",
Expand Down

0 comments on commit 4ea55eb

Please sign in to comment.