GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix broken GCP console link by campionfellin · Pull Request #598 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@campionfellin

@campionfellin campionfellin commented Apr 5, 2018

Copy link
Copy Markdown
Contributor

This fixes #596

With the link to the Tasks API.

Though note that there are 2 other broken links on that page, and it's hard to tell where they're supposed to go:

Line 3:
[Google Cloud Tasks](https://cloud.google.com/cloud-tasks/) maybe it should link to:
https://cloud.google.com/sdk/gcloud/reference/alpha/tasks/ instead?

Line 86:
https://cloud.google.com/cloud-tasks should be changed similarly.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@campionfellin
Fix broken GCP console link
9299442
@campionfellin

campionfellin commented Apr 5, 2018

Copy link
Copy Markdown
Contributor Author

Hey, I'm curious about the circleci build and why it fails sometimes. It looks like the 2nd step in dependencies is:

gcloud auth activate-service-account --key-file /home/ubuntu/nodejs-docs-samples/key.json || true

and in failing builds, you get this:

ERROR: (gcloud.auth.activate-service-account) Could not read json file /home/ubuntu/nodejs-docs-samples/key.json: No JSON object could be decoded

but since the || true, it passes this portion of the build. I think this causes problems later with the first part of the functions test when it tries:

functions-emulator config set projectId $GCLOUD_PROJECT but fails to find the env variable $GCLOUD_PROJECT and then times out.

Maybe we should remove the || true from when we activate the service account so it fails there?

Just a thought, though this could be a separate issue or PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fhinkel
fhinkel approved these changes Jun 5, 2018
View reviewed changes

@fhinkel fhinkel left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Thank you!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@fhinkel

fhinkel commented Jun 5, 2018

Copy link
Copy Markdown
Contributor

@campionfellin Thanks so much. Sorry that this was sitting here forever.
Any chance you did a quick grep if the wrong URL is used anywhere else?

About the CI: It's not in good shape 😢 All the recent runs didn't even get to that error.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@campionfellin

campionfellin commented Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

Hey @fhinkel are you on googlecloud-community.slack.com channel? We're having similar problems with our CI over at clasp and I'm thinking of a solution, I'd love to run it by you.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jun 6, 2018
@JustinBeckwith
Merge branch 'master' into cloud-task-broken-link
bd9fe14
@campionfellin

campionfellin commented Jun 6, 2018

Copy link
Copy Markdown
Contributor Author

Ah looks like the build passed... @JustinBeckwith did you change the pipeline recently? Looks like it's still getting this error:

gcloud auth activate-service-account --key-file /home/ubuntu/nodejs-docs-samples/key.json || true
ERROR: (gcloud.auth.activate-service-account) Could not read json file /home/ubuntu/nodejs-docs-samples/key.json: No JSON object could be decoded

Yet somehow passes all the tests later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JustinBeckwith

JustinBeckwith commented Jun 6, 2018

Copy link
Copy Markdown
Contributor

I haven't changed a thing 🤷‍♂️

campionfellin reacted with laugh emoji campionfellin reacted with confused emoji
All reactions
  • 😄 1 reaction
  • 😕 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JustinBeckwith
JustinBeckwith merged commit 613b91a into GoogleCloudPlatform:master Jun 6, 2018
@snyk-bot snyk-bot mentioned this pull request Aug 27, 2020
[Snyk] Fix for 1 vulnerabilities pedroarapua/nodejs-docs-samples-gcp#132
Open
This was referenced Sep 3, 2020
[Snyk] Fix for 1 vulnerabilities pedroarapua/nodejs-docs-samples-gcp#169
Open
[Snyk] Fix for 1 vulnerabilities leejh3224/nodejs-docs-samples#248
Open
@snyk-bot snyk-bot mentioned this pull request Sep 2, 2021
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.29.0 leejh3224/nodejs-docs-samples#340
Open
This was referenced Jan 11, 2022
[Snyk] Fix for 2 vulnerabilities leejh3224/nodejs-docs-samples#409
Open
[Snyk] Fix for 2 vulnerabilities pedroarapua/nodejs-docs-samples-gcp#309
Open
This was referenced Mar 21, 2022
[Snyk] Fix for 3 vulnerabilities leejh3224/nodejs-docs-samples#496
Open
[Snyk] Fix for 3 vulnerabilities pedroarapua/nodejs-docs-samples-gcp#323
Open
NimJay pushed a commit that referenced this pull request Nov 10, 2022
@release-please
chore: release 4.2.7 (#599)
2c29804
🤖 I have created a release \*beep\* \*boop\*
---
### [4.2.7](https://www.github.com/googleapis/nodejs-language/compare/v4.2.6...v4.2.7) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#598](https://www.github.com/googleapis/nodejs-language/issues/598)) ([47f9295](https://www.github.com/googleapis/nodejs-language/commit/47f9295ae17d4f9f87c32a40276eb1588f2cca55))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
NimJay pushed a commit that referenced this pull request Nov 10, 2022
@release-please @NimJay
chore: release 4.2.7 (#599)
5721389
🤖 I have created a release \*beep\* \*boop\*
---
### [4.2.7](https://www.github.com/googleapis/nodejs-language/compare/v4.2.6...v4.2.7) (2021-07-12)


### Bug Fixes

* **deps:** google-gax v2.17.1 ([#598](https://www.github.com/googleapis/nodejs-language/issues/598)) ([47f9295](https://www.github.com/googleapis/nodejs-language/commit/47f9295ae17d4f9f87c32a40276eb1588f2cca55))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Nov 28, 2023
[Snyk] Security upgrade @google-cloud/pubsub from 0.28.1 to 0.29.0 pedroarapua/nodejs-docs-samples-gcp#456
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.28.1 to 0.29.0 pedroarapua/nodejs-docs-samples-gcp#459
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.28.1 to 0.29.0 pedroarapua/nodejs-docs-samples-gcp#477
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.28.1 to 0.29.0 pedroarapua/nodejs-docs-samples-gcp#478
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fhinkel fhinkel fhinkel approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Broken link in App Engine/Cloud Tasks ReadMe

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@campionfellin @fhinkel @JustinBeckwith @googlebot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.