Skip to content

Commit 9d6cef6

Browse files
committed
Configura apt/dpkg para minimizar tiempos de instalación
Esto se logra deshabilitando algunos triggers (nostros nos encargamos de postgresql-common) y corriendo con ciertas opciones, como deshabilitando fsyncs
1 parent abc35e3 commit 9d6cef6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
with:
2020
python-version: "3.11"
2121
cache: "pip"
22+
- name: Configura dpkg/apt para correr de manera eficiente
23+
uses: abbbi/github-actions-tune@v1
24+
- name: Deshabilita triggers de postgresql-common
25+
run: sudo sed -i '/postgresql-common/d' /var/lib/dpkg/triggers/File
2226
- name: Instalar dependencias de sistema
2327
run: |
2428
sudo apt-get update

0 commit comments

Comments
 (0)