Skip to content

Commit

Permalink
Merge pull request #15 from remcoros/cloudflared-2025.1.1
Browse files Browse the repository at this point in the history
update cloudflared to 2025.1.1 / update bundling to use Deno emit
  • Loading branch information
remcoros authored Feb 1, 2025
2 parents c57d1c4 + 145c59e commit c8ec60c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CLOUDFLARED_IMAGE := cloudflare/cloudflared:2024.12.2
CLOUDFLARED_IMAGE := cloudflare/cloudflared:2025.1.1
# sha256 hashes can be found in https://github.com/mikefarah/yq/releases/download/v4.40.7/checksums-bsd
YQ_VERSION := 4.40.7
YQ_SHA_AMD64 := 4f13ee9303a49f7e8f61e7d9c87402e07cc920ae8dfaaa8c10d7ea1b8f9f48ed
Expand Down Expand Up @@ -37,7 +37,7 @@ clean:
rm -f scripts/*.js

scripts/embassy.js: $(TS_FILES)
deno bundle scripts/embassy.ts scripts/embassy.js
deno run --allow-read --allow-write --allow-env --allow-net scripts/bundle.ts

docker-images/aarch64.tar: manifest.yaml Dockerfile docker_entrypoint.sh tmp/yq_linux_arm64
ifeq ($(ARCH),x86_64)
Expand Down
5 changes: 3 additions & 2 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
id: cloudflared
title: "Cloudflare Tunnel"
version: 2024.12.2
version: 2025.1.1
release-notes: |
* Update to cloudflared 2024.12.2 - See [full changelog](https://github.com/cloudflare/cloudflared/blob/2024.12.2/RELEASE_NOTES)
* Update to cloudflared 2025.1.1 - See [full changelog](https://github.com/cloudflare/cloudflared/blob/2025.1.1/RELEASE_NOTES)
* Update bundling process to use Deno emit module
license: Apache 2.0
wrapper-repo: "https://github.com/remcoros/cloudflared-startos"
upstream-repo: "https://github.com/cloudflare/cloudflared"
Expand Down
3 changes: 3 additions & 0 deletions scripts/bundle.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { bundle } from "https://deno.land/x/[email protected]/mod.ts";
const result = await bundle("scripts/embassy.ts");
await Deno.writeTextFile("scripts/embassy.js", result.code);
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { compat, types as T } from "../deps.ts";

export const migration: T.ExpectedExports.migration = compat.migrations
.fromMapping({}, "2024.12.2" );
.fromMapping({}, "2025.1.1" );

0 comments on commit c8ec60c

Please sign in to comment.