Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-runner-do-monitor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Server Tools
gitlab-runner-do-monitor
Merge requests
!4
WIP: Add additional CI checks
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
WIP: Add additional CI checks
add/more-ci
into
master
Overview
2
Commits
10
Pipelines
10
Changes
2
Closed
Erick Hitter
requested to merge
add/more-ci
into
master
6 years ago
Overview
2
Commits
10
Pipelines
10
Changes
2
Expand
Handle false report due to
context.TODO()
Edited
6 years ago
by
Erick Hitter
0
1
Merge request reports
Viewing commit
d5c739bf
Prev
Next
Show latest version
2 files
+
14
−
47
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
d5c739bf
Drop the Makefile, can't guarantee make will be available
· d5c739bf
Erick Hitter
authored
6 years ago
.gitlab-ci.yml
+
14
−
8
Options
@@ -23,44 +23,50 @@ before_script:
@@ -23,44 +23,50 @@ before_script:
-
export CC=clang-5.0
-
export CC=clang-5.0
-
make dep
-
go get -v -d ./...
-
export PROJECT_NAME="gitlab-runner-do-monitor"
-
export PKG="git.ethitter.com/debian/${PROJECT_NAME}"
-
export PKG_LIST=$(go list ${PKG}/... | grep -v /vendor/)
unit_tests
:
unit_tests
:
stage
:
test
stage
:
test
script
:
script
:
-
make
test
-
go
test
-v ${PKG_LIST}
race_detector
:
race_detector
:
stage
:
test
stage
:
test
script
:
script
:
-
make race
-
go test -v -race ${PKG_LIST}
memory_sanitizer
:
memory_sanitizer
:
stage
:
test
stage
:
test
script
:
script
:
-
make msan
-
go test -v -msan ${PKG_LIST}
code_coverage
:
code_coverage
:
stage
:
test
stage
:
test
script
:
script
:
-
make
coverage
-
./tools/
coverage
.sh
code_coverage_report
:
code_coverage_report
:
stage
:
test
stage
:
test
script
:
script
:
-
make cover
html
-
./tools/coverage.sh
html
only
:
only
:
-
master
-
master
lint_code
:
lint_code
:
stage
:
test
stage
:
test
script
:
script
:
-
make lint
-
golint -set_exit_status ${PKG_LIST}
build
:
build
:
stage
:
build
stage
:
build
before_script
:
-
go get github.com/mitchellh/gox
script
:
script
:
-
make
-
gox -output="${CI_PROJECT_DIR}/${PROJECT_NAME}/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=6
artifacts
:
artifacts
:
paths
:
paths
:
-
gitlab-runner-do-monitor/
-
gitlab-runner-do-monitor/
Loading