FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: update workflow for refs and multiple artifacts by alicejli · Pull Request #1695 · googleapis/sdk-platform-java · GitHub

This repository was archived by the owner on May 14, 2026. It is now read-only.

fix: update workflow for refs and multiple artifacts - #1695

Closed
alicejli wants to merge 7 commits into
mainfrom
updateTagWorkflow
Closed

fix: update workflow for refs and multiple artifacts#1695
alicejli wants to merge 7 commits into
mainfrom
updateTagWorkflow

Conversation

Copy link
Copy Markdown
Contributor

Follow up to #1692
This fixes an error in the workflow if it is triggered via release, and also corrects for multiple artifacts that begin with gax.

alicejli requested a review from a team May 22, 2023 22:41
product-auto-label Bot added the size: s Pull request size is small. label May 22, 2023
alicejli requested a review from suztomo May 22, 2023 22:41
git tag ${ARTIFACT_ID}/$VERSION ${{ github.event.inputs.releaseTag }}
git push origin ${ARTIFACT_ID}/$VERSION
VERSION=$(grep "^${ARTIFACT_ID}:" versions.txt | cut -d':' -f2 | tr -d '[:space:]')
TEMP_BRANCH="temp_branch_${ARTIFACT_ID}_$VERSION"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I don't think you need a branch to create tags.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I was running into permissions errors running this on my fork without the new branch creation because my repo settings were not allowing for modification on the workflow files (which since this is a loop, is considered a modification of the workflow file). I added this temp branch step to workaround that issue (not sure it would also be an issue on this repo, but at least it shouldn't hurt).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you show me the permission error that was resolved by creating a branch or deleting the yaml file?

alicejli requested a review from suztomo May 23, 2023 13:23
git checkout -b $TEMP_BRANCH
git rm .github/workflows/create_additional_release_tag.yaml
git commit -m "Remove workflow file"
git tag "${ARTIFACT_ID}/$VERSION"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can you name tag with "v"?

(It follows convention. https://github.com/googleapis/google-cloud-go/tags)

burkedavison and others added 6 commits May 23, 2023 11:26
* chore: add 2 minute timeout to GrpcDirectStreamControllerTest

* chore: 3 minute timeout to GrpcDirectStreamControllerTest
* deps: update protobuf dependencies to v3.23.1 and update grpc version to 1.55.1
Bumps [requests](https://github.com/psf/requests) from 2.27.1 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](psf/requests@v2.27.1...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
product-auto-label Bot added size: xl Pull request size is extra large. and removed size: s Pull request size is small. labels May 23, 2023

Copy link
Copy Markdown
Contributor Author

I messed up fixing merge conflicts in this PR. Going to open a new one.

alicejli closed this May 23, 2023

Copy link
Copy Markdown

[gapic-generator-java-root] Kudos, SonarCloud Quality Gate passed!   

0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells

No Coverage information
No Duplication information

Copy link
Copy Markdown

[java_showcase_integration_tests] Kudos, SonarCloud Quality Gate passed!   

0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells

No Coverage information
No Duplication information

Copy link
Copy Markdown

[java_showcase_unit_tests] Kudos, SonarCloud Quality Gate passed!   

0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells

No Coverage information
No Duplication information

lqiu96 pushed a commit that referenced this pull request Jun 8, 2023
)

* chore(java): update gcp-releasetool and cryptography in java requirements file
Source-Link: https://togithub.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0
lqiu96 pushed a commit that referenced this pull request Jun 8, 2023
…1017)

* chore(java): update gcp-releasetool and cryptography in java requirements file
Source-Link: https://togithub.com/googleapis/synthtool/commit/74d0956884c1bb9dc901b52de35ca2bca025a74e
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:142286d973c7b6d58186070f203b50058a20a7d7b42147996db24921a18da1b0
This file contains hidden or 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL