Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
b7e8a354
Unverified
Commit
b7e8a354
authored
Jun 02, 2021
by
Ivan Vandot
Committed by
GitHub
Jun 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: makefile beekeeper (#1931)
parent
27205bb6
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
46 deletions
+55
-46
beekeeper.yml
.github/workflows/beekeeper.yml
+36
-44
Makefile
Makefile
+19
-2
No files found.
.github/workflows/beekeeper.yml
View file @
b7e8a354
This diff is collapsed.
Click to expand it.
Makefile
View file @
b7e8a354
...
...
@@ -3,8 +3,11 @@ GOLANGCI_LINT ?= $$($(GO) env GOPATH)/bin/golangci-lint
GOLANGCI_LINT_VERSION
?=
v1.30.0
GOGOPROTOBUF
?=
protoc-gen-gogofaster
GOGOPROTOBUF_VERSION
?=
v1.3.1
BEEKEEPER
?=
$$
(
$(GO)
env
GOPATH
)
/bin/beekeeper
BEEKEEPER_INSTALL_DIR
?=
$$
(
$(GO)
env
GOPATH
)
/bin
BEEKEEPER_USE_SUDO
?=
false
BEEKEEPER_CLUSTER
?=
local
BEELOCAL_BRANCH
?=
main
BEEKEEPER_BRANCH
?=
master
COMMIT
?=
"
$(
shell
git describe --long --dirty --always --match "" || true
)
"
LDFLAGS
?=
-s
-w
-X
github.com/ethersphere/bee.commit
=
"
$(COMMIT)
"
...
...
@@ -23,12 +26,26 @@ dist:
.PHONY
:
beekeeper
beekeeper
:
test
-f
$(BEEKEEPER)
||
curl
-sSfL
https://raw.githubusercontent.com/ethersphere/beekeeper/master/install.sh |
BEEKEEPER_INSTALL_DIR
=
$$
(
$(GO)
env
GOPATH
)
/bin
USE_SUDO
=
false
bash
curl
-sSfL
https://raw.githubusercontent.com/ethersphere/beekeeper/master/scripts/install.sh |
BEEKEEPER_INSTALL_DIR
=
$(BEEKEEPER_INSTALL_DIR)
USE_SUDO
=
$(BEEKEEPER_USE_SUDO)
bash
test
-f
~/.beekeeper.yaml
||
curl
-sSfL
https://raw.githubusercontent.com/ethersphere/beekeeper/
$(BEEKEEPER_BRANCH)
/config/beekeeper-local.yaml
-o
~/.beekeeper.yaml
mkdir
-p
~/.beekeeper
&&
curl
-sSfL
https://raw.githubusercontent.com/ethersphere/beekeeper/
$(BEEKEEPER_BRANCH)
/config/local.yaml
-o
~/.beekeeper/local.yaml
.PHONY
:
beelocal
beelocal
:
curl
-sSfL
https://raw.githubusercontent.com/ethersphere/beelocal/
$(BEELOCAL_BRANCH)
/beelocal.sh | bash
.PHONY
:
deploylocal
deploylocal
:
beekeeper create bee-cluster
--cluster-name
$(BEEKEEPER_CLUSTER)
.PHONY
:
testlocal
testlocal
:
export
PATH
=
${
PATH
}
:
$$
(
$(GO)
env
GOPATH
)
/bin
beekeeper check
--cluster-name
local
--checks
=
ci-full-connectivity,ci-gc,ci-manifest,ci-pingpong,ci-pss,ci-pushsync-chunks,ci-retrieval,ci-settlements,ci-soc
.PHONY
:
testlocal-all
all
:
beekeeper beelocal deploylocal testlocal
.PHONY
:
lint
lint
:
linter
$(GOLANGCI_LINT)
run
...
...
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