Skip to content

Commit

Permalink
Merge pull request #14 from googleapis/master
Browse files Browse the repository at this point in the history
upstream master >= v0.94.1
  • Loading branch information
uschen authored Sep 8, 2021
2 parents 1e1d159 + a6550c5 commit fd7f3a6
Show file tree
Hide file tree
Showing 4,563 changed files with 307,633 additions and 37,144 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 15 additions & 12 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
# Default owner for all directories not owned by others
* @googleapis/yoshi-go-admins
* @googleapis/yoshi-go-admins

/bigtable/ @crwilcox @tritone @kolea2 @googleapis/yoshi-go-admins
/bigquery/ @googleapis/api-bigquery @googleapis/yoshi-go-admins
/datastore/ @crwilcox @tritone @googleapis/yoshi-go-admins
/firestore/ @crwilcox @tritone @googleapis/yoshi-go-admins
/pubsub/ @googleapis/api-pubsub @googleapis/yoshi-go-admins
/pubsublite/ @googleapis/api-pubsub @googleapis/yoshi-go-admins
/spanner/ @skuruppu @hengfengli @googleapis/yoshi-go-admins
/storage/ @googleapis/storage-dpe @googleapis/yoshi-go-admins
/errorreporting/ @googleapis/api-logging @googleapis/yoshi-go-admins
/logging/ @googleapis/api-logging @googleapis/yoshi-go-admins
/profiler/ @googleapis/api-profiler @googleapis/yoshi-go-admins
/bigtable/ @crwilcox @tritone @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/cbt @garye @igorbernstein2 @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/cmd/emulator @garye @igorbernstein2 @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigtable/bttest @garye @igorbernstein2 @googleapis/api-bigtable @googleapis/yoshi-go-admins
/bigquery/ @googleapis/api-bigquery @googleapis/yoshi-go-admins
/datastore/ @crwilcox @tritone @googleapis/yoshi-go-admins
/firestore/ @crwilcox @tritone @googleapis/yoshi-go-admins
/pubsub/ @googleapis/api-pubsub @googleapis/yoshi-go-admins
/pubsublite/ @googleapis/api-pubsub @googleapis/yoshi-go-admins
/spanner/ @skuruppu @hengfengli @googleapis/yoshi-go-admins
/storage/ @googleapis/cloud-storage-dpe @googleapis/yoshi-go-admins
/errorreporting/ @googleapis/api-logging @googleapis/yoshi-go-admins
/logging/ @googleapis/api-logging @googleapis/yoshi-go-admins
/profiler/ @googleapis/api-profiler @googleapis/yoshi-go-admins
2 changes: 1 addition & 1 deletion .github/blunderbuss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ assign_issues_by:
- 'api: logging'
- 'api: clouderrorreporting'
to:
- nicoleczhu
- googleapis/api-logging
5 changes: 3 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": [
"config:base",
"schedule:weekly"
"schedule:weekly",
":disableDependencyDashboard"
],
"semanticCommits": false,
"postUpdateOptions": [
Expand All @@ -15,7 +16,7 @@
],
"force": {
"constraints": {
"go": "1.16"
"go": "1.17"
}
}
}
46 changes: 7 additions & 39 deletions .github/workflows/release-submodule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,44 +19,12 @@ jobs:
submodules: ${{ steps.interrogate.outputs.submodules }}
steps:
- uses: actions/checkout@v2
- id: interrogate
uses: actions/github-script@v3
- name: Setup Go
uses: actions/setup-go@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const {execSync} = require('child_process');
const SUB_MODULES = [
'bigtable',
'bigquery',
'datastore',
'firestore',
'logging',
'pubsub',
'pubsublite',
'spanner',
'storage',
];
const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');
const latestRelease = await github.repos.getLatestRelease({
owner,
repo
});
console.info(`latest release: ${latestRelease.data.tag_name}`);
// pull all tags, so we can get diff between HEAD and last release:
execSync('git pull --tags');
execSync(`git reset --hard ${latestRelease.data.tag_name}`);
const status = execSync(`git diff --name-only origin/master`, { encoding: 'utf-8'});
console.info(status);
const changes = status.split('\n');
const submodules = new Set();
for (const change of changes) {
const library = change.split('/')[0];
console.info(`update to path ${library}`);
if (SUB_MODULES.includes(library)) {
submodules.add(library);
}
}
console.log(`::set-output name=submodules::${JSON.stringify(Array.from(submodules))}`);
go-version: '^1.17'
- id: interrogate
run: go run internal/actions/cmd/changefinder/main.go
release-pr: # Create the release PR based on commit history:
runs-on: ubuntu-latest
needs: changeFinder
Expand All @@ -76,7 +44,7 @@ jobs:
package-name: ${{ matrix.package }}
monorepo-tags: true
command: release-pr
- uses: actions/github-script@v3
- uses: actions/github-script@v4
id: label # Adds the "autorelease: pending" label.
if: ${{steps.release-please.outputs.pr}}
with:
Expand Down Expand Up @@ -110,7 +78,7 @@ jobs:
command: github-release
# Add the "autorelease: published" and remove tagged, this allows
# monitoring to be enabled that detects failed releases:
- uses: actions/github-script@v3
- uses: actions/github-script@v4
id: untag-release
if: ${{steps.tag-release.outputs.pr}}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
fork: true
package-name: google-cloud-go
command: release-pr
- uses: actions/github-script@v3
- uses: actions/github-script@v4
id: label # Add the magic "autorelease: pending" label.
if: ${{ steps.release-pr.outputs.pr }}
with:
Expand All @@ -46,7 +46,7 @@ jobs:
changelog-path: CHANGES.md
# Add the "autorelease: published" and remove tagged, this allows
# monitoring to be enabled that detects failed releases:
- uses: actions/github-script@v3
- uses: actions/github-script@v4
id: untag-release
if: ${{steps.tag-release.outputs.pr}}
with:
Expand Down
Loading

0 comments on commit fd7f3a6

Please sign in to comment.