mirror of
https://github.com/gravitational/teleport
synced 2024-10-19 16:53:57 +00:00
Enable Rust in Authentication Package build (#31094)
This commit is contained in:
parent
faa84e2e7d
commit
7b4c9f43d1
|
@ -473,6 +473,7 @@ steps:
|
|||
- $TeleportSrc = "$Workspace/go/src/github.com/gravitational/teleport"
|
||||
- . "$TeleportSrc/build.assets/windows/build.ps1"
|
||||
- Enable-Go -ToolchainDir "$Workspace/toolchains"
|
||||
- Enable-Rust -ToolchainDir "$Workspace/toolchains"
|
||||
- cd $TeleportSrc
|
||||
- $TeleportVersion=$(make print-version).Trim()
|
||||
- cd "$TeleportSrc\e\windowsauth"
|
||||
|
@ -751,6 +752,7 @@ steps:
|
|||
- $TeleportSrc = "$Workspace/go/src/github.com/gravitational/teleport"
|
||||
- . "$TeleportSrc/build.assets/windows/build.ps1"
|
||||
- Enable-Go -ToolchainDir "$Workspace/toolchains"
|
||||
- Enable-Rust -ToolchainDir "$Workspace/toolchains"
|
||||
- cd $TeleportSrc
|
||||
- $TeleportVersion=$(make print-version).Trim()
|
||||
- cd "$TeleportSrc\e\windowsauth"
|
||||
|
@ -17119,6 +17121,6 @@ image_pull_secrets:
|
|||
- DOCKERHUB_CREDENTIALS
|
||||
---
|
||||
kind: signature
|
||||
hmac: fe4b25966946166fea1be9a05da31480baa5963de4caf62ae985ff4327b55ce9
|
||||
hmac: 38d88cfd48e6bd15c51a7d4bee1acd889330cc78b53720efdf713430702193a1
|
||||
|
||||
...
|
||||
|
|
|
@ -145,6 +145,8 @@ function Enable-Rust {
|
|||
[string] $ToolchainDir
|
||||
)
|
||||
begin {
|
||||
$Env:RUSTUP_HOME = "$ToolchainDir/rustup"
|
||||
$Env:CARGO_HOME = "$ToolchainDir/cargo"
|
||||
$Env:Path = "$ToolchainDir/cargo/bin;$Env:Path"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -310,6 +310,7 @@ func buildWindowsAuthenticationPackageStep(workspace string) step {
|
|||
`$TeleportSrc = "$Workspace` + teleportSrc + `"`,
|
||||
`. "$TeleportSrc/build.assets/windows/build.ps1"`,
|
||||
`Enable-Go -ToolchainDir "$Workspace` + toolchainDir + `"`,
|
||||
`Enable-Rust -ToolchainDir "$Workspace` + toolchainDir + `"`,
|
||||
`cd $TeleportSrc`,
|
||||
`$TeleportVersion=$(make print-version).Trim()`,
|
||||
`cd "$TeleportSrc\e\windowsauth"`,
|
||||
|
|
Loading…
Reference in a new issue