forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bird.yaml
110 lines (101 loc) · 2.2 KB
/
bird.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
package:
name: bird
version: "2.16"
epoch: 0
description: BIRD Internet Routing Daemon
copyright:
- license: GPL-2.0-or-later
environment:
contents:
packages:
- autoconf
- automake
- bison
- build-base
- busybox
- ca-certificates-bundle
- flex
- libssh-dev
- linux-headers
- ncurses-dev
- openssf-compiler-options
- readline-dev
pipeline:
- uses: git-checkout
with:
repository: https://gitlab.nic.cz/labs/bird.git
tag: v${{package.version}}
expected-commit: 4fb8fe6f53a0aba037b29d1ab92fb549f78de46f
- runs: |
autoreconf -fi
- uses: autoconf/configure
with:
opts: |
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--runstatedir=/run \
--enable-libssh
- uses: autoconf/make
- uses: autoconf/make-install
- uses: strip
update:
enabled: true
release-monitor:
identifier: 192
test:
environment:
contents:
packages:
- iproute2
- net-tools
pipeline:
- name: "Verify binary installation"
runs: |
which bird
which birdc
- name: "Check version information"
runs: |
bird --version
- name: "Validate help output"
runs: |
bird --help
- name: "Test configuration file syntax"
runs: |
cat > /tmp/bird.conf << 'EOF'
router id 192.0.2.1;
protocol device {
}
protocol kernel {
ipv4 {
export all;
};
}
EOF
bird -p -c /tmp/bird.conf
- name: "Test configuration with multiple protocols"
runs: |
cat > /tmp/bird_multi.conf << 'EOF'
router id 192.0.2.1;
protocol device {
}
protocol kernel {
ipv4 {
export all;
};
}
protocol static {
ipv4;
route 192.0.2.0/24 blackhole;
}
protocol bgp test_bgp {
local as 65000;
neighbor 192.0.2.2 as 65001;
ipv4 {
import all;
export all;
};
}
EOF
bird -p -c /tmp/bird_multi.conf