Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic update #204

Merged
merged 1 commit into from
Aug 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
268 changes: 135 additions & 133 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: 86c74881-3e92-42d6-936e-55a9b7d46da0
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: eeeb2912-c052-4f3e-9c15-1d1e39a577ab
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: 85addccd-f904-476a-8c93-238d6f97d16a
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.