From 055de153b15783b74321bc3f1c4d60f5bcbf6049 Mon Sep 17 00:00:00 2001 From: Konstantin Demin Date: Sun, 28 Jul 2024 19:43:09 +0300 Subject: [PATCH] ci: update --- .config/dotfiles/debian.sources | 11 +++++++++++ .config/dotfiles/woodpecker.yml | 14 ++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .config/dotfiles/debian.sources diff --git a/.config/dotfiles/debian.sources b/.config/dotfiles/debian.sources new file mode 100644 index 0000000..f562c9f --- /dev/null +++ b/.config/dotfiles/debian.sources @@ -0,0 +1,11 @@ +Types: deb +URIs: http://nexus.krd.sh/repository/proxy_apt_debian +Suites: bookworm bookworm-updates bookworm-proposed-updates bookworm-backports +Components: main +Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg + +Types: deb +URIs: http://nexus.krd.sh/repository/proxy_apt_debian-security +Suites: bookworm-security +Components: main +Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg diff --git a/.config/dotfiles/woodpecker.yml b/.config/dotfiles/woodpecker.yml index 5cd6a31..692b509 100644 --- a/.config/dotfiles/woodpecker.yml +++ b/.config/dotfiles/woodpecker.yml @@ -1,6 +1,12 @@ +## kind of fixup (remove in near future) +## ref: https://github.com/woodpecker-ci/plugin-git/releases +clone: + git: + image: quay.krd.sh/docker_io/woodpeckerci/plugin-git:2.5.2 + steps: - name: check - image: debian:bookworm-slim + image: quay.krd.sh/debian:bookworm-slim environment: DEBCONF_NONINTERACTIVE_SEEN: "true" DEBIAN_FRONTEND: noninteractive @@ -9,6 +15,10 @@ steps: MALLOC_ARENA_MAX: "4" commands: - | + : # configure apt + find /etc/apt/sources.list.d/ -mindepth 1 -delete + : > /etc/apt/sources.list + cp .config/dotfiles/debian.sources /etc/apt/sources.list.d/ : # install required packages apt-get -y update apt-get -y install file findutils git shellcheck zsh @@ -35,4 +45,4 @@ steps: ## personal tweaks :) labels: - network: dmz + network: airgap