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

feat: Migrate code from googleapis/python-ids into packages/google-cloud-ids (#11047) #11107

Closed
wants to merge 94 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
32e6e89
feat: generate v1
parthea Nov 11, 2021
04fe3ee
add constraints files
parthea Nov 11, 2021
9d9e2d9
chore: release 0.1.0 (#1)
release-please[bot] Nov 12, 2021
dc0e53e
chore: update doc links from googleapis.dev to cloud.google.com (#2)
dandhlee Nov 18, 2021
5a49dd5
chore: generate CODEOWNERS from config (#3)
gcf-owl-bot[bot] Dec 1, 2021
7fd1bbf
chore: update .repo-metadata.json (#8)
parthea Dec 28, 2021
fe05c1d
chore: use python-samples-reviewers (#10)
gcf-owl-bot[bot] Jan 6, 2022
761c5cd
chore: use gapic-generator-python 0.58.4 (#9)
gcf-owl-bot[bot] Jan 11, 2022
69d6f9c
build: switch to release-please for tagging (#11)
gcf-owl-bot[bot] Jan 14, 2022
950c831
chore(python): update release.sh to use keystore (#12)
gcf-owl-bot[bot] Jan 14, 2022
fa793a4
ci(python): run lint / unit tests / docs as GH actions (#13)
gcf-owl-bot[bot] Jan 20, 2022
3f3c497
feat: bump release level to production/stable (#5)
parthea Jan 24, 2022
c06c06f
chore(main): release 1.0.0 (#14)
release-please[bot] Jan 24, 2022
bc3f542
feat: add api key support (#15)
gcf-owl-bot[bot] Jan 25, 2022
c102fed
chore: use gapic-generator-python 0.62.1 (#18)
gcf-owl-bot[bot] Feb 4, 2022
e1752a5
chore: use gapic-generator-python 0.63.2 (#20)
gcf-owl-bot[bot] Feb 11, 2022
882c93b
chore: use gapic-generator-python 0.63.4 (#21)
gcf-owl-bot[bot] Feb 25, 2022
7d07bdd
chore: update copyright year to 2022 (#22)
gcf-owl-bot[bot] Feb 26, 2022
ab8fa15
chore(main): release 1.1.0 (#16)
release-please[bot] Feb 28, 2022
0ac347e
chore(deps): update actions/setup-python action to v3 (#24)
gcf-owl-bot[bot] Mar 1, 2022
25dfa83
chore(deps): update actions/checkout action to v3 (#26)
gcf-owl-bot[bot] Mar 3, 2022
e3b6486
fix(deps): require google-api-core>=1.31.5, >=2.3.2 (#29)
parthea Mar 4, 2022
1b59e88
chore(deps): update actions/download-artifact action to v3 (#31)
gcf-owl-bot[bot] Mar 5, 2022
d8f6e18
chore(main): release 1.1.1 (#30)
release-please[bot] Mar 7, 2022
c77e369
chore(python): configure release-please on previous major versions (#32)
gcf-owl-bot[bot] Mar 23, 2022
550e89d
chore(python): use black==22.3.0 (#33)
gcf-owl-bot[bot] Mar 29, 2022
95fba1c
chore(python): add E231 to .flake8 ignore list (#34)
gcf-owl-bot[bot] Mar 30, 2022
f3146ee
chore(python): update .pre-commit-config.yaml to use black==22.3.0 (#35)
gcf-owl-bot[bot] Apr 1, 2022
3924f73
chore(python): Enable size-label bot (#36)
gcf-owl-bot[bot] Apr 1, 2022
5ae4997
chore(python): refactor unit / system test dependency install (#37)
gcf-owl-bot[bot] Apr 1, 2022
c0b785f
chore(python): add license header to auto-label.yaml (#38)
gcf-owl-bot[bot] Apr 6, 2022
6f441c9
chore: use gapic-generator-python 0.65.1 (#42)
gcf-owl-bot[bot] Apr 14, 2022
b030334
chore(python): add nox session to sort python imports (#43)
gcf-owl-bot[bot] Apr 21, 2022
33c9a2b
chore(python): use ubuntu 22.04 in docs image (#45)
gcf-owl-bot[bot] Apr 21, 2022
d96f878
chore: use gapic-generator-python 0.65.2 (#46)
gcf-owl-bot[bot] Apr 28, 2022
7e294d0
chore: [autoapprove] update readme_gen.py to include autoescape True …
gcf-owl-bot[bot] May 5, 2022
6554ada
chore(python): auto approve template changes (#49)
gcf-owl-bot[bot] May 5, 2022
c925114
chore: use gapic-generator-python 1.0.0 (#50)
gcf-owl-bot[bot] May 30, 2022
a665c11
fix(deps): require protobuf <4.0.0dev (#52)
parthea Jun 1, 2022
98a9f1c
docs: fix changelog header to consistent size (#51)
dandhlee Jun 3, 2022
64bec30
chore: test minimum dependencies in python 3.7 (#55)
parthea Jun 3, 2022
98da486
chore(main): release 1.1.2 (#53)
release-please[bot] Jun 7, 2022
16e6242
chore: add prerelease nox session (#57)
gcf-owl-bot[bot] Jun 12, 2022
fa15e79
chore(python): add missing import for prerelease testing (#58)
gcf-owl-bot[bot] Jun 13, 2022
08faab4
fix: require python 3.7+ (#61)
gcf-owl-bot[bot] Jul 7, 2022
e3cf561
fix(deps): require google-api-core >= 2.8.0 (#59)
gcf-owl-bot[bot] Jul 12, 2022
8810072
chore(main): release 1.2.0 (#62)
release-please[bot] Jul 12, 2022
6ea352c
fix(deps): require google-api-core>=1.32.0,>=2.8.0 (#63)
parthea Jul 13, 2022
1e41652
chore(main): release 1.2.1 (#64)
release-please[bot] Jul 13, 2022
d7dcaa3
chore(python): allow client documentation to be customized in README …
gcf-owl-bot[bot] Jul 14, 2022
5146011
chore: resolve issue with prerelease presubmit [autoapprove] (#67)
gcf-owl-bot[bot] Jul 26, 2022
58ad56e
chore(bazel): update protobuf to v3.21.3 (#68)
gcf-owl-bot[bot] Jul 26, 2022
168e4c2
chore(deps): update actions/setup-python action to v4 [autoapprove] (…
gcf-owl-bot[bot] Aug 9, 2022
e3971e0
fix(deps): allow protobuf < 5.0.0 (#70)
parthea Aug 11, 2022
ad5c1d8
chore(main): release 1.2.2 (#71)
release-please[bot] Aug 16, 2022
acaa3f7
chore: remove 'pip install' statements from python_library templates …
gcf-owl-bot[bot] Aug 24, 2022
1d0e0d6
chore(python): exclude path in renovate.json [autoapprove] (#76)
gcf-owl-bot[bot] Aug 24, 2022
61fdb6f
chore(python): exclude grpcio==1.49.0rc1 in tests [autoapprove] (#77)
gcf-owl-bot[bot] Aug 29, 2022
106d308
ci(python): fix path to requirements.txt in release script (#78)
gcf-owl-bot[bot] Sep 1, 2022
06e8ada
chore(python): update .kokoro/requirements.txt (#79)
gcf-owl-bot[bot] Sep 2, 2022
b373ddc
chore(python): exclude setup.py in renovate config (#81)
gcf-owl-bot[bot] Sep 2, 2022
b43e217
chore: Bump gapic-generator-python version to 1.3.0 (#82)
gcf-owl-bot[bot] Sep 7, 2022
d8d7239
chore: use gapic-generator-python 1.3.1 (#83)
gcf-owl-bot[bot] Sep 8, 2022
9874794
chore: use gapic generator python 1.4.1 (#84)
gcf-owl-bot[bot] Sep 13, 2022
cd6486e
fix(deps): require protobuf >= 3.20.2 (#85)
gcf-owl-bot[bot] Sep 29, 2022
db3b51d
chore(main): release 1.2.3 (#86)
release-please[bot] Sep 29, 2022
93c2a39
fix(deps): allow protobuf 3.19.5 (#87)
parthea Oct 7, 2022
b269807
chore(main): release 1.2.4 (#88)
release-please[bot] Oct 10, 2022
d54b755
chore(python): update dependencies in .kokoro/requirements.txt [autoa…
gcf-owl-bot[bot] Nov 8, 2022
3a3f37e
chore(python): update release script dependencies [autoapprove] (#92)
gcf-owl-bot[bot] Nov 16, 2022
8b88c9e
chore: Update gapic-generator-python to v1.6.1 (#89)
gcf-owl-bot[bot] Nov 26, 2022
d69f4bc
fix(deps): Require google-api-core >=1.34.0, >=2.11.0 (#94)
gcf-owl-bot[bot] Dec 8, 2022
905f824
build(deps): bump certifi from 2022.9.24 to 2022.12.7 [autoapprove] (…
gcf-owl-bot[bot] Dec 8, 2022
30d0ee8
chore(main): release 1.3.0 (#93)
release-please[bot] Dec 15, 2022
dd7540b
chore(python): add support for python 3.11 [autoapprove] (#96)
gcf-owl-bot[bot] Jan 6, 2023
1fd602a
feat: Add support for python 3.11 (#97)
gcf-owl-bot[bot] Jan 10, 2023
c62732f
chore(main): release 1.4.0 (#98)
release-please[bot] Jan 10, 2023
c3ca4ca
docs: Add documentation for enums (#99)
gcf-owl-bot[bot] Jan 20, 2023
010b1b8
chore(main): release 1.4.1 (#100)
release-please[bot] Jan 23, 2023
a6e3805
chore: Update gapic-generator-python to v1.8.2 (#101)
gcf-owl-bot[bot] Jan 25, 2023
84e9947
chore: fix prerelease_deps nox session [autoapprove] (#102)
gcf-owl-bot[bot] Jan 30, 2023
1f2783e
chore: Update gapic-generator-python to v1.8.4 (#103)
gcf-owl-bot[bot] Feb 8, 2023
4f24440
build(deps): bump cryptography from 38.0.3 to 39.0.1 in /synthtool/gc…
gcf-owl-bot[bot] Feb 8, 2023
78900e5
feat: enable "rest" transport in Python for services supporting numer…
gcf-owl-bot[bot] Feb 9, 2023
44290f5
fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targ…
gcf-owl-bot[bot] Feb 17, 2023
d210946
chore(main): release 1.5.0 (#106)
release-please[bot] Feb 24, 2023
3e7d93d
chore(python): upgrade gcp-releasetool in .kokoro [autoapprove] (#110)
gcf-owl-bot[bot] Feb 27, 2023
618b2a5
chore: Update gapic-generator-python to v1.8.5 (#108)
gcf-owl-bot[bot] Feb 28, 2023
aa82a78
chore(deps): Update nox in .kokoro/requirements.in [autoapprove] (#111)
gcf-owl-bot[bot] Mar 16, 2023
16c0852
Merge remote-tracking branch 'remote.googleapis/python-ids/main' into…
vchudnov-g Apr 19, 2023
1e577c9
Trigger owlbot post-processor
vchudnov-g Apr 19, 2023
a8dc4fa
build: google-cloud-ids migration: adjust metadata and automation con…
vchudnov-g Apr 19, 2023
c0d6d05
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Apr 19, 2023
4078517
remove docs/changelog.md to see whether that fixes the docs presubmits
vchudnov-g Apr 19, 2023
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
31 changes: 31 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copyright 2021 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
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
21 changes: 11 additions & 10 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"packages/google-apps-script-type": "0.3.1",
"packages/google-cloud-advisorynotifications": "0.2.0",
"packages/google-cloud-alloydb": "0.1.1",
"packages/google-cloud-bigquery-biglake": "0.3.0",
"packages/google-cloud-confidentialcomputing": "0.1.0",
"packages/google-cloud-contentwarehouse": "0.5.0",
"packages/google-cloud-datacatalog-lineage": "0.2.2",
"packages/google-cloud-discoveryengine": "0.4.1",
"packages/google-cloud-enterpriseknowledgegraph": "0.3.2",
"packages/google-cloud-ids": "1.5.0",
"packages/google-cloud-storageinsights": "0.1.0",
"packages/google-cloud-vmwareengine": "1.0.1",
"packages/google-cloud-workstations": "0.2.1",
"packages/google-geo-type": "0.3.0",
"packages/google-maps-addressvalidation": "0.3.3",
"packages/google-maps-routing": "0.5.0",
"packages/google-apps-script-type": "0.3.1",
"packages/google-cloud-vmwareengine": "1.0.1",
"packages/google-cloud-datacatalog-lineage": "0.2.2",
"packages/google-maps-mapsplatformdatasets": "0.2.1",
"packages/google-cloud-advisorynotifications": "0.2.0",
"packages/google-cloud-alloydb": "0.1.1",
"packages/google-cloud-workstations": "0.2.1",
"packages/google-cloud-bigquery-biglake": "0.3.0",
"packages/google-cloud-storageinsights": "0.1.0",
"packages/google-cloud-confidentialcomputing": "0.1.0"
"packages/google-maps-routing": "0.5.0"
}
23 changes: 23 additions & 0 deletions packages/google-cloud-ids/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2021 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.


deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/cloud/ids/(v.*)/.*-py
dest: /owl-bot-staging/google-cloud-ids/$1

begin-after-commit-hash: 70f7f0525414fe4dfeb2fc2e81546b073f83a621
13 changes: 13 additions & 0 deletions packages/google-cloud-ids/.coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True

[report]
show_missing = True
omit =
google/cloud/ids/__init__.py
google/cloud/ids/gapic_version.py
exclude_lines =
# Re-enable the standard pragma
pragma: NO COVER
# Ignore debug-only repr
def __repr__
33 changes: 33 additions & 0 deletions packages/google-cloud-ids/.flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# -*- coding: utf-8 -*-
#
# Copyright 2020 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
#
# https://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.

# Generated by synthtool. DO NOT EDIT!
[flake8]
ignore = E203, E231, E266, E501, W503
exclude =
# Exclude generated code.
**/proto/**
**/gapic/**
**/services/**
**/types/**
*_pb2.py

# Standard linting exemptions.
**/.nox/**
__pycache__,
.git,
*.pyc,
conf.py
16 changes: 16 additions & 0 deletions packages/google-cloud-ids/.github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2023 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.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:2e247c7bf5154df7f98cce087a20ca7605e236340c7d6d1a14447e5c06791bd6
12 changes: 12 additions & 0 deletions packages/google-cloud-ids/.github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Code owners file.
# This file controls who is tagged for review for any given pull request.
#
# For syntax help see:
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
# Note: This file is autogenerated. To make changes to the codeowner team, please update .repo-metadata.json.

# @googleapis/yoshi-python is the default owner for changes in this repo
* @googleapis/yoshi-python

# @googleapis/python-samples-reviewers is the default owner for samples changes
/samples/ @googleapis/python-samples-reviewers
28 changes: 28 additions & 0 deletions packages/google-cloud-ids/.github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# How to Contribute

We'd love to accept your patches and contributions to this project. There are
just a few small guidelines you need to follow.

## Contributor License Agreement

Contributions to this project must be accompanied by a Contributor License
Agreement. You (or your employer) retain the copyright to your contribution;
this simply gives us permission to use and redistribute your contributions as
part of the project. Head over to <https://cla.developers.google.com/> to see
your current agreements on file or to sign a new one.

You generally only need to submit a CLA once, so if you've already submitted one
(even if it was for a different project), you probably don't need to do it
again.

## Code reviews

All submissions, including submissions by project members, require review. We
use GitHub pull requests for this purpose. Consult
[GitHub Help](https://help.github.com/articles/about-pull-requests/) for more
information on using pull requests.

## Community Guidelines

This project follows [Google's Open Source Community
Guidelines](https://opensource.google.com/conduct/).
43 changes: 43 additions & 0 deletions packages/google-cloud-ids/.github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
name: Bug report
about: Create a report to help us improve

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

Please run down the following list and make sure you've tried the usual "quick fixes":

- Search the issues already opened: https://github.com/googleapis/python-ids/issues
- Search StackOverflow: https://stackoverflow.com/questions/tagged/google-cloud-platform+python

If you are still having issues, please be sure to include as much information as possible:

#### Environment details

- OS type and version:
- Python version: `python --version`
- pip version: `pip --version`
- `google-cloud-ids` version: `pip show google-cloud-ids`

#### Steps to reproduce

1. ?
2. ?

#### Code example

```python
# example
```

#### Stack trace
```
# example
```

Making sure to follow these steps will guarantee the quickest resolution possible.

Thanks!
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature request
about: Suggest an idea for this library

---

Thanks for stopping by to let us know something could be better!

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
name: Support request
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.

---

**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
7 changes: 7 additions & 0 deletions packages/google-cloud-ids/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
- [ ] Make sure to open an issue as a [bug/issue](https://github.com/googleapis/python-ids/issues/new/choose) before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
- [ ] Ensure the tests and linter pass
- [ ] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕
3 changes: 3 additions & 0 deletions packages/google-cloud-ids/.github/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://github.com/googleapis/repo-automation-bots/tree/main/packages/auto-approve
processes:
- "OwlBotTemplateChanges"
15 changes: 15 additions & 0 deletions packages/google-cloud-ids/.github/auto-label.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# 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.
requestsize:
enabled: true
15 changes: 15 additions & 0 deletions packages/google-cloud-ids/.github/header-checker-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{"allowedCopyrightHolders": ["Google LLC"],
"allowedLicenses": ["Apache-2.0", "MIT", "BSD-3"],
"ignoreFiles": ["**/requirements.txt", "**/requirements-test.txt", "**/__init__.py", "samples/**/constraints.txt", "samples/**/constraints-test.txt"],
"sourceFileExtensions": [
"ts",
"js",
"java",
"sh",
"Dockerfile",
"yaml",
"py",
"html",
"txt"
]
}
9 changes: 9 additions & 0 deletions packages/google-cloud-ids/.github/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
releaseType: python
handleGHRelease: true
manifest: true
# NOTE: this section is generated by synthtool.languages.python
# See https://github.com/googleapis/synthtool/blob/master/synthtool/languages/python.py
branches:
- branch: v0
handleGHRelease: true
releaseType: python
1 change: 1 addition & 0 deletions packages/google-cloud-ids/.github/release-trigger.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
enabled: true
Empty file.
38 changes: 38 additions & 0 deletions packages/google-cloud-ids/.github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
on:
pull_request:
branches:
- main
name: docs
jobs:
docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run docs
run: |
nox -s docs
docfx:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run docfx
run: |
nox -s docfx
25 changes: 25 additions & 0 deletions packages/google-cloud-ids/.github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
pull_request:
branches:
- main
name: lint
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install nox
run: |
python -m pip install --upgrade setuptools pip wheel
python -m pip install nox
- name: Run lint
run: |
nox -s lint
- name: Run lint_setup_py
run: |
nox -s lint_setup_py
Loading