diff --git a/.concourse/pipeline.yml b/.concourse/pipeline.yml deleted file mode 100644 index 830bff3..0000000 --- a/.concourse/pipeline.yml +++ /dev/null @@ -1,64 +0,0 @@ ---- -resources: -- name: ci-images.git - type: git - icon: github - source: - uri: https://code.icb4dc0.de/prskr/ci-images.git - -- name: caddy-release - type: github-release - icon: github - source: - owner: caddyserver - repository: caddy - access_token: ((github-credentials.token)) - -- name: ko-release - type: github-release - icon: github - source: - owner: ko-build - repository: ko - access_token: ((github-credentials.token)) - -jobs: - - name: caddy - plan: - - get: ci-images.git - trigger: true - - get: caddy-release - trigger: true - - task: caddy - file: ci-images.git/.concourse/tasks/image-build.yml - input_mapping: - repo: ci-images.git - vars: - build_context: caddy/ - image_repo: code.icb4dc0.de/prskr/ci-images/caddy - - - name: ko - plan: - - get: ci-images.git - trigger: true - - get: ko-release - trigger: true - - task: ko - file: ci-images.git/.concourse/tasks/image-build.yml - input_mapping: - repo: ci-images.git - vars: - build_context: ko/ - image_repo: code.icb4dc0.de/prskr/ci-images/ko - - - name: dind-go - plan: - - get: ci-images.git - trigger: true - - task: dind-go - file: ci-images.git/.concourse/tasks/image-build.yml - input_mapping: - repo: ci-images.git - vars: - build_context: dind-go/ - image_repo: code.icb4dc0.de/prskr/ci-images/dind-go diff --git a/.concourse/tasks/image-build.yml b/.concourse/tasks/image-build.yml deleted file mode 100644 index 019263d..0000000 --- a/.concourse/tasks/image-build.yml +++ /dev/null @@ -1,28 +0,0 @@ ---- -platform: linux - -image_resource: - type: registry-image - source: - repository: gcr.io/kaniko-project/executor - tag: debug - -inputs: - - name: repo - path: . - -params: - GITEA_USER: ((gitea-credentials.user)) - GITEA_TOKEN: ((gitea-credentials.token)) - BUILD_CONTEXT: ((build_context)) - IMAGE_REPO: ((image_repo)) - IMAGE_TAG: latest - -run: - path: sh - args: - - -cex - - | - echo "{\"auths\": {\"https://code.icb4dc0.de\": {\"auth\" : \"$(printf '%s:%s' $GITEA_USER $GITEA_TOKEN | base64)\" }}}" > /kaniko/.docker/config.json - - /kaniko/executor --destination "${IMAGE_REPO}:${IMAGE_TAG}" --context "${BUILD_CONTEXT}" diff --git a/common/hetzner-bullseye-sources.list b/common/hetzner-bullseye-sources.list deleted file mode 100644 index c47bafa..0000000 --- a/common/hetzner-bullseye-sources.list +++ /dev/null @@ -1,4 +0,0 @@ -deb https://mirror.hetzner.com/debian/packages bullseye main contrib non-free -deb https://mirror.hetzner.com/debian/packages bullseye-updates main contrib non-free -deb https://mirror.hetzner.com/debian/security bullseye-security main contrib non-free -deb https://mirror.hetzner.com/debian/packages bullseye-backports main contrib non-free \ No newline at end of file diff --git a/renovate/Dockerfile b/renovate/Dockerfile index 4388a7f..c8438fa 100644 --- a/renovate/Dockerfile +++ b/renovate/Dockerfile @@ -1,5 +1,11 @@ +FROM docker.io/golang:1-alpine AS go-tools-builder + +RUN go install github.com/marwan-at-work/mod/cmd/mod@latest + FROM docker.io/node:lts-alpine +COPY --from=go-tools-builder /go/bin/ /usr/local/bin/ + RUN npm install -g renovate && \ echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ apk add -U --no-cache git go \ No newline at end of file