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 — [DO NOT MERGE] Update/add tests + fix dependencies by ace-n · Pull Request #452 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@ace-n

@ace-n ace-n commented Aug 10, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Do not merge until this PR is included in a tagged version of nodejs-repo-tools. (The tests will fail otherwise.)

Also - this is definitely not the last PR on this topic. (There will probably be 2-4 more as I context-switch between things.)

Sorry, something went wrong.

Uh oh!

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

All reactions
Ace Nassri added 4 commits August 7, 2017 17:14
Ace Nassri
Fix docs-samples tests, round 1
20c8eca
Ace Nassri
Add appengine/storage tests
c8c02d5
Ace Nassri
Add appengine/cloudsql tests
9be16ee
Ace Nassri
Add appengine/static-files tests
cca9891
@ace-n
ace-n requested a review from jmdobry August 10, 2017 22:01
Ace Nassri added 3 commits August 10, 2017 16:02
Ace Nassri
Add appengine/mongodb tests
f44d8d9
Ace Nassri
Fix monitoring lint
5589a48
Ace Nassri
Update pubsub README: gcloud alpha -> gcloud beta
46e610d
@codecov

codecov Bot commented Aug 10, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Codecov Report

Merging #452 into master will decrease coverage by 0.07%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #452      +/-   ##
==========================================
- Coverage   83.92%   83.84%   -0.08%     
==========================================
  Files           4        4              
  Lines         423      421       -2     
==========================================
- Hits          355      353       -2     
  Misses         68       68
