cloudflare/cloudflared

Public

mirrored from https://github.com/cloudflare/cloudflaredAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2025.10.0

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.ci/linux.gitlab-ci.yml

99lines · modecode

1.golang-inputs: &golang_inputs
2 runOnMR: true
3 runOnBranches: '^master$'
4 outputDir: artifacts
5 runner: linux-x86-8cpu-16gb
6 stage: build
7 golangVersion: "boring-1.24"
8 CGO_ENABLED: 1
9
10include:
11 ###################
12 ### Linux Build ###
13 ###################
14 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
15 inputs:
16 <<: *golang_inputs
17 jobPrefix: linux-build
18 GOLANG_MAKE_TARGET: ci-build
19 imageVersion: "3308-283bdf9@sha256:fcd83570c91565a72eab132c38e0f589a481e2f3d4f3779f9f9a93eb555fee4a"
20
21 ########################
22 ### Linux FIPS Build ###
23 ########################
24 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
25 inputs:
26 <<: *golang_inputs
27 jobPrefix: linux-fips-build
28 GOLANG_MAKE_TARGET: ci-fips-build
29 imageVersion: "3308-283bdf9@sha256:fcd83570c91565a72eab132c38e0f589a481e2f3d4f3779f9f9a93eb555fee4a"
30
31
32 #################
33 ### Unit Tests ##
34 #################
35 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
36 inputs:
37 <<: *golang_inputs
38 stage: test
39 jobPrefix: test
40 GOLANG_MAKE_TARGET: ci-test
41 imageVersion: "3308-283bdf9@sha256:fcd83570c91565a72eab132c38e0f589a481e2f3d4f3779f9f9a93eb555fee4a"
42
43
44 ######################
45 ### Unit Tests FIPS ##
46 ######################
47 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
48 inputs:
49 <<: *golang_inputs
50 stage: test
51 jobPrefix: test-fips
52 GOLANG_MAKE_TARGET: ci-fips-test
53 imageVersion: "3308-283bdf9@sha256:fcd83570c91565a72eab132c38e0f589a481e2f3d4f3779f9f9a93eb555fee4a"
54
55
56 #################
57 ### Vuln Check ##
58 #################
59 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
60 inputs:
61 <<: *golang_inputs
62 runOnBranches: '^$'
63 stage: validate
64 jobPrefix: vulncheck
65 GOLANG_MAKE_TARGET: vulncheck
66 imageVersion: "3308-283bdf9@sha256:fcd83570c91565a72eab132c38e0f589a481e2f3d4f3779f9f9a93eb555fee4a"
67
68
69#################################
70### Run Linux Component Tests ###
71#################################
72component-tests-linux: &component-tests-linux
73 stage: test
74 extends: .component-tests
75 needs:
76 - ci-image-get-image-ref
77 - linux-build-boring-make
78 script:
79 - ./.ci/scripts/component-tests.sh
80 variables: &component-tests-variables
81 CI: 1
82 COMPONENT_TESTS_CONFIG_CONTENT: Y2xvdWRmbGFyZWRfYmluYXJ5OiBjbG91ZGZsYXJlZApjcmVkZW50aWFsc19maWxlOiBjcmVkLmpzb24Kb3JpZ2luY2VydDogY2VydC5wZW0Kem9uZV9kb21haW46IGFyZ290dW5uZWx0ZXN0LmNvbQp6b25lX3RhZzogNDg3OTZmMWU3MGJiNzY2OWMyOWJiNTFiYTI4MmJmNjU=
83 tags:
84 - linux-x86-8cpu-16gb
85 artifacts:
86 reports:
87 junit: report.xml
88
89######################################
90### Run Linux FIPS Component Tests ###
91######################################
92component-tests-linux-fips:
93 <<: *component-tests-linux
94 needs:
95 - ci-image-get-image-ref
96 - linux-fips-build-boring-make
97 variables:
98 <<: *component-tests-variables
99 COMPONENT_TESTS_FIPS: 1
100