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 — samples: remove old TS conversion script to make way for typeless sam… · googleapis/google-cloud-node@8afe77e

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • handwritten/pubsub
    • .github
      • .OwlBot.lock.yaml
    • owlbot.py
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎handwritten/pubsub/.github/.OwlBot.lock.yaml‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/.github/.OwlBot.lock.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-nodejs:latest
16-
digest: sha256:13f1814b7e6c676c87ab435a8b1f13987fc1e2a0513ee4f8a1318fbd4724732b
16+
digest: sha256:4befbe2105d11a79fe74c7b2adc0eb411a5e2b68053fddca15efb5414fa37358
Collapse file

‎handwritten/pubsub/owlbot.py‎

Copy file name to clipboardExpand all lines: handwritten/pubsub/owlbot.py
+17-1Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,24 @@
1414

1515
import synthtool.languages.node as node
1616

17+
# This code snippet can be used to manually update the typeless bot
18+
# to a different version than OwlBot has baked in, but this shouldn't
19+
# be needed once it's settled down.
20+
"""
21+
import os
22+
from synthtool import shell
23+
from synthtool.log import logger
24+
old_path = os.getcwd()
25+
os.chdir("/synthtool")
26+
logger.debug("Update typeless sample bot [1.1.0]")
27+
shell.run(["npm", "i", "@google-cloud/[email protected]"])
28+
os.chdir(old_path)
29+
"""
30+
31+
node.typeless_samples_hermetic()
32+
1733
node.owlbot_main(templates_excludes=[
1834
'src/index.ts',
1935
'.github/PULL_REQUEST_TEMPLATE.md',
2036
'.github/release-please.yml'
21-
])
37+
])

0 commit comments

Comments
0 (0)
You are visitor 01402792 — 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.