Impacted Files Coverage Δ
vision/detect.js 90.61% <0%> (-0.09%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 60bbf26...d3941bc. Read the comment docs.

All reactions

Sorry, something went wrong.

Uh oh!

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

Ace Nassri
Add appengine/pubsub UNIT tests
a87e81a
@ace-n

ace-n commented Aug 11, 2017 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor Author

Note/Reminder: appengine/pubsub can't be completely tested locally (because it relies on a POST from Cloud Pub/Sub to receive new messages), and will likely require its own nightly build.

All reactions

Sorry, something went wrong.

Uh oh!

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

Ace Nassri added 3 commits August 14, 2017 14:27
Ace Nassri
Workaround for nodejs-repo-tools bug
364fc45
Ace Nassri
Update nodejs-repo-tools + other dependencies
208cfca
Ace Nassri
Additional updates, no new tests
438d58f
jmdobry
jmdobry requested changes Aug 14, 2017
View reviewed changes
Comment thread appengine/cloudsql/package.json
"@google-cloud/nodejs-repo-tools": "1.4.15",
"ava": "0.19.1"
},
"cloud-repo-tools": {

@jmdobry jmdobry Aug 14, 2017

Copy link
Copy Markdown
Member

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.

tldr; from our convo, revert changes to "cloud-repo-tools" and the 2 new .js test files, and instead update circle.yml

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread appengine/pubsub/app.js Outdated
const process = require('process'); // Required for mocking environment variables

// Make sure starting directory is consistent, so that views are found correctly
process.chdir(__dirname);

@jmdobry jmdobry Aug 14, 2017

Copy link
Copy Markdown
Member

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.

Instead of this wonkiness, explicitly tell express where to look for views.

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread appengine/storage/package.json
"scripts": {
"start": "node app.js"
"start": "node app.js",
"test": "ava system-test/*.test.js -T 30s"

@jmdobry jmdobry Aug 14, 2017

Copy link
Copy Markdown
Member

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.

Change this to:

"test": "GOOGLE_STORAGE_BUCKET=$(uuidgen) samples test app && ava system-test/*.test.js -T 30s"

AND

add a "cloud-repo-tools" to the package.json that includes a "requiredEnvVars" clause

AND

delete your config file

AND

Add a line to circle.yml to invoke this test

AND

apply these comments to other appengine apps that you modified.

Sorry, something went wrong.

Uh oh!

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

All reactions
Ace Nassri added 5 commits August 15, 2017 11:20
Ace Nassri
Move appengine/cloudsql tests to CircleCI
7d773a2
Ace Nassri
Make appengine/pubsub sample use nodejs-repo-tools
84c8a28
Ace Nassri
Move appengine/storage tests to CircleCI
bf44cbf
Ace Nassri
Remove odd chdir call
f2837a4
Ace Nassri
Fix circle.yml WIP
0b0ccde
This was referenced Aug 21, 2017
Investigate + fix skipped/flaky App Engine tests #339
Closed
Fix flaky monitoring tests #336
Closed
Ace Nassri and others added 6 commits August 22, 2017 16:55
Ace Nassri
Fix circle.yml, take 2
fa04f27
Ace Nassri
Fix circle.yml, take 3
71a3e76
Ace Nassri
Fix circle.yml, take 4
7ddb359
Ace Nassri
Missed a cloud_sql_proxy call
0d892fa
Ace Nassri
Fix circle.yml, take 5
3a86150
@jmdobry
Merge branch 'master' into update-deps-2
d3941bc
@jmdobry

jmdobry commented Aug 23, 2017

Copy link
Copy Markdown
Member

Can potentially close this in favor of #463

All reactions

Sorry, something went wrong.

Uh oh!

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

@ace-n

ace-n commented Aug 29, 2017

Copy link
Copy Markdown
Contributor Author

This was replaced by #468.

All reactions

Sorry, something went wrong.

Uh oh!

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

@snyk-bot snyk-bot mentioned this pull request Sep 6, 2021
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#368
Open
@snyk-bot snyk-bot mentioned this pull request Dec 16, 2021
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#388
Open
This was referenced Jan 12, 2022
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#420
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#422
Open
[Snyk] Fix for 1 vulnerabilities leejh3224/nodejs-docs-samples#427
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#438
Open
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#440
Open
@snyk-bot snyk-bot mentioned this pull request Feb 10, 2022
[Snyk] Security upgrade @google-cloud/pubsub from 0.22.2 to 0.24.0 leejh3224/nodejs-docs-samples#448
Open
ace-n pushed a commit that referenced this pull request Nov 14, 2022
Benjamin E. Coe
test: cleanup logic causes errors (#452)
fc0f733
@ace-n ace-n mentioned this pull request Nov 14, 2022
migrate code from googleapis/nodejs-compute #2846
Closed
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@sofisl @gcf-owl-bot
build!: update library to use Node 12 (#452)
3c915fb
* build!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@ace-n ace-n mentioned this pull request Nov 14, 2022
migrate code from googleapis/nodejs-scheduler #2848
Closed
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@sofisl @gcf-owl-bot
build!: update library to use Node 12 (#452)
a5d96d3
* build!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@ace-n ace-n mentioned this pull request Nov 14, 2022
migrate code from googleapis/nodejs-scheduler #2849
Merged
ace-n pushed a commit that referenced this pull request Nov 14, 2022
@sofisl @gcf-owl-bot Ace Nassri
build!: update library to use Node 12 (#452)
c252b7b
* build!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
ace-n pushed a commit that referenced this pull request Nov 15, 2022
@sofisl @gcf-owl-bot Ace Nassri
build!: update library to use Node 12 (#452)
c5287e0
* build!: Update library to use Node 12

* 🦉 Updates from OwlBot post-processor

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

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
@ace-n ace-n mentioned this pull request Nov 15, 2022
migrate code from googleapis/nodejs-compute #2853
Merged
ahrarmonsur pushed a commit that referenced this pull request Nov 16, 2022
Benjamin E. Coe
docs: fix yaml parsing error in comments (#452)
68759ec
ahrarmonsur pushed a commit that referenced this pull request Nov 16, 2022
Benjamin E. Coe
docs: fix yaml parsing error in comments (#452)
be19be7
ahrarmonsur pushed a commit that referenced this pull request Nov 16, 2022
Benjamin E. Coe
docs: fix yaml parsing error in comments (#452)
6bc9a06
ahrarmonsur pushed a commit that referenced this pull request Nov 16, 2022
Benjamin E. Coe
docs: fix yaml parsing error in comments (#452)
1332aaa
ahrarmonsur pushed a commit that referenced this pull request Nov 16, 2022
Benjamin E. Coe
docs: fix yaml parsing error in comments (#452)
a98d823
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 16, 2022
migrate code from googleapis/nodejs-asset #2856
Merged
ace-n pushed a commit that referenced this pull request Nov 17, 2022
Benjamin E. Coe Ace Nassri
docs: fix yaml parsing error in comments (#452)
8306b02
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
@release-please Benjamin E. Coe
chore: release 0.12.2 (#452)
a155777
ahrarmonsur pushed a commit that referenced this pull request Nov 18, 2022
@release-please Benjamin E. Coe
chore: release 0.12.2 (#452)
422416b
@ahrarmonsur ahrarmonsur mentioned this pull request Nov 18, 2022
migrate code from googleapis/nodejs-dialogflow #2873
Merged
NimJay pushed a commit that referenced this pull request Nov 18, 2022
@release-please @NimJay
chore: release 0.12.2 (#452)
d08b7c9
ace-n pushed a commit that referenced this pull request Nov 21, 2022
Benjamin E. Coe Ace Nassri
test: cleanup logic causes errors (#452)
6be7c39
ace-n pushed a commit that referenced this pull request Nov 21, 2022
Benjamin E. Coe Ace Nassri
test: cleanup logic causes errors (#452)
57a6ffa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jmdobry jmdobry jmdobry requested changes

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

2 participants

@ace-n @jmdobry
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.