From fb14743fe0a11c5be960e7cbd51c5413d4be4494 Mon Sep 17 00:00:00 2001 From: Wedge Date: Mon, 1 Mar 2021 18:38:58 +0300 Subject: [PATCH] disignore application.yml --- .gitignore | 1 - config/application.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 config/application.yml diff --git a/.gitignore b/.gitignore index ed62e9001..36b72a7ff 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,6 @@ log/*.log tmp/ config/database.yml .idea -config/application.yml public/assets/* config/initializers/local.rb public/system/* diff --git a/config/application.yml b/config/application.yml new file mode 100644 index 000000000..7dca08d4f --- /dev/null +++ b/config/application.yml @@ -0,0 +1,37 @@ +common: &common + project_name: Openmandriva ABF + repo_project_name: Openmandriva ABF + anonymous_access: true + preregistration: false + file_store_url: 'http://file-store.openmandriva.org' + distr_types: ['mdv'] + github_organization: 'OpenMandrivaAssociation' + allowed_addresses: + - 127.0.0.1 + abf_worker: + publish_workers_count: 1 + downloads_url: 'http://abf-downloads.openmandriva.org/' + +development: + <<: *common + root_path: /share + git_path: /share + tmpfs_path: /dev/shm + do-not-reply-email: do-not-reply@localhost + github_services: + ip: 127.0.0.1 + port: 1234 + +production: + <<: *common + root_path: <%= ENV["ROOT_PATH"] %> + tmpfs_path: <%= ENV["TMPFS_PATH"] %> + do-not-reply-email: <%= ENV["DO_NOT_REPLY_EMAIL"] %> + mailer_https_url: <%= ENV["MAILER_HTTPS_URL"] %> + +test: + <<: *common + tmpfs_path: "use Rails.root/tmp/test_root in spec" + root_path: "use Rails.root/tmp/test_root in spec" + git_path: "use Rails.root/tmp/test_root in spec" + do-not-reply-email: do-not-reply@localhost