This commit is contained in:
Dessalines 2024-07-31 15:35:43 -04:00
parent 3aa5f0d340
commit 661b969169

View file

@ -14,12 +14,11 @@ variables:
# - curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg # - curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc|gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
# - apt-get update # - apt-get update
# - apt-get install -y postgresql-client-16 # - apt-get install -y postgresql-client-16
- apt-get install curl ca-certificates - apt-get update && apt-get install curl ca-certificates
- install -d /usr/share/postgresql-common/pgdg - install -d /usr/share/postgresql-common/pgdg
- curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc - curl -o /usr/share/postgresql-common/pgdg/apt.postgresql.org.asc --fail https://www.postgresql.org/media/keys/ACCC4CF8.asc
- sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' - sh -c 'echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- apt-get update - apt-get update && apt-get -y install postgresql-client-16
- apt-get -y install postgresql-client-16
- cargo install diesel_cli --no-default-features --features postgres - cargo install diesel_cli --no-default-features --features postgres
- export PATH="$CARGO_HOME/bin:$PATH" - export PATH="$CARGO_HOME/bin:$PATH"
- &slow_check_paths - &slow_check_paths