Updated and enabled cache server for new setup
This commit is contained in:
@@ -7,7 +7,7 @@ source:
|
|||||||
same_as: 3.12
|
same_as: 3.12
|
||||||
keyserver: keys.openpgp.org
|
keyserver: keys.openpgp.org
|
||||||
#InitDownloadREPO
|
#InitDownloadREPO
|
||||||
url: http://dl-4.alpinelinux.org/alpine/
|
url: http://192.168.200.20/alpine/
|
||||||
keys:
|
keys:
|
||||||
# 0482D84022F52DF1C4E7CD43293ACD0907D9495A
|
# 0482D84022F52DF1C4E7CD43293ACD0907D9495A
|
||||||
- |-
|
- |-
|
||||||
@@ -550,8 +550,8 @@ packages:
|
|||||||
- name: /etc/apk/repositories
|
- name: /etc/apk/repositories
|
||||||
url: |-
|
url: |-
|
||||||
#StartREPOS
|
#StartREPOS
|
||||||
http://dl-4.alpinelinux.org/alpine//latest-stable/main
|
http://192.168.200.20/alpine//latest-stable/main
|
||||||
http://dl-4.alpinelinux.org/alpine/latest-stable/community
|
http://192.168.200.20/alpine/latest-stable/community
|
||||||
#EndREPOS
|
#EndREPOS
|
||||||
{% if image.variant == "ddns" %}@TestingEdge http://dl-4.alpinelinux.org/alpine/edge/testing{% endif %}
|
{% if image.variant == "ddns" %}@TestingEdge http://dl-4.alpinelinux.org/alpine/edge/testing{% endif %}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ image:
|
|||||||
source:
|
source:
|
||||||
downloader: debootstrap
|
downloader: debootstrap
|
||||||
#InitDownloadREPO
|
#InitDownloadREPO
|
||||||
url: http://deb.debian.org/debian
|
url: http://192.168.200.20/deb.debian.org/debian
|
||||||
keyserver: keys.openpgp.org
|
keyserver: keys.openpgp.org
|
||||||
keys:
|
keys:
|
||||||
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
|
# 0x126C0D24BD8A2942CC7DF8AC7638D0442B90D010
|
||||||
@@ -1349,7 +1349,7 @@ actions:
|
|||||||
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
|
echo 'APT::Install-Recommends "false";' > /etc/apt/apt.conf.d/01Recommends
|
||||||
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
|
echo 'APT::Install-Suggests "false";' > /etc/apt/apt.conf.d/01Suggests
|
||||||
#ProxyCacheSetting
|
#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
|
- trigger: post-packages
|
||||||
action: |-
|
action: |-
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ pipeline {
|
|||||||
#Customization for BrampCustom version
|
#Customization for BrampCustom version
|
||||||
if [ "${Variant}" = "BrampCustom" ]
|
if [ "${Variant}" = "BrampCustom" ]
|
||||||
then
|
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
|
fi
|
||||||
gofmt -s -w .
|
gofmt -s -w .
|
||||||
go build -o build -v ./...
|
go build -o build -v ./...
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ ThisScriptConfigured=no
|
|||||||
UseCache=no
|
UseCache=no
|
||||||
|
|
||||||
#Cache enable (using apt-cacher-NG)
|
#Cache enable (using apt-cacher-NG)
|
||||||
CacheAlpineRepo="http://192.168.2.83/alpine/"
|
CacheAlpineRepo="http://192.168.200.20/alpine/"
|
||||||
CacheDebianCache="http://192.168.2.83:80"
|
CacheDebianCache="http://192.168.200.20:80"
|
||||||
CacheDebianCore="http://192.168.2.83/deb.debian.org/debian"
|
CacheDebianCore="http://192.168.200.20/deb.debian.org/debian"
|
||||||
|
|
||||||
#Cache enable (using Official MirrorServers)
|
#Cache enable (using Official MirrorServers)
|
||||||
DefaultAlpineRepo="http://dl-4.alpinelinux.org/alpine/"
|
DefaultAlpineRepo="http://dl-4.alpinelinux.org/alpine/"
|
||||||
|
|||||||
Reference in New Issue
Block a user