Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teleport/17.0.5 package update #36438

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 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,17 @@ 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]

- 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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add a comment about what the purpose of this patch is, why we need it in our build, and if/when we'll no longer need it?

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]
Loading