Skip to content

Commit 2c0f32f

Browse files
committed
ci update
1 parent 49cde93 commit 2c0f32f

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ variables:
22
GOPATH: /go
33
GOLANG_VERSION: "1.23.0"
44
GOLINT_VERSION: "v1.60.3"
5-
GOPRIVATE: "gitlab.com/flarenetwork/*,gitlab.com/ryancollingham/*"
65
COVERAGE_FILE: "coverage.out"
76
COBERTURA_FILE: "coverage.xml"
87

@@ -16,14 +15,10 @@ variables:
1615
workflow:
1716
rules:
1817
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
18+
- if: $CI_PIPELINE_SOURCE == 'push'
1919
- if: $CI_COMMIT_TAG
2020
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
2121

22-
default:
23-
before_script:
24-
- echo -e "machine gitlab.com\nlogin gitlab-ci-token\npassword ${CI_JOB_TOKEN}" > ~/.netrc
25-
26-
2722
build:
2823
stage: build
2924
image: golang:${GOLANG_VERSION}

0 commit comments

Comments
 (0)