Skip to content

Commit 0096f26

Browse files
committed
TUN-7587: Remove junos builds
1 parent ac82c8b commit 0096f26

File tree

3 files changed

+0
-90
lines changed

3 files changed

+0
-90
lines changed

Makefile

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -209,58 +209,6 @@ cloudflared-darwin-amd64.tgz: cloudflared
209209
tar czf cloudflared-darwin-amd64.tgz cloudflared
210210
rm cloudflared
211211

212-
.PHONY: cloudflared-junos
213-
cloudflared-junos: cloudflared jetez-certificate.pem jetez-key.pem
214-
jetez --source . \
215-
-j jet.yaml \
216-
--key jetez-key.pem \
217-
--cert jetez-certificate.pem \
218-
--version $(VERSION)
219-
rm jetez-*.pem
220-
221-
jetez-certificate.pem:
222-
ifndef JETEZ_CERT
223-
$(error JETEZ_CERT not defined)
224-
endif
225-
@echo "Writing JetEZ certificate"
226-
@echo "$$JETEZ_CERT" > jetez-certificate.pem
227-
228-
jetez-key.pem:
229-
ifndef JETEZ_KEY
230-
$(error JETEZ_KEY not defined)
231-
endif
232-
@echo "Writing JetEZ key"
233-
@echo "$$JETEZ_KEY" > jetez-key.pem
234-
235-
.PHONY: publish-cloudflared-junos
236-
publish-cloudflared-junos: cloudflared-junos cloudflared-x86-64.latest.s3
237-
ifndef S3_ENDPOINT
238-
$(error S3_HOST not defined)
239-
endif
240-
ifndef S3_URI
241-
$(error S3_URI not defined)
242-
endif
243-
ifndef S3_ACCESS_KEY
244-
$(error S3_ACCESS_KEY not defined)
245-
endif
246-
ifndef S3_SECRET_KEY
247-
$(error S3_SECRET_KEY not defined)
248-
endif
249-
sha256sum cloudflared-x86-64-$(VERSION).tgz | awk '{printf $$1}' > cloudflared-x86-64-$(VERSION).tgz.shasum
250-
s4cmd --endpoint-url $(S3_ENDPOINT) --force --API-GrantRead=uri=http://acs.amazonaws.com/groups/global/AllUsers \
251-
put cloudflared-x86-64-$(VERSION).tgz $(S3_URI)/cloudflared-x86-64-$(VERSION).tgz
252-
s4cmd --endpoint-url $(S3_ENDPOINT) --force --API-GrantRead=uri=http://acs.amazonaws.com/groups/global/AllUsers \
253-
put cloudflared-x86-64-$(VERSION).tgz.shasum $(S3_URI)/cloudflared-x86-64-$(VERSION).tgz.shasum
254-
dpkg --compare-versions "$(VERSION)" gt "$(shell cat cloudflared-x86-64.latest.s3)" && \
255-
echo -n "$(VERSION)" > cloudflared-x86-64.latest && \
256-
s4cmd --endpoint-url $(S3_ENDPOINT) --force --API-GrantRead=uri=http://acs.amazonaws.com/groups/global/AllUsers \
257-
put cloudflared-x86-64.latest $(S3_URI)/cloudflared-x86-64.latest || \
258-
echo "Latest version not updated"
259-
260-
cloudflared-x86-64.latest.s3:
261-
s4cmd --endpoint-url $(S3_ENDPOINT) --force \
262-
get $(S3_URI)/cloudflared-x86-64.latest cloudflared-x86-64.latest.s3
263-
264212
.PHONY: homebrew-upload
265213
homebrew-upload: cloudflared-darwin-amd64.tgz
266214
aws s3 --endpoint-url $(S3_ENDPOINT) cp --acl public-read $$^ $(S3_URI)/cloudflared-$$(VERSION)-$1.tgz

cfsetup.yaml

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -254,35 +254,6 @@ buster: &buster
254254
pre-cache: *install_pygithub
255255
post-cache:
256256
- make github-message
257-
build-junos:
258-
build_dir: *build_dir
259-
builddeps:
260-
- *pinned_go
261-
- build-essential
262-
- python3
263-
- genisoimage
264-
pre-cache:
265-
- ln -s /usr/bin/genisoimage /usr/bin/mkisofs
266-
post-cache:
267-
- export CGO_ENABLED=0
268-
- export GOOS=freebsd
269-
- export GOARCH=amd64
270-
- make cloudflared
271-
publish-junos:
272-
build_dir: *build_dir
273-
builddeps:
274-
- *pinned_go
275-
- build-essential
276-
- python3
277-
- genisoimage
278-
- jetez
279-
- s4cmd
280-
pre-cache:
281-
- ln -s /usr/bin/genisoimage /usr/bin/mkisofs
282-
post-cache:
283-
- export GOOS=freebsd
284-
- export GOARCH=amd64
285-
- make publish-cloudflared-junos
286257

287258
bullseye: *buster
288259
bookworm: *buster

jet.yaml

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)