Skip to content
Merged
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
4 changes: 2 additions & 2 deletions builds/checkin/edgelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
displayName: Set Version
- bash: scripts/linux/generic-rust/install.sh --project-root "edgelet"
displayName: Install Rust
- script: "cargo install cross --version ^0.2"
- script: "cargo install cross --version ^0.2 --locked"
displayName: "Install cross"
- script: "cross build --target armv7-unknown-linux-gnueabihf"
displayName: armv7-unknown-linux-gnueabihf build
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
displayName: Set Version
- bash: scripts/linux/generic-rust/install.sh --project-root "edgelet"
displayName: Install Rust
- script: "cargo install cross --version ^0.2"
- script: "cargo install cross --version ^0.2 --locked"
displayName: "Install cross"
- script: "cross build --target aarch64-unknown-linux-gnu"
displayName: aarch64-unknown-linux-gnu build
Expand Down
3 changes: 3 additions & 0 deletions builds/misc/templates/build-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,9 @@ stages:
- ImageOverride -equals $(image)
steps:
- script: |
#!/bin/bash
set -xeuo pipefail
sudo snap refresh
sudo snap install snapcraft --classic
lxd init --minimal
SNAPCRAFT_BUILD_INFO=1 snapcraft --use-lxd
Expand Down
52 changes: 26 additions & 26 deletions edgelet/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions edgelet/build/linux/package-mariner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ apt-get install -y \

rm -f /usr/bin/go
ln -vs /usr/lib/go-1.21/bin/go /usr/bin/go
if [ -f /.dockerenv ]; then
mv /.dockerenv /.dockerenv.old
fi
touch /.mariner-toolkit-ignore-dockerenv

# Download Mariner repo and build toolkit
mkdir -p ${MARINER_BUILD_ROOT}
Expand Down