wpengine / github-action-wpe-site-deploy

A GitHub Action to deploy code directly to WP Engine.
MIT License
173 stars 36 forks source link

[CICD-24] Improve performance by utilizing pre-built Docker Image. #46

Closed sarahricker closed 2 years ago

sarahricker commented 2 years ago

JIRA Ticket

CICD-24

What Are We Doing Here

Building and hosting image on WPE docker hub, then calling the hosted image instead of building it every time.

Original: Avg 11-14 seconds (Build Docker Container on the fly) cicd-24-docker-container-build-v3-1-1

New: 4 seconds :tada: (Build Docker Container from Hosted Docker Image) cicd-24-docker-container-build-cicd-24-branch

NewNew: 1 second 🐎 (Pull Docker Image directly from within action.yml) cicd-24-load-docker-image-directly

New SPLIT: 4 seconds ⏩ (Build Docker Container from Hosted Docker Image, but split to add in exclude.txt and entrypoint script afterwards) cicd-24-docker-stable-image

Plan Moving Forward:

TO DO:

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 31dd34f6b0b9986c7b130161fffe39ed1daf7eec

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | --------------------------------------- | ----- | | @wpengine/github-action-wpe-site-deploy | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR