From 1308cdb12b19fb18b754cdd707e2b3d95ba463d4 Mon Sep 17 00:00:00 2001 From: Philipp Dieter Date: Fri, 25 Jul 2025 12:21:06 +0200 Subject: [PATCH] [TASK] Change to own build image, change resource url --- Makefile | 3 +++ pipeline.yml | 10 ++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d25204e..8c7f824 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,5 @@ set_pipeline: fly -t datentonne sp -p gitea -c pipeline.yml + +trigger_job: + fly -t datentonne tj -j gitea/build -w diff --git a/pipeline.yml b/pipeline.yml index 8b059dc..7505205 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -3,7 +3,7 @@ resource_types: - name: aptly-resource type: docker-image source: - repository: docker.datentonne.net/concourse/aptly-resource + repository: git.datentonne.net/docker-public/aptly-resource tag: latest resources: - name: go-gitea @@ -25,6 +25,7 @@ resources: username: ((aptly.username)) password: ((aptly.password)) timeout: 1801 + keep_versions: 5 jobs: - name: build plan: @@ -32,13 +33,15 @@ jobs: trigger: true params: globs: - - gitea-*-linux-amd64 + - gitea-1*-linux-amd64 - task: build config: platform: linux image_resource: type: registry-image - source: { repository: ruby } + source: + repository: git.datentonne.net/docker-public/fpm-docker + tag: latest inputs: - name: go-gitea outputs: @@ -50,7 +53,6 @@ jobs: - | export VERSION="$(cat go-gitea/version)" export VERSION_OUT="$(cat go-gitea/version)-$(date +%s)" - gem install fpm chmod +x go-gitea/gitea-${VERSION}-linux-amd64 fpm --verbose -f -n gitea -s dir -t deb -v $VERSION_OUT go-gitea/gitea-${VERSION}-linux-amd64=/usr/bin/gitea mv -v gitea_${VERSION_OUT}_amd64.deb deb/