Skip to content

Commit

Permalink
Update configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-bot authored Aug 28, 2023
1 parent 6180190 commit 4049d2c
Show file tree
Hide file tree
Showing 13 changed files with 120 additions and 182 deletions.
142 changes: 72 additions & 70 deletions composer.lock

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news
label: 'Helfi: News'
label_plural: 'Helfi: News'
description: ''
generate_aliases: null
read_only: true
generate_aliases: null
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_groups
label: 'Helfi: News groups'
label_plural: 'Helfi: News groups'
description: 'Retrieves news groups taxonomy terms from Helfi'
generate_aliases: null
read_only: true
generate_aliases: null
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_neighbourhoods
label: 'Helfi: News neighbourhoods'
label_plural: 'Helfi: News neighbourhoods'
description: 'Retrieves news neighbourhoods taxonomy terms from Helfi'
generate_aliases: null
read_only: true
generate_aliases: null
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ id: helfi_news_tags
label: 'Helfi: News tags'
label_plural: 'Helfi: News tags'
description: 'Retrieves news tags taxonomy terms from Helfi'
generate_aliases: null
read_only: true
generate_aliases: null
field_mapper_id: jsonpath
field_mapper_config:
field_mappings:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: c17a53b8-d254-48c2-beb8-f2bdcf1fd740
langcode: en
status: true
dependencies:
config:
- user.role.super_administrator
module:
- user
id: user_add_role_action.super_administrator
label: 'Add the Super administrator role to the selected user(s)'
type: user
plugin: user_add_role_action
configuration:
rid: super_administrator
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
uuid: 2db2fc94-a4a0-4320-83fb-a74f63170404
langcode: en
status: true
dependencies:
config:
- user.role.super_administrator
module:
- user
id: user_remove_role_action.super_administrator
label: 'Remove the Super administrator role from the selected user(s)'
type: user
plugin: user_remove_role_action
configuration:
rid: super_administrator
9 changes: 9 additions & 0 deletions conf/cmi/user.role.super_administrator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
uuid: 8e600f56-ec0e-428a-b77c-e9d0922dfa98
langcode: en
status: true
dependencies: { }
id: super_administrator
label: 'Super administrator'
weight: 7
is_admin: true
permissions: { }
2 changes: 1 addition & 1 deletion conf/cmi/views.view.tpr_unit_list.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ display:
batch: true
batch_size: 50
form_step: true
ajax_loader: false
buttons: false
action_title: Action
clear_on_exposed: true
Expand Down Expand Up @@ -107,7 +108,6 @@ display:
preconfiguration:
add_confirmation: false
label_override: 'Publish unit'
ajax_loader: false
id:
id: id
table: tpr_unit_field_data
Expand Down
9 changes: 5 additions & 4 deletions docker/openshift/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
ARG DRUPAL_DOCKER_TAG=8.1
ARG DRUPAL_DOCKER_TAG=8.2
FROM ghcr.io/city-of-helsinki/drupal-docker-base:${DRUPAL_DOCKER_TAG}

COPY / /var/www/html/
WORKDIR /var/www/html
RUN composer install --no-progress --profile --prefer-dist --no-interaction --no-dev --optimize-autoloader

# Copy deploy script
COPY docker/openshift/entrypoints/20-deploy.sh /entrypoints
RUN chmod +x /entrypoints/20-deploy.sh
# Copy ALL deploy scripts
COPY docker/openshift/entrypoints/ /entrypoints
RUN chmod +x /entrypoints/*


# Copy cron scripts
RUN mkdir /crons
Expand Down
5 changes: 0 additions & 5 deletions tools/make/include.mk
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ include $(DRUIDFI_TOOLS_MAKE_DIR)qa.mk

IS_DRUPAL ?= $(shell test -f $(WEBROOT)/sites/default/settings.php && echo yes || echo no)
IS_SYMFONY ?= $(shell test -f config/bundles.php && echo yes || echo no)
IS_WP ?= $(shell (test -f $(WEBROOT)/wp-settings.php || test -f conf/wp-config.php) && echo yes || echo no)

ifeq ($(IS_DRUPAL),yes)
include $(DRUIDFI_TOOLS_MAKE_DIR)drupal.mk
Expand All @@ -22,10 +21,6 @@ ifeq ($(IS_SYMFONY),yes)
include $(DRUIDFI_TOOLS_MAKE_DIR)symfony.mk
endif

ifeq ($(IS_WP),yes)
include $(DRUIDFI_TOOLS_MAKE_DIR)wordpress.mk
endif

#
# Hosting systems
#
Expand Down
1 change: 1 addition & 0 deletions tools/make/kubectl.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ KUBECTL_WORKDIR ?= /app

PHONY += kubectl-sync-db
kubectl-sync-db: ## Sync database from Kubernetes
$(call drush,sql-drop --quiet -y)
ifeq ($(DUMP_SQL_EXISTS),no)
$(eval POD := $(call kubectl_get_pod))
$(call step,Get database dump from $(POD)...\n)
Expand Down
98 changes: 0 additions & 98 deletions tools/make/wordpress.mk

This file was deleted.

0 comments on commit 4049d2c

Please sign in to comment.