Last updated at 2024-01-24 16:48:27 by ouit0874
Differences between revisions 1 and 4 (spanning 3 versions)
Revision 1 as of 2016-04-20 12:58:21
Size: 328
Editor: oucs0089
Comment:
Revision 4 as of 2024-01-24 16:48:27
Size: 1174
Editor: ouit0874
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
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
}}}
'''Important '''

In order for applications imported into Munki to automatically migrate they need to be added to the munkipromote JSON configuration file (munkipromote.json). Simply edit the file and add the Munki name (not the display name) for the software. Please keep the list in alphabetical order.

Software Staging

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

Important

In order for applications imported into Munki to automatically migrate they need to be added to the munkipromote JSON configuration file (munkipromote.json). Simply edit the file and add the Munki name (not the display name) for the software. Please keep the list in alphabetical order.


Orchard is a close co-operation of