Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade the instances #55

Open
geoffreyvanwyk opened this issue Dec 21, 2023 · 3 comments
Open

Upgrade the instances #55

geoffreyvanwyk opened this issue Dec 21, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@geoffreyvanwyk
Copy link
Owner

Basically, a schedule should be added to the Deploy workflow for running once a week.

The workflow should run on the hour and disable the Reset workflow before starting, then reenable it afterwards.

@geoffreyvanwyk geoffreyvanwyk added the enhancement New feature or request label Dec 21, 2023
@geoffreyvanwyk geoffreyvanwyk added this to the Excellent milestone Dec 21, 2023
@geoffreyvanwyk geoffreyvanwyk self-assigned this Dec 21, 2023
@geoffreyvanwyk
Copy link
Owner Author

Moodle releases major versions (x.y, e.g. 4.1) every six months in April and October, minor versions (x.y.z) every two months. These are indicated with tags in the Moodle Git repository. See https://moodledev.io/general/releases#general-release-calendar

Learning Sandbox Online should be based on these releases and not simply on the code in the stable branches. The Ansible playbook should set the versions for the Git module for each Moodle instance to the relevant tag instead of the stable Moodle branch. To upgrade, the tag should just be updated every two months and then the Deploy workflow should be run.

@geoffreyvanwyk geoffreyvanwyk changed the title Upgrade the instances regularly Upgrade the instances Dec 25, 2023
@geoffreyvanwyk
Copy link
Owner Author

This is going to be a recurring manual task for now. The first iteration will be taken care of by #56 . This task can be closed.

@geoffreyvanwyk
Copy link
Owner Author

It could be implemented as a scheduled GitHub Actions workflow that checks for new Moodle tags every two months. When it finds a new tag, it runs the Deploy GitHub Actions workflow with the new tags as input. That means the Deploy workflow must be modified to take tags as input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant