-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into rename-rst-files
- Loading branch information
Showing
24 changed files
with
87 additions
and
41 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
# build from the root of this repo: | ||
# docker build -t gcr.io/repo-automation-bots/owlbot-nodejs -f docker/owlbot/nodejs/Dockerfile . | ||
FROM python:3.10.12-bookworm | ||
|
||
WORKDIR / | ||
|
||
###################### Install nodejs. | ||
|
@@ -46,11 +45,7 @@ COPY post-processor-changes.txt /post-processor-changes.txt | |
RUN find /synthtool -exec chmod a+r {} \; | ||
RUN find /synthtool -type d -exec chmod a+x {} \; | ||
|
||
# Install dependencies used for post processing: | ||
# * gts/typescript are used for linting. | ||
# * google-gax and gapic-tools are used for compiling protos. | ||
RUN cd /synthtool && mkdir node_modules && npm i [email protected] [email protected] \ | ||
[email protected] @google-cloud/[email protected] [email protected] | ||
RUN cd /synthtool && mkdir node_modules && npm install @google-cloud/[email protected] | ||
|
||
ENTRYPOINT [ "/bin/bash" ] | ||
CMD [ "/synthtool/docker/owlbot/nodejs/entrypoint.sh" ] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,8 @@ | |
|
||
set -ex | ||
|
||
npm i --only=dev --ignore-scripts | ||
|
||
if [ -f owlbot.py ]; then | ||
python owlbot.py | ||
else | ||
|
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,6 +50,7 @@ docs.metadata | |
|
||
# Virtual environment | ||
env/ | ||
venv/ | ||
|
||
# Test logs | ||
coverage.xml | ||
|
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "gax-nodejs", | ||
"private": true, | ||
"description": "Google API Extensions" | ||
} |
6 changes: 6 additions & 0 deletions
6
tests/fixtures/node_apiary/with_private/release-please-config-post-apiary.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"release-type": "node", | ||
"packages": { | ||
"src/apis/docs": {} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
tests/fixtures/node_apiary/with_private/release-please-config.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"release-type": "node", | ||
"packages": { | ||
"src/apis/docs": {} | ||
} | ||
} |
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
tests/fixtures/node_apiary/with_private/src/apis/admin/package.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "admin", | ||
"private": true | ||
} |
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
tests/fixtures/node_apiary/with_private/src/apis/docs/package.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "docs" | ||
} |
File renamed without changes.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"name": "gax-nodejs", | ||
"description": "Google API Extensions" | ||
} |
File renamed without changes.
File renamed without changes.
Empty file.
3 changes: 3 additions & 0 deletions
3
tests/fixtures/node_apiary/without_private/src/apis/admin/package.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "admin" | ||
} |
Empty file.
3 changes: 3 additions & 0 deletions
3
tests/fixtures/node_apiary/without_private/src/apis/docs/package.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"name": "docs" | ||
} |
Empty file.
This file contains 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