Skip to content

Commit 5f0a605

Browse files
committed
sync with master
2 parents 71b4409 + 053afd5 commit 5f0a605

File tree

115 files changed

+24216
-455
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+24216
-455
lines changed

.circleci/config.yml

+11-6
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ version: 2
33
defaults: &defaults
44
working_directory: /go/src/github.com/weaveworks/scope
55
docker:
6-
- image: weaveworks/scope-backend-build:master-22aa742b
6+
- image: weaveworks/scope-backend-build:build-updates-1b1c9664
77

88
client-defaults: &client-defaults
99
working_directory: /home/weave/scope
1010
docker:
11-
- image: weaveworks/scope-ui-build:master-bf6af9cf
11+
- image: node:10.19
12+
environment:
13+
NPM_CONFIG_LOGLEVEL: warn
14+
NPM_CONFIG_PROGRESS: false
15+
XDG_CACHE_HOME: /home/weave/scope/.cache
1216

1317
workflows:
1418
version: 2
@@ -51,7 +55,7 @@ jobs:
5155
parallelism: 1
5256
steps:
5357
- checkout
54-
- run: COVERDIR=./coverage make BUILD_IN_CONTAINER=false CODECGEN_UID=23 tests
58+
- run: COVERDIR=./coverage NO_SCHEDULER=t make BUILD_IN_CONTAINER=false CODECGEN_UID=23 tests
5559
- persist_to_workspace:
5660
root: .
5761
paths:
@@ -175,16 +179,17 @@ jobs:
175179
path: /tmp/artifacts
176180

177181
deploy:
178-
<<: *defaults
182+
machine:
183+
image: circleci/classic:201709-01
184+
working_directory: /home/circleci/src/github.com/weaveworks/scope
179185
environment:
180186
IMAGES: scope cloud-agent
187+
SCOPE_SKIP_UI_ASSETS: true
181188
steps:
182189
- checkout
183-
- setup_remote_docker
184190
- attach_workspace:
185191
at: .
186192
- run: |
187-
pip install awscli
188193
docker load -i scope.tar
189194
docker load -i cloud-agent.tar
190195
- run: |

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ prog/staticui/staticui.go
6464
prog/externalui/externalui.go
6565
client/build-pkg
6666
client/bundle
67+
client/.yarnrc
6768

6869
# Website
6970
site-build

.lintignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Generated files
2+
./cri/runtime/api.pb.go
3+
# Files from different repo
4+
./client/.config/yarn/*
5+
./docker/weave
6+
./tools/*
7+
# Extra programs that aren't really part of Scope
8+
./extras/*

CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,56 @@
1+
## Release 1.13.2
2+
3+
Mostly updates to dependencies, plus a couple of small improvements.
4+
5+
Thanks to everyone who contributed to this release: @gaby, @Kielek, @knrt10
6+
7+
### Enhancements
8+
- Set hostname to Kubernetes node name
9+
[#3827](https://github.com/weaveworks/scope/pull/3827)
10+
- Stop rendering if Context is cancelled
11+
[#3801](https://github.com/weaveworks/scope/pull/3801)
12+
13+
### Bug fixes
14+
- Only mount plugins directory if it exists
15+
[#3825](https://github.com/weaveworks/scope/pull/3825)
16+
- Multitenant billing: cope with spy-interval set longer than publish-interval
17+
[#3796](https://github.com/weaveworks/scope/pull/3796)
18+
- Multitenant query: don't drop topologies so much
19+
[#3791](https://github.com/weaveworks/scope/pull/3791)
20+
- Multitenant: scan container command-lines as well as process
21+
[#3789](https://github.com/weaveworks/scope/pull/3789)
22+
23+
### Dependencies updates
24+
25+
- Update alpine base image to 3.13
26+
[#3838](https://github.com/weaveworks/scope/pull/3838)
27+
- Update build tools including Go 1.16.2
28+
[#3833](https://github.com/weaveworks/scope/pull/3833)
29+
[#3797](https://github.com/weaveworks/scope/pull/3797)
30+
[#3821](https://github.com/weaveworks/scope/pull/3821)
31+
- update lodash to 4.17.20 (CVE-2020-8203)
32+
[#3831](https://github.com/weaveworks/scope/pull/3831)
33+
- update dot-prop, webpack and terser-webpack-plugin
34+
[#3816](https://github.com/weaveworks/scope/pull/3816)
35+
- bump http-proxy from 1.16.2 to 1.18.1 in /client
36+
[#3819](https://github.com/weaveworks/scope/pull/3819)
37+
- bump elliptic from 6.4.0 to 6.5.3 in /client
38+
[#3814](https://github.com/weaveworks/scope/pull/3814)
39+
- bump lodash from 4.17.15 to 4.17.19 in /client
40+
[#3812](https://github.com/weaveworks/scope/pull/3812)
41+
- Update to most recent weaveworks/ui-components
42+
[#3795](https://github.com/weaveworks/scope/pull/3795)
43+
- update JS kind-of to 6.0.3
44+
[#3785](https://github.com/weaveworks/scope/pull/3785)
45+
46+
### Build & test
47+
48+
- Run AWS CLI from a container image
49+
[#3841](https://github.com/weaveworks/scope/pull/3841)
50+
- Remove obsolete dependency github.com/fatih/hclfmt
51+
[#3834](https://github.com/weaveworks/scope/pull/3834)
52+
53+
154
## Release 1.13.1
255

356
This release fixes a bug on 'kubernetes describe' operations, where

CONTRIBUTING.md

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ When sending email, it's usually best to use the mailing list. The maintainers a
2525

2626
We also meet regularly at the [Scope community meeting](https://docs.google.com/document/d/103_60TuEkfkhz_h2krrPJH8QOx-vRnPpbcCZqrddE1s/). Don't feel discouraged to attend the meeting due to not being a developer. Everybody is welcome!
2727

28+
We follow the [CNCF Code of Conduct](CODE-OF-CONDUCT.md).
29+
2830
# Getting Started
2931

3032
- Fork the repository on GitHub

MAINTAINERS

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ Alfonso Acosta <[email protected]> (@2opremio)
22
Filip Barl <[email protected]> (@fbarl)
33
Bryan Boreham <[email protected]> (@bboreham)
44
Satyam Zode <[email protected]> (@satyamz)
5-
Akash Srivastava <akash.[email protected]> (@qiell)
5+
Akash Srivastava <akash.[email protected]> (@qiell)

Makefile

+44-81
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,26 @@ DOCKERHUB_USER=weaveworks
66
SCOPE_EXE=prog/scope
77
SCOPE_EXPORT=scope.tar
88
CLOUD_AGENT_EXPORT=cloud-agent.tar
9-
SCOPE_UI_BUILD_IMAGE=$(DOCKERHUB_USER)/scope-ui-build
10-
SCOPE_UI_BUILD_UPTODATE=.scope_ui_build.uptodate
9+
SCOPE_UI_BUILD_IMAGE=node:10.19
1110
SCOPE_BACKEND_BUILD_IMAGE=$(DOCKERHUB_USER)/scope-backend-build
1211
SCOPE_BACKEND_BUILD_UPTODATE=.scope_backend_build.uptodate
1312
SCOPE_VERSION=$(shell git rev-parse --short HEAD)
1413
GIT_REVISION=$(shell git rev-parse HEAD)
15-
WEAVENET_VERSION=2.1.3
14+
WEAVENET_VERSION=2.8.1
1615
RUNSVINIT=vendor/github.com/peterbourgon/runsvinit/runsvinit
1716
CODECGEN_DIR=vendor/github.com/ugorji/go/codec/codecgen
18-
CODECGEN_EXE=$(CODECGEN_DIR)/bin/codecgen_$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
1917
CODECGEN_UID=0
2018
GET_CODECGEN_DEPS=$(shell find $(1) -maxdepth 1 -type f -name '*.go' -not -name '*_test.go' -not -name '*.codecgen.go' -not -name '*.generated.go')
2119
CODECGEN_TARGETS=report/report.codecgen.go render/detailed/detailed.codecgen.go
2220
RM=--rm
2321
RUN_FLAGS=-ti
2422
BUILD_IN_CONTAINER=true
2523
GO_ENV=GOGC=off
26-
GO_BUILD_TAGS='netgo unsafe'
24+
GO_BUILD_TAGS='netgo osusergo unsafe'
2725
GO_BUILD_FLAGS=-mod vendor -ldflags "-extldflags \"-static\" -X main.version=$(SCOPE_VERSION) -s -w" -tags $(GO_BUILD_TAGS)
28-
GOOS=$(shell go tool dist env | grep GOOS | sed -e 's/GOOS="\(.*\)"/\1/')
29-
30-
ifeq ($(GOOS),linux)
31-
GO_ENV+=CGO_ENABLED=1
32-
endif
3326

3427
ifeq ($(GOARCH),arm)
28+
GO_ENV+=CGO_ENABLED=1
3529
ARM_CC=CC=/usr/bin/arm-linux-gnueabihf-gcc
3630
endif
3731

@@ -72,7 +66,7 @@ docker/%: %
7266

7367
$(CLOUD_AGENT_EXPORT): docker/Dockerfile.cloud-agent docker/$(SCOPE_EXE) docker/weave docker/weaveutil
7468

75-
$(SCOPE_EXPORT): docker/Dockerfile.scope $(CLOUD_AGENT_EXPORT) docker/$(RUNSVINIT) docker/demo.json docker/run-app docker/run-probe docker/entrypoint.sh
69+
$(SCOPE_EXPORT): docker/Dockerfile.scope $(CLOUD_AGENT_EXPORT) docker/$(RUNSVINIT) docker/run-app docker/run-probe docker/entrypoint.sh
7670

7771
$(RUNSVINIT): vendor/github.com/peterbourgon/runsvinit/*.go
7872

@@ -89,9 +83,12 @@ ifeq ($(BUILD_IN_CONTAINER),true)
8983
$(SCOPE_EXE) $(RUNSVINIT) lint tests shell prog/staticui/staticui.go prog/externalui/externalui.go: $(SCOPE_BACKEND_BUILD_UPTODATE)
9084
@mkdir -p $(shell pwd)/.pkg
9185
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
92-
-v $(shell pwd):/go/src/github.com/weaveworks/scope \
93-
-v $(shell pwd)/.pkg:/go/pkg \
86+
-v $(shell pwd):/go/src/github.com/weaveworks/scope:delegated,z \
87+
-v $(shell pwd)/.pkg:/go/pkg:delegated,z \
88+
-v $(shell pwd)/.cache:/go/cache:delegated,z \
89+
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
9490
--net=host \
91+
-e HOME=/go/src/github.com/weaveworks/scope \
9592
-e GOARCH -e GOOS -e CIRCLECI -e CIRCLE_BUILD_NUM -e CIRCLE_NODE_TOTAL \
9693
-e CIRCLE_NODE_INDEX -e COVERDIR -e SLOW -e TESTDIRS \
9794
$(SCOPE_BACKEND_BUILD_IMAGE) SCOPE_VERSION=$(SCOPE_VERSION) CODECGEN_UID=$(CODECGEN_UID) $@
@@ -101,6 +98,8 @@ else
10198
$(SCOPE_EXE):
10299
time $(GO) build $(GO_BUILD_FLAGS) -o $@ ./$(@D)
103100

101+
CODECGEN_EXE=$(CODECGEN_DIR)/bin/codecgen_$(shell go env GOHOSTOS)_$(shell go env GOHOSTARCH)
102+
104103
%.codecgen.go: $(CODECGEN_EXE)
105104
rm -f $@; $(GO_HOST) build $(GO_BUILD_FLAGS) ./$(@D) # workaround for https://github.com/ugorji/go/issues/145
106105
cd $(@D) && $(WITH_GO_HOST_ENV) GO111MODULE=off $(shell pwd)/$(CODECGEN_EXE) -d $(CODECGEN_UID) -rt $(GO_BUILD_TAGS) -u -o $(@F) $(notdir $(call GET_CODECGEN_DEPS,$(@D)))
@@ -118,98 +117,66 @@ shell:
118117
tests: $(CODECGEN_TARGETS) prog/staticui/staticui.go prog/externalui/externalui.go
119118
./tools/test -no-go-get -tags $(GO_BUILD_TAGS)
120119

121-
lint:
120+
lint: prog/staticui/staticui.go prog/externalui/externalui.go
122121
./tools/lint
123122

124123
prog/staticui/staticui.go:
125124
mkdir -p prog/staticui
126-
esc -o $@ -pkg staticui -prefix client/build client/build
125+
$(NO_CROSS_COMP); go run -mod vendor github.com/mjibson/esc -o $@ -pkg staticui -prefix client/build client/build
127126

128127
prog/externalui/externalui.go:
129128
mkdir -p prog/externalui
130-
esc -o $@ -pkg externalui -prefix client/build-external -include '\.html$$' client/build-external
129+
$(NO_CROSS_COMP); go run -mod vendor github.com/mjibson/esc -o $@ -pkg externalui -prefix client/build-external -include '\.html$$' client/build-external
131130

132131
endif
133132

134133
ifeq ($(BUILD_IN_CONTAINER),true)
135134

136135
SCOPE_UI_TOOLCHAIN=.cache/build_node_modules
137136
SCOPE_UI_TOOLCHAIN_UPTODATE=$(SCOPE_UI_TOOLCHAIN)/.uptodate
137+
SCOPE_UI_BUILD_CMD=$(SUDO) docker run $(RM) $(RUN_FLAGS) \
138+
-v $(shell pwd)/.cache:/home/weave/scope/.cache:delegated,z \
139+
-v $(shell pwd)/client:/home/weave/scope/client:delegated,z \
140+
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules:delegated,z \
141+
-w /home/weave/scope/client \
142+
-e HOME=/home/weave/scope/client \
143+
-e NPM_CONFIG_LOGLEVEL=warn \
144+
-e NPM_CONFIG_PROGRESS=false \
145+
-e XDG_CACHE_HOME=/home/weave/scope/.cache \
146+
-u $(shell id -u ${USER}):$(shell id -g ${USER})
138147

139148
$(SCOPE_UI_TOOLCHAIN_UPTODATE): client/yarn.lock $(SCOPE_UI_BUILD_UPTODATE)
140149
mkdir -p $(SCOPE_UI_TOOLCHAIN) client/node_modules
141150
if test "true" != "$(SCOPE_SKIP_UI_ASSETS)"; then \
142-
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
143-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
144-
-v $(shell pwd)/client:/home/weave/scope/client \
145-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
146-
-w /home/weave/scope/client \
147-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
148-
$(SCOPE_UI_BUILD_IMAGE) yarn install; \
151+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn install; \
149152
fi
150153
touch $(SCOPE_UI_TOOLCHAIN_UPTODATE)
151154

152155
client/build/index.html: $(shell find client/app -type f) $(SCOPE_UI_TOOLCHAIN_UPTODATE)
153156
mkdir -p client/build
154157
if test "true" != "$(SCOPE_SKIP_UI_ASSETS)"; then \
155-
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
156-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
157-
-v $(shell pwd)/client:/home/weave/scope/client \
158-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
159-
-w /home/weave/scope/client \
160-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
161-
$(SCOPE_UI_BUILD_IMAGE) yarn run build; \
158+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn run build; \
162159
fi
163160

164161
client/build-external/index.html: $(shell find client/app -type f) $(SCOPE_UI_TOOLCHAIN_UPTODATE)
165162
mkdir -p client/build-external
166163
if test "true" != "$(SCOPE_SKIP_UI_ASSETS)"; then \
167-
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
168-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
169-
-v $(shell pwd)/client:/home/weave/scope/client \
170-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
171-
-w /home/weave/scope/client \
172-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
173-
$(SCOPE_UI_BUILD_IMAGE) yarn run build-external; \
164+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn run build-external; \
174165
fi
175166

176167
client-test: $(shell find client/app/scripts -type f) $(SCOPE_UI_TOOLCHAIN_UPTODATE)
177-
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
178-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
179-
-v $(shell pwd)/client:/home/weave/scope/client \
180-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
181-
-w /home/weave/scope/client \
182-
-u $(id -u ${USER}):$(id -g ${USER}) \
183-
$(SCOPE_UI_BUILD_IMAGE) yarn test
168+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn test
184169

185170
client-lint: $(SCOPE_UI_TOOLCHAIN_UPTODATE)
186-
$(SUDO) docker run $(RM) $(RUN_FLAGS) \
187-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
188-
-v $(shell pwd)/client:/home/weave/scope/client \
189-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
190-
-w /home/weave/scope/client \
191-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
192-
$(SCOPE_UI_BUILD_IMAGE) yarn run lint
171+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn run lint
193172

194173
client-start: $(SCOPE_UI_TOOLCHAIN_UPTODATE)
195-
$(SUDO) docker run $(RM) $(RUN_FLAGS) --net=host \
196-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
197-
-v $(shell pwd)/client:/home/weave/scope/client \
198-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
174+
$(SCOPE_UI_BUILD_CMD) --net=host \
199175
-e WEBPACK_SERVER_HOST \
200-
-w /home/weave/scope/client \
201-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
202176
$(SCOPE_UI_BUILD_IMAGE) yarn start
203177

204178
client/bundle/weave-scope.tgz: $(shell find client/app -type f) $(SCOPE_UI_TOOLCHAIN_UPTODATE)
205-
$(sudo) docker run $(RUN_FLAGS) \
206-
-v $(shell pwd)/.cache:/home/weave/scope/.cache \
207-
-v $(shell pwd)/client:/home/weave/scope/client \
208-
-v $(shell pwd)/$(SCOPE_UI_TOOLCHAIN):/home/weave/scope/client/node_modules \
209-
-v $(shell pwd)/tmp:/home/weave/tmp \
210-
-w /home/weave/scope/client \
211-
-u $(shell id -u ${USER}):$(shell id -g ${USER}) \
212-
$(SCOPE_UI_BUILD_IMAGE) yarn run bundle
179+
$(SCOPE_UI_BUILD_CMD) $(SCOPE_UI_BUILD_IMAGE) yarn run bundle
213180

214181
else
215182

@@ -230,25 +197,23 @@ client/build-external/index.html: $(SCOPE_UI_TOOLCHAIN_UPTODATE)
230197

231198
endif
232199

233-
$(SCOPE_UI_BUILD_UPTODATE): client/Dockerfile client/package.json client/webpack.local.config.js client/webpack.production.config.js client/server.js client/.eslintrc
234-
$(SUDO) docker build -t $(SCOPE_UI_BUILD_IMAGE) client
235-
$(SUDO) docker tag $(SCOPE_UI_BUILD_IMAGE) $(SCOPE_UI_BUILD_IMAGE):$(IMAGE_TAG)
236-
touch $@
237-
238200
$(SCOPE_BACKEND_BUILD_UPTODATE): backend/*
239201
$(SUDO) docker build -t $(SCOPE_BACKEND_BUILD_IMAGE) backend
240202
$(SUDO) docker tag $(SCOPE_BACKEND_BUILD_IMAGE) $(SCOPE_BACKEND_BUILD_IMAGE):$(IMAGE_TAG)
241203
touch $@
242204

205+
# Run aws CLI from a container image so we don't have to install Python, etc.
206+
AWS_COMMAND=docker run $(RM) $(RUN_FLAGS) \
207+
-e AWS_ACCESS_KEY_ID=$$UI_BUCKET_KEY_ID \
208+
-e AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
209+
-v $(shell pwd):/scope \
210+
amazon/aws-cli:2.1.35
211+
243212
ui-upload: client/build-external/index.html
244-
AWS_ACCESS_KEY_ID=$$UI_BUCKET_KEY_ID \
245-
AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
246-
aws s3 cp client/build-external/ s3://static.weave.works/scope-ui/ --recursive --exclude '*.html'
213+
$(AWS_COMMAND) s3 cp /scope/client/build-external/ s3://static.weave.works/scope-ui/ --recursive --exclude '*.html'
247214

248215
ui-pkg-upload: client/bundle/weave-scope.tgz
249-
AWS_ACCESS_KEY_ID=$$UI_BUCKET_KEY_ID \
250-
AWS_SECRET_ACCESS_KEY=$$UI_BUCKET_KEY_SECRET \
251-
aws s3 cp client/bundle/weave-scope.tgz s3://weaveworks-js-modules/weave-scope/$(shell echo $(SCOPE_VERSION))/weave-scope.tgz
216+
$(AWS_COMMAND) s3 cp /scope/client/bundle/weave-scope.tgz s3://weaveworks-js-modules/weave-scope/$(shell echo $(SCOPE_VERSION))/weave-scope.tgz
252217

253218
# We don't rmi images here; rm'ing the .uptodate files is enough to
254219
# get the build images rebuilt, and rm'ing the scope exe is enough to
@@ -257,7 +222,7 @@ ui-pkg-upload: client/bundle/weave-scope.tgz
257222
# rmi'ng images is desirable sometimes. Invoke `realclean` for that.
258223
clean:
259224
$(GO) clean ./...
260-
rm -rf $(SCOPE_EXPORT) $(SCOPE_UI_BUILD_UPTODATE) $(SCOPE_UI_TOOLCHAIN_UPTODATE) $(SCOPE_BACKEND_BUILD_UPTODATE) \
225+
rm -rf $(SCOPE_EXPORT) $(SCOPE_UI_TOOLCHAIN_UPTODATE) $(SCOPE_BACKEND_BUILD_UPTODATE) \
261226
$(SCOPE_EXE) $(RUNSVINIT) prog/staticui/staticui.go prog/externalui/externalui.go client/build/*.js client/build-external/*.js docker/weave .pkg \
262227
$(CODECGEN_TARGETS) $(CODECGEN_DIR)/bin
263228

@@ -274,19 +239,17 @@ clean-codecgen:
274239
# Doing this is important for release builds.
275240
realclean: clean
276241
rm -rf $(SCOPE_UI_TOOLCHAIN)
277-
$(SUDO) docker rmi -f $(SCOPE_UI_BUILD_IMAGE) $(SCOPE_BACKEND_BUILD_IMAGE) \
242+
$(SUDO) docker rmi -f $(SCOPE_BACKEND_BUILD_IMAGE) \
278243
$(DOCKERHUB_USER)/scope $(DOCKERHUB_USER)/cloud-agent \
279244
$(DOCKERHUB_USER)/scope:$(IMAGE_TAG) $(DOCKERHUB_USER)/cloud-agent:$(IMAGE_TAG) \
280245
weaveworks/weaveexec:$(WEAVENET_VERSION) \
281-
ubuntu:yakkety alpine:3.5 node:6.9.0 2>/dev/null || true
246+
ubuntu:bionic alpine:3.11 node:6.9.0 2>/dev/null || true
282247

283248
# Dependencies are intentionally build without enforcing any tags
284249
# since they are build on the host
285250
deps:
286251
$(GO) get -u -f \
287-
github.com/FiloSottile/gvt \
288252
github.com/mattn/goveralls \
289-
github.com/weaveworks/github-release \
290253
github.com/2opremio/trifles/wscat
291254

292255
# This target is only intended for use in Netlify CI environment for generating preview pages on feature branches and pull requests.

0 commit comments

Comments
 (0)