mirror of
https://github.com/LemmyNet/lemmy.git
synced 2025-02-10 11:04:49 +00:00
Try 8
This commit is contained in:
parent
44574a51fe
commit
c48e7d469a
1 changed files with 6 additions and 9 deletions
|
@ -7,15 +7,12 @@ variables:
|
|||
- &install_pnpm "corepack enable pnpm"
|
||||
- &install_binstall "wget -O- https://github.com/cargo-bins/cargo-binstall/releases/latest/download/cargo-binstall-x86_64-unknown-linux-musl.tgz | tar -xvz -C /usr/local/cargo/bin"
|
||||
- install_diesel_cli: &install_diesel_cli
|
||||
# - apt-get update && apt-get install -y postgresql-common
|
||||
# - apt-get update && apt-get install -y lsb-release build-essential ca-certificates
|
||||
# - /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh
|
||||
# - sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
|
||||
# - 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 install lsb-release
|
||||
- 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
|
||||
- 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 install lsb-release
|
||||
# Instructions taken from here: https://www.postgresql.org/download/linux/ubuntu/
|
||||
# - 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
|
||||
# - 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 -y install postgresql-client
|
||||
- apt-get update && apt-get -y install postgresql-client
|
||||
- cargo install diesel_cli --no-default-features --features postgres
|
||||
- export PATH="$CARGO_HOME/bin:$PATH"
|
||||
|
|
Loading…
Reference in a new issue