cloudflare/cloudflared

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
2025.9.0

Branches

Tags

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

Clone

HTTPS

Download ZIP

.ci/linux.gitlab-ci.yml

90lines · 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
20 ########################
21 ### Linux FIPS Build ###
22 ########################
23 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
24 inputs:
25 <<: *golang_inputs
26 jobPrefix: linux-fips-build
27 GOLANG_MAKE_TARGET: ci-fips-build
28
29 #################
30 ### Unit Tests ##
31 #################
32 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
33 inputs:
34 <<: *golang_inputs
35 stage: test
36 jobPrefix: test
37 GOLANG_MAKE_TARGET: ci-test
38
39 ######################
40 ### Unit Tests FIPS ##
41 ######################
42 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
43 inputs:
44 <<: *golang_inputs
45 stage: test
46 jobPrefix: test-fips
47 GOLANG_MAKE_TARGET: ci-fips-test
48
49 #################
50 ### Vuln Check ##
51 #################
52 - component: $CI_SERVER_FQDN/cloudflare/ci/golang/boring-make@~latest
53 inputs:
54 <<: *golang_inputs
55 runOnBranches: '^$'
56 stage: validate
57 jobPrefix: vulncheck
58 GOLANG_MAKE_TARGET: vulncheck
59
60#################################
61### Run Linux Component Tests ###
62#################################
63component-tests-linux: &component-tests-linux
64 stage: test
65 extends: .component-tests
66 needs:
67 - ci-image-get-image-ref
68 - linux-build-boring-make
69 script:
70 - ./.ci/scripts/component-tests.sh
71 variables: &component-tests-variables
72 CI: 1
73 COMPONENT_TESTS_CONFIG_CONTENT: Y2xvdWRmbGFyZWRfYmluYXJ5OiBjbG91ZGZsYXJlZApjcmVkZW50aWFsc19maWxlOiBjcmVkLmpzb24Kb3JpZ2luY2VydDogY2VydC5wZW0Kem9uZV9kb21haW46IGFyZ290dW5uZWx0ZXN0LmNvbQp6b25lX3RhZzogNDg3OTZmMWU3MGJiNzY2OWMyOWJiNTFiYTI4MmJmNjU=
74 tags:
75 - linux-x86-8cpu-16gb
76 artifacts:
77 reports:
78 junit: report.xml
79
80######################################
81### Run Linux FIPS Component Tests ###
82######################################
83component-tests-linux-fips:
84 <<: *component-tests-linux
85 needs:
86 - ci-image-get-image-ref
87 - linux-fips-build-boring-make
88 variables:
89 <<: *component-tests-variables
90 COMPONENT_TESTS_FIPS: 1
91