-
Notifications
You must be signed in to change notification settings - Fork 315
/
Copy pathconfigurable-http-proxy.yaml
55 lines (48 loc) · 1.36 KB
/
configurable-http-proxy.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package:
name: configurable-http-proxy
version: "4.6.3"
epoch: 1
description: "HTTP parser written against llparse"
copyright:
- license: BSD-3-Clause
dependencies:
runtime:
- nodejs-18
environment:
contents:
packages:
- build-base
- busybox
- ca-certificates-bundle
- nodejs-18
- npm
- wolfi-base
pipeline:
- uses: git-checkout
with:
expected-commit: 0edbf7c6f1672742459ec338686e2b67bf3f1171
repository: https://github.com/jupyterhub/configurable-http-proxy
tag: ${{package.version}}
- runs: |
mkdir -p ${{targets.destdir}}/srv/${{package.name}}
cp chp-docker-entrypoint package.json index.js ${{targets.destdir}}/srv/${{package.name}}/
cp -r bin/ doc/ lib/ test/ ${{targets.destdir}}/srv/${{package.name}}/
- working-directory: ${{targets.destdir}}/srv/${{package.name}}
pipeline:
- runs: |
npm install --package-lock-only
npm ci --production
- uses: strip
- runs: |
mkdir -p ${{targets.destdir}}/usr/bin
ln -sf /srv/${{package.name}}/bin/${{package.name}} ${{targets.destdir}}/usr/bin/${{package.name}}
update:
enabled: true
github:
identifier: jupyterhub/configurable-http-proxy
use-tag: true
test:
pipeline:
- runs: |
configurable-http-proxy --version
configurable-http-proxy --help