This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Expand file tree Collapse file tree 3 files changed +51
-0
lines changed Original file line number Diff line number Diff line change 2905
2905
"datasourceTemplate" : " github-releases" ,
2906
2906
"extractVersionTemplate" : " ^v(?<version>.+?)$"
2907
2907
},
2908
+ {
2909
+ "fileMatch" : [
2910
+ " ^tools/rust/manifest.yaml$"
2911
+ ],
2912
+ "matchStrings" : [
2913
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
2914
+ ],
2915
+ "depNameTemplate" : " rust-lang/rust" ,
2916
+ "datasourceTemplate" : " github-releases"
2917
+ },
2908
2918
{
2909
2919
"fileMatch" : [
2910
2920
" ^tools/sbom-operator/manifest.yaml$"
Original file line number Diff line number Diff line change
1
+ #syntax=docker/dockerfile:1.4.3
2
+
3
+ ARG ref=main
4
+
5
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
6
+ ARG name
7
+ ARG version
8
+ RUN <<EOF
9
+ export CARGO_HOME="${prefix}/opt/cargo"
10
+ export RUSTUP_HOME="${prefix}/opt/rustup"
11
+ curl https://sh.rustup.rs \
12
+ --proto '=https' \
13
+ --tlsv1.2 \
14
+ --silent \
15
+ --show-error \
16
+ --fail | \
17
+ env CARGO_HOME="${CARGO_HOME}" RUSTUP_HOME="${RUSTUP_HOME}" bash -s -- \
18
+ --default-toolchain "${version}" \
19
+ --no-modify-path \
20
+ -y
21
+ "${prefix}${target}/bin/rustup" completions bash rustup >"${prefix}${target}/share/bash-completion/completions/rustup"
22
+ "${prefix}${target}/bin/rustup" completions fish rustup >"${prefix}${target}/share/fish/vendor_completions.d/rustup.fish"
23
+ "${prefix}${target}/bin/rustup" completions zsh rustup >"${prefix}${target}/share/zsh/vendor-completions/_rustup"
24
+ cp \
25
+ "${prefix}/opt/rustup/toolchains/${version}-x86_64-unknown-linux-gnu/etc/bash_completion.d/cargo" \
26
+ "${prefix}${target}/share/bash-completion/completions/"
27
+ cp \
28
+ "${prefix}/opt/rustup/toolchains/${version}-x86_64-unknown-linux-gnu/share/zsh/site-functions/_cargo" \
29
+ "${prefix}${target}/share/zsh/vendor-completions/"
30
+ EOF
Original file line number Diff line number Diff line change
1
+ name : rust
2
+ version : 1.64.0
3
+ check : " "
4
+ tags :
5
+ - type/cli
6
+ - category/development
7
+ homepage : https://github.com/rust-lang/rust
8
+ description : Empowering everyone to build reliable and efficient software
9
+ renovate :
10
+ datasource : github-releases
11
+ package : rust-lang/rust
You can’t perform that action at this time.
0 commit comments