Skip to content

Commit

Permalink
Merge pull request #458 from OpenConext/feature/eb_to_docker
Browse files Browse the repository at this point in the history
Feature/eb to docker
  • Loading branch information
quartje authored Nov 27, 2024
2 parents 18a32b9 + 10354e7 commit a2f05f3
Show file tree
Hide file tree
Showing 15 changed files with 199 additions and 830 deletions.
15 changes: 10 additions & 5 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,6 @@
tags: ['app_php', 'static']
- role: openconext-common
tags: ['core', 'app_php', 'eb', 'profile']
- role: engineblock
when:
- inventory_hostname not in groups['lifecycle']
tags: ['core', 'app_php', 'eb']
- role: lifecycle
when:
- inventory_hostname in groups['lifecycle']
Expand Down Expand Up @@ -168,10 +164,14 @@
- { role: stepupra , tags: ['stepupra' , 'stepup'] }
- { role: stepupgateway , tags: ['stepupgateway' , 'stepup'] }

- hosts: docker
- hosts: docker_apps1,docker_apps2
become: true
roles:
- { role: docker, tags: ['docker' ] }

- hosts: docker_apps1
become: true
roles:
- { role: invite, tags: ['invite' ] }
- { role: dashboard, tags: ["dashboard"] }
- { role: teams, tags: ["teams"] }
Expand All @@ -189,5 +189,10 @@
- { role: lifecycle, tags: ["lifecycle"] }
- { role: stepuptiqr, tags: ['stepuptiqr' , 'stepup'] }

- hosts: docker_apps2
become: true
roles:
- { role: engineblock, tags: ["eb"] }

- import_playbook: "{{ environment_dir }}/playbook.yml"

29 changes: 4 additions & 25 deletions roles/engineblock/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#---
## Version of EngineBlock that is installable by this role
engine_version: ''
engine_version: ""
# Be aware that if you enable this option that NPM, Node.js and Composer are installed
#engine_branch: "develop"
# Feature toggles
engine_feature_encrypted_assertions: 1
engine_feature_encrypted_assertions_require_outer_signature: 1
Expand All @@ -13,7 +11,6 @@ engine_feature_enable_sso_session_cookie: 0
engine_feature_enable_consent: 1
engine_feature_stepup_override_entityid: 0
engine_feature_idp_initiated_flow: 1

engine_api_feature_metadata_push: 1
engine_api_feature_consent_listing: 1
engine_api_feature_consent_remove: 0
Expand Down Expand Up @@ -44,7 +41,7 @@ engine_domain: engine.{{ base_domain }}
engine_debug: false

engine_theme: "skeune"
#engine_theme: openconext
# engine_theme: openconext

engine_profile_baseurl: "https://profile.{{ base_domain }}"

Expand Down Expand Up @@ -92,17 +89,6 @@ engine_stepup_gateway_sfo_public_key_file: "{{ engine_keys.default.publicFile }}
## The minimum priority of messages that will be logged
engine_logging_passthru_level: NOTICE

#engine_initial_sql: ''

engineblock_symfony_cache_path: "/tmp/engineblock/cache"
engineblock_symfony_log_path: "{{ engine_current_release_symlink }}/var/logs"

engine_fpm_user: engine
engine_fpm_port: 801
engine_fpm_memory: 128M
# When using vagrant for provisioning, it's not possible to put something in the inventory dir
engine_crt_not_in_inventory: false

# The memory limit used for the metadata push
engine_metadata_push_memory_limit: 256M

Expand All @@ -118,13 +104,6 @@ eb_tos_url: "https://example.org"

engine_site_notice_show: false

# Backwards compatibility with older secrets files
engineblock_private_keys:
default: "{{ engineblock_private_key }}"

# Webdriver test settings
engineblock_selenium_version: 2.53.1
engineblock_selenium_install_dir: /opt
engineblock_log_attributes: []

# Composer
composer_path: /usr/local/bin/composer
engine_php_memory: 256M
9 changes: 5 additions & 4 deletions roles/engineblock/handlers/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- name: restart php72-fpm
service:
name: php72-php-fpm
state: restarted
- name: restart engine
community.docker.docker_container:
name: engine
state: started
restart: true
43 changes: 0 additions & 43 deletions roles/engineblock/tasks/build.yml

This file was deleted.

46 changes: 0 additions & 46 deletions roles/engineblock/tasks/develop.yml

This file was deleted.

45 changes: 0 additions & 45 deletions roles/engineblock/tasks/install-branch.yml

This file was deleted.

31 changes: 0 additions & 31 deletions roles/engineblock/tasks/install-release.yml

This file was deleted.

Loading

0 comments on commit a2f05f3

Please sign in to comment.