From be1b1bc4b142c94645dc25d19a0edf552a8910a1 Mon Sep 17 00:00:00 2001 From: Caitlin Date: Tue, 19 Sep 2023 15:43:22 -0400 Subject: [PATCH 1/2] remove unused heroku scripts and remove heroku button from readme --- README.md | 1 - app.json | 28 ---------------------------- bin/heroku | 24 ------------------------ 3 files changed, 53 deletions(-) delete mode 100644 app.json delete mode 100755 bin/heroku diff --git a/README.md b/README.md index 8396613a0..03a914f25 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ Dradis is an open-source collaboration framework, tailored to InfoSec teams. - To try Dradis Community, you can deploy your own instance (you will need accounts in the cloud providers to get started). diff --git a/app.json b/app.json deleted file mode 100644 index ed08ea592..000000000 --- a/app.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "buildpacks": [ - { - "url": "heroku-community/apt" - }, - { - "url": "heroku/nodejs" - }, - { - "url": "heroku/ruby" - } - ], - "description": "The original open-source reporting and collaboration tool trusted by InfoSec professionals around the world.", - "env": { - "RAILS_SERVE_STATIC_FILES": { - "description": "Ask Rails to serve static assets", - "value": "1" - } - }, - "keywords": ["infosec", "pentest", "osint"], - "logo": "https://github.com/dradis/dradis-ce/raw/deploy-to-heroku/app/assets/images/logo_small.png", - "name": "Dradis Framework - Community Edition", - "repository": "https://github.com/dradis/dradis-ce/tree/deploy-to-heroku", - "scripts": { - "postdeploy": "bin/heroku" - }, - "website": "http://drad.is" -} diff --git a/bin/heroku b/bin/heroku deleted file mode 100755 index 3fd15d928..000000000 --- a/bin/heroku +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env ruby -require 'fileutils' - -# path to your application root. -APP_ROOT = File.expand_path('..', __dir__) - -def system!(*args) - system(*args) || abort("\n== Command #{args} failed ==") -end - -FileUtils.chdir APP_ROOT do - puts "\n== Copying sample files ==" - FileUtils.cp 'config/secrets.yml.template', 'config/secrets.yml' - FileUtils.cp 'config/smtp.yml.template', 'config/smtp.yml' - - puts "\n== Preparing templates folder ==" - FileUtils.mkdir 'templates' - - puts "\n== Preparing database ==" - system! 'bin/rails db:prepare' - - puts "\n== Loading some sample content ==" - system! 'bundle exec thor dradis:setup:welcome' -end From 8d8d06bd55bae1821fc282f7eda0e28b30b218ae Mon Sep 17 00:00:00 2001 From: Caitlin Date: Tue, 19 Sep 2023 15:53:32 -0400 Subject: [PATCH 2/2] add changelog entry --- CHANGELOG | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 6ec416a1d..e14dffcf1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,5 @@ [v#.#.#] ([month] [YYYY]) - - [entity]: - - [future tense verb] [feature] + - Heroku: Remove one click deploy button - Upgraded gems: - [gem] - Bugs fixes: