Skip to content

Commit

Permalink
2.x: Another bunch of changes before the first push to the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
DionisioFG committed Mar 7, 2024
1 parent 1ababfa commit fa05b56
Show file tree
Hide file tree
Showing 29 changed files with 39 additions and 575 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: '2.x: Build the devel ce-dev base and controller images'
name: '2.x-devel: Build the devel ce-dev base and controller images'

# Run this workflow only on a push/merged PR to branch devel
on:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,22 @@ Local Stack wrapper tool
[![Bugs](https://sonarcloud.io/api/project_badges/measure?project=codeenigma_ce-dev&metric=bugs)](https://sonarcloud.io/dashboard?id=codeenigma_ce-dev)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=codeenigma_ce-dev&metric=alert_status)](https://sonarcloud.io/dashboard?id=codeenigma_ce-dev)

## Changes since 1.24

* Use of latest Typescript version (5.3.x)
* Binaries built with Emacs instead of Commonjs: Emacs can consume Commonjs modules,
but Commonjs can't consume Emacs modules. It means we can use more contrib modules
* ce-dev-controller is compatible with ce-provision 1.x and 2.x, by default ce-dev uses ce-provision 2
* src folder has been organised a bit better.
* Removed drupal 8 and drupal 9 templates.
* The way to assign IPs have changed.
* All the packages used are up to date.

## ToDo: Review docs folder

A local stack based on Docker Compose and Ansible. It aims to be easy to use but also stay flexible and powerful by not hiding complexity behind yet another abstraction layer.

# Key features
## Key features
- Allows several projects (or the host) to re-use the same ports
- Allows mixing any Docker images with ce-dev specific ones
- HTTPS support through [mkcert](https://github.com/FiloSottile/mkcert)
Expand All @@ -20,3 +33,15 @@ A local stack based on Docker Compose and Ansible. It aims to be easy to use but

## [Documentation](https://codeenigma.github.io/ce-dev-docs/2.x/home/)
## [Install](https://codeenigma.github.io/ce-dev-docs/2.x/install/)

## Do you want to contribute?

* Clone this repository in your computer.
* Once you make your changes, run 'yarn' in the root folder
This will clean and create the {root}/lib folder, with the compiled TS files to JS.
* Use oclif pack to generate new releases for the different Systems

i.e: <code>yarn oclif pack tarballs --targets=linux-x64 --no-xz</code>

This will create a {root}/dist folder with the different releases of ce-dev.
You can use the release according to your OS to test the results in your computer
8 changes: 1 addition & 7 deletions templates/blank/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,12 @@
- _env_type: dev
- rkhunter:
allow_ssh_root_user: prohibit-password
- lhci:
enable_vnc: true
- nodejs:
version: 14.x
version: 20.x
- apt_unattended_upgrades:
enable: false
tasks:
- apt:
update_cache: true
- import_role:
name: _meta/common_base
- import_role:
name: lhci
- import_role:
name: frontail
5 changes: 0 additions & 5 deletions templates/drupal10/ce-dev/ansible/deploy.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
- drush:
use_vendor: true
- drush_bin: "{{ deploy_path }}/vendor/drush/drush/drush"
- lhci_run:
# Create a list of URLs to test with LHCI
test_urls:
- "https://{{ _domain_name }}"
pre_tasks:
# You can safely remove these steps once you have a working composer.json.
- name: Download composer file.
Expand Down Expand Up @@ -70,5 +66,4 @@
# - sync/database_sync # Grab database from a remote server.
- database_apply # Run drush updb and config import.
- _exit # Some common housekeeping.
# - lhci_run # removing for now as something in D9 HTML breaks LHCI
{% endraw %}
16 changes: 5 additions & 11 deletions templates/drupal10/ce-dev/ansible/provision.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@
keep_updated: true
- xdebug:
cli: true
- lhci:
enable_vnc: true
- nodejs:
version: 18.x
version: 20.x
- apt_unattended_upgrades:
enable: false
{% endraw %}
Expand All @@ -61,14 +59,10 @@
- import_role:
name: _meta/common_base
- import_role:
name: mysql_client
name: debian/mysql_client
- import_role:
name: php-cli
name: debian/php-cli
- import_role:
name: php-fpm
name: debian/php-fpm
- import_role:
name: nginx
- import_role:
name: lhci
- import_role:
name: frontail
name: debian/nginx
2 changes: 0 additions & 2 deletions templates/drupal8/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions templates/drupal8/ce-dev/.gitignore

This file was deleted.

78 changes: 0 additions & 78 deletions templates/drupal8/ce-dev/ansible/deploy.yml.j2

This file was deleted.

68 changes: 0 additions & 68 deletions templates/drupal8/ce-dev/ansible/provision.yml.j2

This file was deleted.

This file was deleted.

42 changes: 0 additions & 42 deletions templates/drupal8/ce-dev/ce-dev.compose.prebuilt.yml.j2

This file was deleted.

41 changes: 0 additions & 41 deletions templates/drupal8/ce-dev/ce-dev.compose.yml.j2

This file was deleted.

2 changes: 0 additions & 2 deletions templates/drupal9/.gitignore

This file was deleted.

2 changes: 0 additions & 2 deletions templates/drupal9/ce-dev/.gitignore

This file was deleted.

Loading

0 comments on commit fa05b56

Please sign in to comment.