Skip to content

Commit

Permalink
chore(deps): bump gunicorn from 20.1.0 to 22.0.0 in /run/service-auth (
Browse files Browse the repository at this point in the history
…#11515)

* chore(deps): bump gunicorn from 20.1.0 to 22.0.0 in /run/service-auth

Bumps [gunicorn](https://github.com/benoitc/gunicorn) from 20.1.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases)
- [Commits](benoitc/gunicorn@20.1.0...22.0.0)

---
updated-dependencies:
- dependency-name: gunicorn
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] and gcf-owl-bot[bot] committed Apr 17, 2024
1 parent 524948f commit 2cf6340
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 19 deletions.
46 changes: 28 additions & 18 deletions run/service-auth/receive_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,25 +52,35 @@ def services():
)

# Get the URL for the service
endpoint_url = subprocess.run(
[
"gcloud",
"run",
"services",
"describe",
service_name,
"--project",
project,
"--region=us-central1",
"--format=value(status.url)",
],
stdout=subprocess.PIPE,
check=True,
).stdout.strip().decode()
endpoint_url = (
subprocess.run(
[
"gcloud",
"run",
"services",
"describe",
service_name,
"--project",
project,
"--region=us-central1",
"--format=value(status.url)",
],
stdout=subprocess.PIPE,
check=True,
)
.stdout.strip()
.decode()
)

token = subprocess.run(
["gcloud", "auth", "print-identity-token"], stdout=subprocess.PIPE, check=True
).stdout.strip().decode()
token = (
subprocess.run(
["gcloud", "auth", "print-identity-token"],
stdout=subprocess.PIPE,
check=True,
)
.stdout.strip()
.decode()
)

yield endpoint_url, token

Expand Down
2 changes: 1 addition & 1 deletion run/service-auth/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
google-auth==2.19.1
requests==2.31.0
Flask==3.0.0
gunicorn==20.1.0
gunicorn==22.0.0
Werkzeug==3.0.1

0 comments on commit 2cf6340

Please sign in to comment.