Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

Commit e44ec10

Browse files
committed
Added concourse #3479
1 parent a3f28b3 commit e44ec10

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

renovate.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,17 @@
565565
"datasourceTemplate": "github-releases",
566566
"extractVersionTemplate": "^v(?<version>.+?)$"
567567
},
568+
{
569+
"fileMatch": [
570+
"^tools/concourse/manifest.yaml$"
571+
],
572+
"matchStrings": [
573+
"version: \"?(?<currentValue>.*?)\"?\\n"
574+
],
575+
"depNameTemplate": "concourse/concourse",
576+
"datasourceTemplate": "github-releases",
577+
"extractVersionTemplate": "^v(?<version>.+?)$"
578+
},
568579
{
569580
"fileMatch": [
570581
"^tools/conftest/manifest.yaml$"

tools/concourse/Dockerfile.template

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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://github.com/concourse/concourse/releases/download/v${version}/fly-${version}-linux-amd64.tgz" \
11+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --no-same-owner
12+
13+
curl --silent --location "https://github.com/concourse/concourse/releases/download/v${version}/concourse-${version}-linux-amd64.tgz" \
14+
| tar --extract --gzip --directory="${prefix}${target}/bin/" --strip-components=2 --no-same-owner \
15+
concourse/bin/concourse
16+
17+
"${prefix}${target}/bin/concourse" completion --shell=bash >"${prefix}${target}/share/bash-completion/completions/concourse"
18+
"${prefix}${target}/bin/concourse" completion --shell=zsh >"${prefix}${target}/share/zsh/vendor-completions/_concourse"
19+
EOF

tools/concourse/manifest.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: concourse
2+
version: 6.7.9
3+
check: ${binary} --version
4+
tags:
5+
- type/cli
6+
- type/daemon
7+
- cicd
8+
homepage: https://github.com/concourse/concourse
9+
description: Container-based continuous thing-doer
10+
renovate:
11+
datasource: github-releases
12+
package: concourse/concourse
13+
extractVersion: ^v(?<version>.+?)$

0 commit comments

Comments
 (0)