Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
prometheus
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
prometheus
Commits
71b2336f
Commit
71b2336f
authored
Feb 11, 2022
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
Makefile
Makefile
+28
-0
prometheus-2.19.2.tar.gz
prometheus-2.19.2.tar.gz
+0
-0
prometheus.groups
prometheus.groups
+2
-0
No files found.
Makefile
0 → 100644
View file @
71b2336f
all
:
build
cd
../go/go/src/github.com/prometheus/prometheus
&&
install
-D
-m
755 prometheus /usr/bin/prometheus
cd
../go/go/src/github.com/prometheus/prometheus
&&
install
-D
-m
755 promtool /usr/bin/promtool
cd
../go/go/src/github.com/prometheus/prometheus
&&
install
-D
-m
755 tsdb/tsdb /usr/bin/tsdb
rm
-rf
../go/go/src/github.com/prometheus
promtool
:
build
cd
../go/go/src/github.com/prometheus/prometheus
&&
install
-D
-m
755 promtool /usr/bin/promtool
rm
-rf
../go/go/src/github.com/prometheus
build
:
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
2048
chmod
600 swap
mkswap swap
swapon swap
mkdir
-p
../go/go/src/github.com/prometheus
mkdir
-p
../go/gocache
tar
xf
prometheus-2.19.2.tar.gz
-C
../go/go/src/github.com/prometheus
mv
../go/go/src/github.com/prometheus/prometheus-2.19.2
../go/go/src/github.com/prometheus/prometheus
cd ../go/go/src/github.com/prometheus/prometheus && PATH=$$PATH
:
/build/packages/go/go/bin GOCACHE=$$(pwd)/../../../../../gocache GOPATH=$$(pwd)/../../../.. $(MAKE) build
-
cd
../go/go/src/github.com/prometheus/prometheus
&&
PATH
=
$$
PATH:/build/packages/go/go/bin
GOCACHE
=
$
$(pwd)
/../../../../../gocache
GOPATH
=
$
$(pwd)
/../../../..
$(MAKE)
test
rm
-rf
/usr/local/share/.cache
rm
-f
/usr/local/share/.yarnrc
rm
-rf
../go/gocache
swapoff
swap
rm
-rf
swap
prometheus-2.19.2.tar.gz
0 → 100644
View file @
71b2336f
File added
prometheus.groups
0 → 100644
View file @
71b2336f
bin
/usr/bin/.*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment