Last updated at 2024-01-24 16:48:27 by ouit0874
Differences between revisions 1 and 2
Revision 1 as of 2016-04-20 12:58:21
Size: 328
Editor: oucs0089
Comment:
Revision 2 as of 2024-01-24 15:58:03
Size: 961
Editor: ouit0874
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
The previous solution, using Trello, did not work after migrating to autumn-glory 2.0 in 2023. To enable auto promotion, from Testing → Stable, of applications downloaded using AutoPkg, [[https://github.com/joshua-d-miller/munki-promote|munki-promote]] has been implemented. This uses a Python script to move applications according to a schedule defined in a JSON configuration file.
Line 3: Line 4:
The Orchard team has automated the staging process for software titles using the in-house developed tool [[https://github.com/ox-it/munki-staging|munki-staging]]. Our Trello board for the Orchard production repository is publicly available at [[https://trello.com/b/SnEEvEXc/orchard-software-staging]]. Currently, downloaded applications are set to move from Testing → Stable after 14 days. The promotion process runs at 2.30am every morning.

The script an its JSON configuration file are located here:

{{{
/srv/munki/bin
}}}
To allow for additional logging of the process, to run makecatalogs and also to update the catalog listings, the Python script is triggered from a Zsh script. This is triggered from the Calendar app using an Automator application that runs the following:

{{{
sudo -u autopkg /srv/munki/bin/munkipromote.sh
}}}

Software Staging

The previous solution, using Trello, did not work after migrating to autumn-glory 2.0 in 2023. To enable auto promotion, from Testing → Stable, of applications downloaded using AutoPkg, munki-promote has been implemented. This uses a Python script to move applications according to a schedule defined in a JSON configuration file.

Currently, downloaded applications are set to move from Testing → Stable after 14 days. The promotion process runs at 2.30am every morning.

The script an its JSON configuration file are located here:

/srv/munki/bin

To allow for additional logging of the process, to run makecatalogs and also to update the catalog listings, the Python script is triggered from a Zsh script. This is triggered from the Calendar app using an Automator application that runs the following:

sudo -u autopkg /srv/munki/bin/munkipromote.sh

Orchard is a close co-operation of