~tcuthbert/charm-k8s-wordpress:xubuntu-container-fixes

Last commit made on 2021-06-02
Get this branch:
git clone -b xubuntu-container-fixes https://git.launchpad.net/~tcuthbert/charm-k8s-wordpress
Only Thomas Cuthbert can upload to this branch. If you are Thomas Cuthbert please log in for upload directions.

Branch merges

Branch information

Name:
xubuntu-container-fixes
Repository:
lp:~tcuthbert/charm-k8s-wordpress

Recent commits

6d8d586... by Thomas Cuthbert

More updates for arbitrary plugin sync

    - Copy plugins out of plugin base at the end of the build to speed
    things up.
    - Make plugin syncing atomic on container startup.
    - Fix runtime bugs in the sync script.

b65cd1d... by Thomas Cuthbert

Ensure image-builder/files is in PYTHONPATH

2466781... by Thomas Cuthbert

Speed up container builds

    Prior to this change, container builds took a long time due to the
    requirement of fetching remote resources such as plugins and the
    WordPress source code. This commit separates the Dockerfile into
    stages that speed this process up.

    The plugin stage (which is the slowest) runs independently. The
    wordpress stage copies the downloaded plugins from the plugin stage
    into the `wp-content` tree so that changes within other stages don't
    always require plugins to be synced. In the future the plugins will
    be a separate volume container given they aren't a requirement for
    WordPress to actually run.

    `curl` has been replaced with `wget` when downloading the WordPress
    source code as it is more reliable. Eventually the container will
    just copy the source code directly out of the upstream wordpress
    container which will speed builds up even further.

973ecbc... by Thomas Cuthbert

Initial plugin fetching from charm config feature

    This is an initial run at allowing for arbitrary plugins defined in
    charm config. The `fetcher.py` script looks for the presence of an
    environment variable of plugin details and will sync them to the
    wordpress plugin directory.

    - Sync plugins directly in tree.
    - Create initial Plugin object abstraction.
    - Basic Plugin class tests.
    - Support for syncing plugins from a container env variable
      configuration.

9096a7f... by Tom Haddon

Rename the charm to wordpress-k8s to avoid collision with machine charm

Reviewed-on: https://code.launchpad.net/~mthaddon/charm-k8s-wordpress/+git/charm-k8s-wordpress/+merge/402808
Reviewed-by: Thomas Cuthbert <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-is <email address hidden>

5f6243e... by Tom Haddon

Update tests for new charm name

07e7a86... by Tom Haddon

Rename the charm to wordpress-k8s to avoid collision with machine charm

ab4e660... by Thomas Cuthbert

version 5.7: WP object-storage plugin rewrite

Reviewed-on: https://code.launchpad.net/~tcuthbert/charm-k8s-wordpress/+git/charm-k8s-wordpress-1/+merge/401852
Reviewed-by: Gareth Woolridge <email address hidden>

40c2e45... by Thomas Cuthbert

version 5.7: WP object-storage plugin rewrite

254a7db... by Thomas Cuthbert

Enable SSL support for backend servers

Reviewed-on: https://code.launchpad.net/~tcuthbert/charm-k8s-wordpress/+git/charm-k8s-wordpress-1/+merge/401225
Reviewed-by: Tom Haddon <email address hidden>
Reviewed-by: 🤖 prod-jenkaas-is <email address hidden>