Updated and enabled cache server for new setup

This commit is contained in:
2021-11-19 18:55:40 +01:00
parent 986a52e672
commit 4f2efc63b1
4 changed files with 9 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ source:
same_as: 3.12
keyserver: keys.openpgp.org
#InitDownloadREPO
url: http://dl-4.alpinelinux.org/alpine/
url: http://192.168.200.20/alpine/
keys:
# 0482D84022F52DF1C4E7CD43293ACD0907D9495A
- |-
@@ -550,8 +550,8 @@ packages:
- name: /etc/apk/repositories
url: |-
#StartREPOS
http://dl-4.alpinelinux.org/alpine//latest-stable/main
http://dl-4.alpinelinux.org/alpine/latest-stable/community
http://192.168.200.20/alpine//latest-stable/main
http://192.168.200.20/alpine/latest-stable/community
#EndREPOS
{% if image.variant == "ddns" %}@TestingEdge http://dl-4.alpinelinux.org/alpine/edge/testing{% endif %}

View File

@@ -5,7 +5,7 @@ image:
source:
downloader: debootstrap
#InitDownloadREPO
url: http://deb.debian.org/debian
url: http://192.168.200.20/deb.debian.org/debian
keyserver: keys.openpgp.org
keys:
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
@@ -1349,7 +1349,7 @@ actions:
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
#ProxyCacheSetting
echo '#CacheServer not set' > /etc/apt/apt.conf.d/01prox
echo 'Acquire::http::Proxy "http://192.168.200.20:80";' > /etc/apt/apt.conf.d/01prox
- trigger: post-packages
action: |-
#!/bin/sh

View File

@@ -35,7 +35,7 @@ pipeline {
#Customization for BrampCustom version
if [ "${Variant}" = "BrampCustom" ]
then
sed -i '/mirrorlist=/c\baseurl=http://192.168.2.83/centos/\$releasever/BaseOS/x86_64/os/' $WORKSPACE/sources/centos-http.go
sed -i '/mirrorlist=/c\baseurl=http://192.168.200.20/centos/\$releasever/BaseOS/x86_64/os/' $WORKSPACE/sources/centos-http.go
fi
gofmt -s -w .
go build -o build -v ./...

View File

@@ -6,9 +6,9 @@ ThisScriptConfigured=no
UseCache=no
#Cache enable (using apt-cacher-NG)
CacheAlpineRepo="http://192.168.2.83/alpine/"
CacheDebianCache="http://192.168.2.83:80"
CacheDebianCore="http://192.168.2.83/deb.debian.org/debian"
CacheAlpineRepo="http://192.168.200.20/alpine/"
CacheDebianCache="http://192.168.200.20:80"
CacheDebianCore="http://192.168.200.20/deb.debian.org/debian"
#Cache enable (using Official MirrorServers)
DefaultAlpineRepo="http://dl-4.alpinelinux.org/alpine/"