supabase-postgres.git / summary / log / commit / refs

commit    e109fc6561dea9041778c367f7766533a610f529
Author:   samrose <samuel.rose@gmail.com>
Commit:   GitHub <noreply@github.com>
Date:     Mon Oct 28 19:22:39 2024 +0000

    fix: clickhouse deps needs git on path to install and/or build (#1300)
    
    Co-authored-by: Sam Rose <samuel@supabase.io>


ansible/tasks/stage2-setup-postgres.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/ansible/tasks/stage2-setup-postgres.yml b/ansible/tasks/stage2-setup-postgres.yml index e22cbe67..3b8d9ad0 100644 --- a/ansible/tasks/stage2-setup-postgres.yml +++ b/ansible/tasks/stage2-setup-postgres.yml @@ -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: | @@ -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: [parent: 7db7e1a9e34b]