Skip to content

Commit

Permalink
fix: clickhouse deps needs git on path to install and/or build (#1300)
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Rose <[email protected]>
  • Loading branch information
samrose and Sam Rose authored Oct 28, 2024
1 parent 7db7e1a commit e109fc6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions ansible/tasks/stage2-setup-postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@
# shell: |
# sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install nixpkgs#openjdk11"
# It was decided to leave pljava disabled at https://github.com/supabase/postgres/pull/690 therefore removing this task

- name: Install Git for Nix package management
become: yes
apt:
name: git
state: present
update_cache: yes
when: stage2_nix

- name: Install Postgres from nix binary cache
become: yes
shell: |
Expand Down Expand Up @@ -34,6 +43,14 @@
sudo -u postgres bash -c ". /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh && nix profile install github:supabase/postgres/{{ git_commit_sha }}#{{postgresql_version}}_src"
when: stage2_nix

- name: Install Git for Nix package management
become: yes
apt:
name: git
state: present
update_cache: yes
when: stage2_nix

- name: Set ownership and permissions for /etc/ssl/private
become: yes
file:
Expand Down

0 comments on commit e109fc6

Please sign in to comment.