duckdb 0.10.1-dev11.0 → 0.10.1-dev17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,8 +11,9 @@ concurrency:
11
11
 
12
12
  env:
13
13
  GH_TOKEN: ${{ secrets.GH_TOKEN }}
14
- AWS_ACCESS_KEY_ID: ${{ secrets.NODE_PRE_GYP_ID }}
15
- AWS_SECRET_ACCESS_KEY: ${{ secrets.NODE_PRE_GYP_SECRETACCESSKEY }}
14
+ AWS_ACCESS_KEY_ID: ${{secrets.S3_DUCKDB_NODE_ID}}
15
+ AWS_SECRET_ACCESS_KEY: ${{secrets.S3_DUCKDB_NODE_KEY}}
16
+ AWS_DEFAULT_REGION: us-east-1
16
17
 
17
18
  jobs:
18
19
  set-up-npm:
@@ -25,6 +26,24 @@ jobs:
25
26
  with:
26
27
  fetch-depth: 0
27
28
 
29
+ - uses: actions/setup-python@v4
30
+ with:
31
+ python-version: '3.11'
32
+
33
+ - name: Debug workflow
34
+ shell: bash
35
+ run: |
36
+ echo "$AWS_ACCESS_KEY_ID" "$AWS_DEFAULT_REGION"
37
+ echo "$AWS_ACCESS_KEY_ID" > myfile.txt
38
+ LOCAL_BINARY=myfile.txt
39
+ REMOTE_BINARY=https://npm.duckdb.org/duckdb/myfile.txt
40
+ S3_ENDPOINT_BINARY="s3://duckdb-npm/"${REMOTE_BINARY:23}
41
+ pip install awscli
42
+ echo "local binary at $LOCAL_BINARY"
43
+ echo "remote binary at $REMOTE_BINARY"
44
+ echo "served from $S3_ENDPOINT_BINARY"
45
+ aws s3 cp $LOCAL_BINARY $S3_ENDPOINT_BINARY --acl public-read
46
+
28
47
  - name: Setup NPM
29
48
  shell: bash
30
49
  run: ./scripts/node_version.sh upload
@@ -107,10 +126,6 @@ jobs:
107
126
  npm_config_yes: true
108
127
 
109
128
  - name: Node ${{ matrix.node }}
110
- env:
111
- AWS_ACCESS_KEY_ID: ${{secrets.S3_DUCKDB_ORG_DEPLOY_ID}}
112
- AWS_SECRET_ACCESS_KEY: ${{secrets.S3_DUCKDB_ORG_DEPLOY_KEY}}
113
- AWS_DEFAULT_REGION: us-east-1
114
129
  shell: bash
115
130
  run: ./scripts/node_build.sh ${{ matrix.node }}
116
131
 
@@ -175,10 +190,6 @@ jobs:
175
190
  NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}
176
191
 
177
192
  - name: Node ${{ matrix.node }}
178
- env:
179
- AWS_ACCESS_KEY_ID: ${{secrets.S3_DUCKDB_ORG_DEPLOY_ID}}
180
- AWS_SECRET_ACCESS_KEY: ${{secrets.S3_DUCKDB_ORG_DEPLOY_KEY}}
181
- AWS_DEFAULT_REGION: us-east-1
182
193
  shell: bash
183
194
  run: ./scripts/node_build.sh ${{ matrix.node }}
184
195
 
@@ -252,9 +263,5 @@ jobs:
252
263
  variant: sccache
253
264
 
254
265
  - name: Node
255
- env:
256
- AWS_ACCESS_KEY_ID: ${{secrets.S3_DUCKDB_ORG_DEPLOY_ID}}
257
- AWS_SECRET_ACCESS_KEY: ${{secrets.S3_DUCKDB_ORG_DEPLOY_KEY}}
258
- AWS_DEFAULT_REGION: us-east-1
259
266
  shell: bash
260
267
  run: ./scripts/node_build_win.sh
package/myfile.txt ADDED
@@ -0,0 +1 @@
1
+ AKIA4HHCC5ZJWTGUGAKV
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
4
  "types": "./lib/duckdb.d.ts",
5
- "version": "0.10.1-dev11.0",
5
+ "version": "0.10.1-dev17.0",
6
6
  "description": "DuckDB node.js API",
7
7
  "gypfile": true,
8
8
  "dependencies": {