add APT cache server configuration to CI/CD workflows
This commit is contained in:
parent
3a7073c0ab
commit
d1b8fe9425
1 changed files with 14 additions and 10 deletions
|
|
@ -18,16 +18,20 @@ jobs:
|
||||||
cp -r /tmp/deb-mock/* .
|
cp -r /tmp/deb-mock/* .
|
||||||
cp -r /tmp/deb-mock/.* . 2>/dev/null || true
|
cp -r /tmp/deb-mock/.* . 2>/dev/null || true
|
||||||
|
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y python3.12 python3.12-venv python3-pip
|
sudo apt install -y python3.12 python3.12-venv python3-pip
|
||||||
|
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
# Configure APT to use your cache server
|
||||||
sudo apt install -y build-essential devscripts debhelper dh-python python3-all python3-setuptools
|
echo 'Acquire::http::Proxy "http://192.168.1.79:3142";' | sudo tee /etc/apt/apt.conf.d/99proxy
|
||||||
sudo apt install -y sbuild schroot debootstrap
|
echo 'Acquire::https::Proxy "http://192.168.1.79:3142";' | sudo tee -a /etc/apt/apt.conf.d/99proxy
|
||||||
|
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y build-essential devscripts debhelper dh-python python3-all python3-setuptools
|
||||||
|
sudo apt install -y sbuild schroot debootstrap
|
||||||
|
|
||||||
- name: Create deb-mock directories
|
- name: Create deb-mock directories
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue