This repository was archived by the owner on Oct 3, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Expand file tree Collapse file tree 4 files changed +53
-0
lines changed Original file line number Diff line number Diff line change 2529
2529
"extractVersionTemplate" : " ^v(?<version>.+?)$" ,
2530
2530
"versioningTemplate" : " loose"
2531
2531
},
2532
+ {
2533
+ "fileMatch" : [
2534
+ " ^tools/teleport/manifest.yaml$"
2535
+ ],
2536
+ "matchStrings" : [
2537
+ " version: \" ?(?<currentValue>.*?)\" ?\\ n"
2538
+ ],
2539
+ "depNameTemplate" : " gravitational/teleport" ,
2540
+ "datasourceTemplate" : " github-releases" ,
2541
+ "extractVersionTemplate" : " ^v(?<version>.+?)$"
2542
+ },
2532
2543
{
2533
2544
"fileMatch" : [
2534
2545
" ^tools/terraform/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
+ FROM ghcr.io/nicholasdille/docker-setup/base:${ref} AS prepare
5
+
6
+ ARG name
7
+ ARG version
8
+
9
+ RUN <<EOF
10
+ curl --silent --location "https://get.gravitational.com/teleport-v${version}-linux-${alt_arch}-bin.tar.gz" \
11
+ | tar --extract --gzip --directory="${prefix}${target}/bin/" --strip-components=1 --no-same-owner \
12
+ teleport/tctl \
13
+ teleport/teleport \
14
+ teleport/tbot \
15
+ teleport/tsh
16
+ curl --silent --location --output "${prefix}/etc/systemd/system/teleport.service" \
17
+ "https://github.com/gravitational/teleport/blob/v${version}/examples/systemd/teleport.service"
18
+ sed -i "s|ExecStart=/usr/local/bin/teleport|ExecStart=${target}/bin/teleport|" "${prefix}/etc/systemd/system/teleport.service"
19
+ EOF
Original file line number Diff line number Diff line change
1
+ name : teleport
2
+ version : 10.2.6
3
+ check : ${binary} version | cut -d' ' -f2 | tr -d v
4
+ tags :
5
+ - type/cli
6
+ - type/daemon
7
+ - category/development
8
+ - tunneling
9
+ homepage : https://github.com/gravitational/teleport
10
+ description : Easiest, most secure way to access infrastructure
11
+ renovate :
12
+ datasource : github-releases
13
+ package : gravitational/teleport
14
+ extractVersion : ^v(?<version>.+?)$
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ set -o errexit
3
+
4
+ sed -i " s|ExecStart=/usr/local/bin/teleport|ExecStart=${target} /bin/teleport|" " ${prefix} /etc/systemd/system/teleport.service"
5
+
6
+ if test -z " ${prefix} " && has_systemd; then
7
+ echo " Reload systemd"
8
+ systemctl daemon-reload
9
+ fi
You can’t perform that action at this time.
0 commit comments