diff --git a/.circleci/ansible/deploy.yaml b/.circleci/ansible/deploy.yaml index 2dd109f99a..2379ef8510 100644 --- a/.circleci/ansible/deploy.yaml +++ b/.circleci/ansible/deploy.yaml @@ -91,6 +91,20 @@ tags: - pageserver + - name: update config + when: current_version > remote_version or force_deploy + lineinfile: + path: /storage/pageserver/data/pageserver.toml + line: "{{ item }}" + loop: + - "[remote_storage]" + - "bucket_name = '{{ bucket_name }}'" + - "bucket_region = '{{ bucket_region }}'" + - "prefix_in_bucket = '{{ inventory_hostname }}'" + become: true + tags: + - pageserver + - name: upload systemd service definition when: current_version > remote_version or force_deploy ansible.builtin.template: diff --git a/.circleci/ansible/production.hosts b/.circleci/ansible/production.hosts index c5b4f664a6..3a0543f39a 100644 --- a/.circleci/ansible/production.hosts +++ b/.circleci/ansible/production.hosts @@ -1,5 +1,5 @@ [pageservers] -zenith-1-ps-1 +zenith-1-ps-1 bucket_name=zenith-storage-oregon bucket_region=us-west-2 [safekeepers] zenith-1-sk-1 diff --git a/.circleci/ansible/staging.hosts b/.circleci/ansible/staging.hosts index e625120bf3..2987e2c6fa 100644 --- a/.circleci/ansible/staging.hosts +++ b/.circleci/ansible/staging.hosts @@ -1,5 +1,5 @@ [pageservers] -zenith-us-stage-ps-1 +zenith-us-stage-ps-1 bucket_name=zenith-staging-storage-us-east-1 bucket_region=us-east-1 [safekeepers] zenith-us-stage-sk-1