2.0.0
2.0.0 - 2024-05-31
Full changeset and discussions: #41.
Development of this release was supported by the French Ministry for Foreign Affairs through its ministerial State Startups incubator under the aegis of the Ambassador for Digital Affairs.
Changed
- Breaking: Replace all playbooks with a single
deployplaybook; update your scripts by usingansible-playbook opentermsarchive.deployment.deployand use tags to refine execution - Breaking: Change the
federation-apideployment process to be a dependency of the source repository - Breaking: Require
engine>=2andfederation-api>=v2 - Breaking: Make
ota_source_repositoryvariable mandatory - Breaking: Define environment variables in a
.envfile instead of in inventory variables; moveota_engine_github_token,ota_engine_smtp_password,ota_engine_sendinblue_api_key, andota_federated_api_smtp_passwordto a.envfile placed next to the inventory file and rename them according to the new naming conventions inenginev2 andfederation-apiv2 - Breaking: Rename
ota_engine_declarations_branchtoota_source_repository_branch - Breaking: Rename
ota_engine_declarations_directorytoota_directory - Breaking: Extract the PM2 config file
pm2.config.cjs; provide this file next to the inventory file - Breaking: Remove the
ota_engine_restart_delayvariable; define this setting directly in thepm2.config.cjs - Breaking: Remove the
ota_engine_github_bot_private_keyvariable in favor of thegithub-bot-private-keyfile; define the GitHub SSH private key in thegithub-bot-private-key
Removed
- Breaking: Remove
ota_reverse_proxy_federated_api_pathconfig; define this path in yourconfig/production.jsonunder the key@opentermsarchive/federation-api: { basePath: "" } - Breaking: Remove
ota_reverse_proxy_engine_pathconfig; define this path in yourconfig/production.jsonunder the key@opentermsarchive/engine: { collection-api: { basePath: "" } } - Breaking: Remove obsolete
ota_engine_config_path,ota_federated_api_branch,ota_federated_api_directory, andota_federated_api_repoconfigs - Breaking: Remove obsolete
update-declarationstag