Skip to content

Commit 717ca56

Browse files
committed
Merge branch 'cos-to-sql' of github.com:IBM/CodeEngine into cos-to-sql
2 parents 967a25a + 3b2fa9f commit 717ca56

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

cos-to-sql/.ceignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
node_modules
1+
node_modules
2+
samples

cos-to-sql/.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.gitignore
33
build
44
Dockerfile
5-
node_modules
5+
node_modules
6+
samples

cos-to-sql/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ RUN npm ci --omit=dev
1010
FROM gcr.io/distroless/nodejs22
1111

1212
COPY --chown=1001:0 --from=builder /app/node_modules /app/node_modules
13-
COPY --chown=1001:0 app.mjs /app
14-
COPY --chown=1001:0 utils/ /app/utils
15-
COPY --chown=1001:0 public/ /app/public
13+
COPY --chown=1001:0 app.mjs utils public /app/
1614

1715
USER 1001:0
1816
WORKDIR /app

cos-to-sql/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This sample demonstrates how to read CSV files hosted on a IBM Cloud Object Stor
66

77
## Prerequisites
88

9-
Make sure the following [IBM Cloud CLI](https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cloud-cli-getting-started) and the following list of plugins are installed
9+
Make sure the [IBM Cloud CLI](https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cloud-cli-getting-started) and the following list of plugins are installed
1010
- `ibmcloud plugin install code-engine`
1111
- `ibmcloud plugin install cloud-object-storage`
1212
- `ibmcloud plugin install secrets-manager`
@@ -19,7 +19,7 @@ Install `jq`. On MacOS, you can use following [brew formulae](https://formulae.b
1919
```
2020
REGION=ca-tor
2121
RESOURCE_GROUP=Default
22-
ibmcloud login -r ${REGION} -g $RESOURCE_GROUP
22+
ibmcloud login -r ${REGION} -g ${RESOURCE_GROUP}
2323
```
2424

2525
* Create the Code Engine project
@@ -169,7 +169,7 @@ ibmcloud iam authorization-policy-create codeengine cloud-object-storage \
169169
--target-service-instance-id ${COS_INSTANCE_ID}
170170
```
171171

172-
* Create the subscription for all COS events:
172+
* Create the subscription for COS events of type "write":
173173
```
174174
ibmcloud ce sub cos create \
175175
--name "coswatch-${CE_APP_NAME}" \

0 commit comments

Comments
 (0)