-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeckish.ci.yaml
74 lines (65 loc) · 1.68 KB
/
peckish.ci.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
chain: false
metadata:
name: "peckish"
version: "0.0.7-1"
description: "peckish transforms software artifacts"
author: "amy null"
arch: "amd64"
license: "Apache-2.0"
input:
name: "rust: peckish release binary"
type: "file"
paths:
- "./target/x86_64-unknown-linux-musl/release/peckish"
output:
- name: "tarball: peckish release binary"
type: "tarball"
path: "./release/peckish.tar"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "arch: peckish arch package"
type: "arch"
path: "./release/peckish.arch.pkg.tar"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "deb: peckish debian package"
type: "deb"
path: "./release/peckish.deb"
depends: "libc6"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "file: peckish release binary"
type: "file"
path: "./release"
injections:
- "move-binary-to-root"
- "cleanup-binary-directory"
- name: "rpm: peckish rpm package"
type: "rpm"
path: "./release/peckish.rpm"
injections:
- "move-binary"
- "cleanup-binary-directory"
- name: "docker: peckish docker image"
type: "docker"
image: "queer/peckish:latest"
base_image: "ubuntu:jammy"
entrypoint: ["/usr/bin/peckish"]
injections:
- "move-binary"
- "cleanup-binary-directory"
injections:
move-binary:
type: "move"
src: "/target/x86_64-unknown-linux-musl/release/peckish"
dest: "/usr/bin/peckish"
move-binary-to-root:
type: "move"
src: "/target/x86_64-unknown-linux-musl/release/peckish"
dest: "/"
cleanup-binary-directory:
type: "delete"
path: "/target"