-
Notifications
You must be signed in to change notification settings - Fork 58
/
.gitlab-ci.yml
60 lines (59 loc) · 2.13 KB
/
.gitlab-ci.yml
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
homework:
image: jiegec/router-lab-x86_64
script:
# DO NOT EDIT!
- gpg --verify .gitlab-ci.yml.asc .gitlab-ci.yml
- mkdir logs
- make -C Homework/eui64
- (cd Homework/eui64 && python3 grade.py | tee ../../logs/eui64.log)
- make -C Homework/internet-checksum
- (cd Homework/internet-checksum && python3 grade.py | tee ../../logs/internet-checksum.log)
- make -C Homework/lookup
- (cd Homework/lookup && python3 grade.py | tee ../../logs/lookup.log)
- make -C Homework/protocol
- (cd Homework/protocol && python3 grade.py | tee ../../logs/protocol.log)
- make -C Homework/protocol-ospf
- (cd Homework/protocol-ospf && python3 grade.py | tee ../../logs/protocol-ospf.log)
artifacts:
paths:
- logs
when: always
expire_in: 1 year
router:
image: jiegec/router-lab-aarch64
tags:
- arm64
script:
# DO NOT EDIT!
- gpg --verify .gitlab-ci.yml.asc .gitlab-ci.yml
- make -C Homework/router/r1
- make -C Homework/router/r2
- make -C Homework/router/r3
- make -C Homework/router/interconnect-r2
- make -C Homework/tftp/pc1
- make -C Homework/tftp/pc2
- make -C Homework/tftp/r2
- make -C Homework/dhcpv6/r1
- make -C Homework/ospf/r1
- make -C Homework/ospf/r2
- make -C Homework/ospf/r3
- make -C Homework/ospf/interconnect-r2
artifacts:
paths:
- Homework/router/r1/router
- Homework/router/r2/router
- Homework/router/r3/router
- Homework/router/interconnect-r2/router
- Homework/tftp/pc1/client
- Homework/tftp/pc1/server
- Homework/tftp/pc2/client
- Homework/tftp/pc2/server
- Homework/tftp/r2/client
- Homework/tftp/r2/server
- Homework/dhcpv6/r1/router
- Homework/ospf/r1/router
- Homework/ospf/r2/router
- Homework/ospf/r3/router
- Homework/ospf/interconnect-r2/router
when: always
expire_in: 1 year