openflighthpc / concertim-ansible-playbook

Ansible playbook for building a Concertim appliance
Eclipse Public License 2.0
0 stars 0 forks source link

Changes to accompany updating Ruby to 3.3 #84

Closed benarmston closed 9 months ago

benarmston commented 9 months ago

See https://github.com/alces-flight/concertim-ct-visualisation-app/pull/150 for the PR that updates visualisation's ruby to 3.3.0.

For the production ansible build no changes were required. However I have pinned postgresql to version 16. For the development ansible build, Ruby 3.3 is installed via rbenv.

Running both the production and development ansible playbooks is unchanged.

timalces commented 9 months ago

I've tried a few times, but trying to rebuild dev1 errors for me I'm afraid, at the visualisation_app : Create credentials stage:

dev1: fatal: [localhost]: FAILED! => {"changed": true, "cmd": "docker compose run --rm visualisation /bin/bash -c 'set -e\nset -o pipefail\nEDITOR=cat ./bin/rails credentials:edit\ncp -a config/credentials.yml.enc /opt/concertim/etc/credentials.yml.enc\n./bin/rake encryption:generate --trace\nmv config/credentials.yml.enc /opt/concertim/etc/credentials.yml.enc\n'\n", "delta": "0:00:23.999219", "end": "2024-01-22 11:34:17.430307", "msg": "non-zero return code", "rc": 1, "start": "2024-01-22 11:33:53.431088", "stderr": " redis Pulling \n db Pulling \n 2f44b7a888fa Already exists \n 6d49150dabe2 Pulling fs layer.... [rest omitted for brevity]
benarmston commented 9 months ago

I've tried a few times, but trying to rebuild dev1 errors for me I'm afraid, at the visualisation_app : Create credentials stage:

Am I right in thinking you're running that with:

BUILD_ENV=prod ./scripts/rebuild-box.sh dev1
timalces commented 9 months ago

Am I right in thinking you're running that with:

BUILD_ENV=prod ./scripts/rebuild-box.sh dev1

That's right. With the commitish for visualiser set to chore/update-ruby

benarmston commented 9 months ago

The above commit should fix that issue @timalces .