-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathk8s-sidecar-1.24.6-r0.yaml
47 lines (40 loc) · 1.07 KB
/
k8s-sidecar-1.24.6-r0.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
package:
name: k8s-sidecar-1.24.6-r0
version: 1.24.6
epoch: 0
description: python 2 and 3 compatibility library
copyright:
- license: MIT
dependencies:
runtime:
- python3
environment:
contents:
packages:
- wolfi-base
- busybox
- ca-certificates-bundle
- build-base
- python3
- py3-pip
- py3-setuptools
pipeline:
- uses: git-checkout
with:
repository: https://github.com/kiwigrid/k8s-sidecar
tag: ${{package.version}}
expected-commit: 8428a776de787d89c2d63e99b7ca57b1f41f7516
- runs: 'mkdir -p ${{targets.destdir}}/usr/share/app
mv src/* ${{targets.destdir}}/usr/share/app
cd ${{targets.destdir}}/usr/share/app
python -m venv .venv
.venv/bin/pip install --no-cache-dir -r requirements.txt
rm requirements.txt
find .venv \( -type d -a -name test -o -name tests \) -o \( -type f -a -name ''*.pyc'' -o -name ''*.pyo'' \) -exec rm -rf ''{}'' \+
'
- uses: strip
update:
enabled: true
github:
identifier: kiwigrid/k8s-sidecar
use-tag: true