Skip to content

Commit

Permalink
Merge pull request #36438 from wolfi-dev/wolfictl-7d00cf45-4abf-470c-…
Browse files Browse the repository at this point in the history
…b811-85d72b042bf7

teleport/17.0.5 package update
  • Loading branch information
luhring authored Dec 16, 2024
2 parents f195137 + 46f68a2 commit 679bc9b
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
13 changes: 11 additions & 2 deletions teleport.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: teleport
version: 17.0.4
version: 17.0.5
epoch: 0
description: The easiest, and most secure way to access and protect all of your infrastructure.
copyright:
Expand Down Expand Up @@ -37,13 +37,22 @@ pipeline:
- uses: git-checkout
with:
repository: https://github.com/gravitational/teleport
expected-commit: 627fdd550bcea918fec80f16af3ce1a8d1e90878
expected-commit: 7cc4c2a0fc54fb120a8a19f86f0acfc1d0c703a8
tag: v${{package.version}}

- uses: go/bump
with:
deps: github.com/golang-jwt/jwt/[email protected]

# Fixes build failure introduced with 17.0.5 version:
# "([wasm-validator error in function fastpathprocessor_process\20externref\20shim]
# unexpected false: table.fill requires bulk-memory [--enable-bulk-memory])"
# Should be able to remove this patch once the following issue is resolved:
# https://github.com/gravitational/teleport/issues/50194
- uses: patch
with:
patches: bulk-memory.patch

- runs: |
mkdir -p "${{targets.contextdir}}"/var/lib/teleport
mkdir -p "${{targets.contextdir}}"/usr/local/bin
Expand Down
14 changes: 14 additions & 0 deletions teleport/bulk-memory.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/web/packages/teleport/src/ironrdp/Cargo.toml b/web/packages/teleport/src/ironrdp/Cargo.toml
index ddcc4db..dc5d76c 100644
--- a/web/packages/teleport/src/ironrdp/Cargo.toml
+++ b/web/packages/teleport/src/ironrdp/Cargo.toml
@@ -5,6 +5,9 @@ edition.workspace = true
license.workspace = true
publish.workspace = true

+[package.metadata.wasm-pack.profile.release]
+wasm-opt = ["-O", "--enable-bulk-memory"]
+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]

0 comments on commit 679bc9b

Please sign in to comment.