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
Compare revisions
a8175080ac049517c6208366835e7107011a5e79 to c5091b3bf5ab211611008834ff1dfe4c90253983
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
debian/gitlab-runner-do-monitor
Select target project
No results found
c5091b3bf5ab211611008834ff1dfe4c90253983
Select Git revision
Swap
Target
debian/gitlab-runner-do-monitor
Select target project
debian/gitlab-runner-do-monitor
1 result
a8175080ac049517c6208366835e7107011a5e79
Select Git revision
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Switch to shared CI configuration
· 63cd3e3c
Erick Hitter
authored
2 years ago
63cd3e3c
Merge branch 'update/common-ci' into 'master'
· c5091b3b
Erick Hitter
authored
2 years ago
Switch to shared CI configuration See merge request
!6
c5091b3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-66
2 additions, 66 deletions
.gitlab-ci.yml
Makefile
+0
-39
0 additions, 39 deletions
Makefile
with
2 additions
and
105 deletions
.gitlab-ci.yml
View file @
c5091b3b
image
:
containers.ethitter.com:443/docker/images/golang:latest
variables
:
REPO_NAME
:
git.ethitter.com/debian/gitlab-runner-do-monitor
cache
:
paths
:
-
/apt-cache
-
$GOPATH/src/github.com
-
$GOPATH/src/golang.org
-
$GOPATH/src/google.golang.org
-
$GOPATH/src/gopkg.in
stages
:
-
test
-
build
before_script
:
-
mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
-
cp -R $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
-
cd $GOPATH/src/$REPO_NAME
-
cp config-sample.json config.json
-
export CC=clang
-
make dep
unit_tests
:
stage
:
test
script
:
-
make test
race_detector
:
stage
:
test
script
:
-
make race
memory_sanitizer
:
stage
:
test
script
:
-
make msan
code_coverage
:
stage
:
test
script
:
-
make coverage
code_coverage_report
:
stage
:
test
script
:
-
make coverhtml
only
:
-
master
lint_code
:
stage
:
test
script
:
-
make lint
build
:
stage
:
build
script
:
-
make
artifacts
:
paths
:
-
gitlab-runner-do-monitor/
include
:
-
remote
:
https://git-cdn.e15r.co/gitlab/ci/golang/-/raw/main/files/default.yml
This diff is collapsed.
Click to expand it.
Makefile
deleted
100644 → 0
View file @
a8175080
PROJECT_NAME
:=
"gitlab-runner-do-monitor"
PKG
:=
"git.ethitter.com/debian/
$(
PROJECT_NAME
)
"
PKG_LIST
:=
$(
shell go list
${
PKG
}
/... |
grep
-v
/vendor/
)
GO_FILES
:=
$(
shell find
.
-name
'*.go'
|
grep
-v
/vendor/ |
grep
-v
_test.go
)
.PHONY
:
all dep build clean test coverage coverhtml lint
all
:
build
lint
:
@
golint
-set_exit_status
${
PKG_LIST
}
test
:
@
go
test
-v
${
PKG_LIST
}
race
:
dep
@
go
test
-v
-race
${
PKG_LIST
}
msan
:
dep
@
go
test
-v
-msan
${
PKG_LIST
}
coverage
:
./tools/coverage.sh
;
coverhtml
:
./tools/coverage.sh html
;
dep
:
@
go get
-v
-d
./...
@
go get github.com/mitchellh/gox
build
:
dep
@
gox
-output
=
"
${
CI_PROJECT_DIR
}
/
${
PROJECT_NAME
}
/{{.Dir}}_{{.OS}}_{{.Arch}}"
-parallel
=
6
-osarch
'!darwin/386'
clean
:
@
rm
-f
$(
PROJECT_NAME
)
help
:
@
grep
-h
-E
'^[a-zA-Z_-]+:.*?## .*$$'
$(
MAKEFILE_LIST
)
|
awk
'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
This diff is collapsed.
Click to expand it.