From ea3638984ac210767d4455d2ce5704c35c45f724 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 22 Jun 2022 12:01:03 +1000 Subject: [PATCH 1/5] securitykit version 1.0 --- drupal-org.make | 1 + 1 file changed, 1 insertion(+) diff --git a/drupal-org.make b/drupal-org.make index df6b23e92..10c4e517e 100644 --- a/drupal-org.make +++ b/drupal-org.make @@ -134,6 +134,7 @@ projects[search_api_db][version] = "1.7" projects[search_api_page][version] = "1.6" projects[search_api_solr][version] = "1.15" projects[seckit][version] = "1.11" +projects[securitytxt][version] = "1.0" projects[service_links][version] = "2.4" projects[service_links][patch][] = "https://www.drupal.org/files/issues/2019-09-27/service_links--3084372-2.patch" projects[services_views][version] = "1.4" From fdff8d6f54be414dd057974a01a27edb84512f68 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 22 Jun 2022 13:17:55 +1000 Subject: [PATCH 2/5] add securitytxt as dependency --- govcms.info | 1 + 1 file changed, 1 insertion(+) diff --git a/govcms.info b/govcms.info index 74c2bf89d..54f3dfe5e 100644 --- a/govcms.info +++ b/govcms.info @@ -105,6 +105,7 @@ dependencies[] = scheduler_workbench dependencies[] = shield dependencies[] = r4032login dependencies[] = seckit +dependencies[] = securitytxt dependencies[] = simple_aggregation dependencies[] = site_map dependencies[] = superfish From a24d1ac8bdeff88822f0627a14d20c7b62ae0293 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 22 Jun 2022 13:54:33 +1000 Subject: [PATCH 3/5] added anon permission to view security txt file --- govcms.install | 1 + 1 file changed, 1 insertion(+) diff --git a/govcms.install b/govcms.install index b991528e5..6abf64964 100644 --- a/govcms.install +++ b/govcms.install @@ -567,6 +567,7 @@ abbr[title]', DRUPAL_ANONYMOUS_RID, array( 'access content', + 'view securitytxt' ) ); user_role_grant_permissions( From ba7df1623078e7fbd1bbc2debb528518b84ce261 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 22 Jun 2022 14:13:25 +1000 Subject: [PATCH 4/5] circle ci --- .circleci/config.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 8b0e93990..75b18e4d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -26,10 +26,9 @@ jobs: name: Start amazeeio-network command: docker network prune -f && docker network inspect amazeeio-network >/dev/null || docker network create amazeeio-network - run: - name: Build project - command: | - ahoy -v build - docker-compose exec test dockerize -wait tcp://mariadb:3306 -timeout 1m + name: Install local dependencies. + command: docker-compose exec test drush make --no-core --contrib-destination=profiles/govcms profiles/govcms/drupal-org.make -y + - run: name: Install site command: ahoy -v install -- install_configure_form.update_status_module='array(FALSE,FALSE)' From 40ccb0778388ac9c5411ac57e9d85902e8ad1798 Mon Sep 17 00:00:00 2001 From: Raminder Singh Date: Wed, 22 Jun 2022 14:46:15 +1000 Subject: [PATCH 5/5] circle ci build --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 75b18e4d5..be39726bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -25,10 +25,12 @@ jobs: - run: name: Start amazeeio-network command: docker network prune -f && docker network inspect amazeeio-network >/dev/null || docker network create amazeeio-network + - run: + name: Build project + command: docker-compose up -d "$@" - run: name: Install local dependencies. command: docker-compose exec test drush make --no-core --contrib-destination=profiles/govcms profiles/govcms/drupal-org.make -y - - run: name: Install site command: ahoy -v install -- install_configure_form.update_status_module='array(FALSE,FALSE)'