Automate Deployments

Open
#38 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
laravel, php

Research direction

Start by reviewing the repository's deployment configuration, the Jenkins system for joomla.org, and the live server's public_html layout. The work is complete when compiled assets are removed, deployments can be staged with minimal downtime, required schema changes run with maintenance mode, and Jenkins switches public_html to the new deployment.

Written by the indexing model from the issue text.

Description

The new Jenkins CI system for joomla.org should be utilized to automate code deployments for this repository. To that, the following steps are required:

  • Remove compiled assets from this repository
    • Laravel Mix manifest
    • SRI manifest
    • CSS/JS
  • Adjust the live server to support a minimal downtime deployment workflow
    • New deployments directory
  • Create a job on the Jenkins system to deploy changes for the application
    • Package is extracted to deployments provisioning space
    • Add some kind of "maintenance mode" (./artisan down and ./artisan up thing) to deploy database schema changes as required
    • Change public_html to point to new deployment
Dominant language
PHP
Stars
37
Forks
25
Avg merge
19h
Merged PRs (30d)
34

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from joomla/framework.joomla.org

All issues in joomla/framework.joomla.org

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.