File tree Expand file tree Collapse file tree
containers/node-bootstrap-container Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,16 +22,16 @@ RUN go install github.com/bazelbuild/buildtools/buildozer@latest
2222
2323FROM node:14-slim as nodebuild
2424
25- COPY package*.json . /
25+ COPY package*.json /
2626
2727RUN npm install
2828
2929# Now copy all the code so we can compile
30- COPY entrypoint.sh . /
30+ COPY . /
3131
3232COPY --from=gobuild /go/bin/buildozer /go/bin/buildozer
3333
34- RUN chmod 755 /workspace/entrypoint.sh
35- # Run the web service on container startup.
36- ENTRYPOINT ["/workspace/entrypoint.sh" ]
3734
35+ RUN chmod 755 /entrypoint.sh
36+ # Run the web service on container startup.
37+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ npm run compile
2222npm link .
2323
2424cd " ${WORKSPACE_DIR} /${MONO_REPO_NAME} /containers/node-bootstrap-container"
25- FOLDER_NAME=node create-folder-name.js $API_ID || node create-gh-issue.js
26- mkdir -p " ${WORKSPACE_DIR} /${MONO_REPO_NAME} /packages/${FOLDER_NAME} " || node create-gh-issue.js
27- node add-to-well-known-path.js " ${WORKSPACE_DIR} " " ${FOLDER_NAME} "
25+ FOLDER_NAME=node / create-folder-name.js $API_ID || node / create-gh-issue.js
26+ mkdir -p " ${WORKSPACE_DIR} /${MONO_REPO_NAME} /packages/${FOLDER_NAME} " || node / create-gh-issue.js
27+ node / add-to-well-known-path.js " ${WORKSPACE_DIR} " " ${FOLDER_NAME} "
2828cd " ${WORKSPACE_DIR} /${MONO_REPO_NAME} "
2929/usr/local/bin/gapic-node-templating bootstrap-library --api-id " ${API_ID} " --destination-folder " ${WORKSPACE_DIR} /${MONO_REPO_NAME} /packages/${FOLDER_NAME} " --mono-repo-name " ${MONO_REPO_NAME} " --github-token " ${GITHUB_TOKEN} " || node create-gh-issue.js
Original file line number Diff line number Diff line change 2323 "@octokit/rest" : " ^19.0.0"
2424 },
2525 "devDependencies" : {
26- "@octokit/rest" : " ^19.0.0" ,
2726 "mocha" : " ^9.0.0" ,
2827 "nock" : " ^13.2.6" ,
2928 "snap-shot-it" : " ^7.9.6"
You can’t perform that action at this time.
0 commit comments