Project

General

Profile

Release Process Plugins » History » Version 2

Lukas Zapletal, 08/13/2015 11:37 AM

1 1 Lukas Zapletal
h1. Release Process for Plugins
2
3
h2. Foreman Discovery
4
5
h3. Before the release
6
7 2 Lukas Zapletal
* Extract strings (http://projects.theforeman.org/projects/foreman/wiki/How_to_Create_a_Plugin#Extracting-strings) (Does not currently work due to https://github.com/theforeman/foreman/pull/2096, workaround solution is to call @make -C locale/ extract update-po@ for a manual extraction as Discovery does not use JavaScript)
8 1 Lukas Zapletal
* Notify translators about incoming release
9
* No more i18n-related big changes (new/changed strings)
10
11
h3. Release process
12
13
* Pull new translations with @make -C locale tx-update@
14
* Test the develop branch against stable Foreman RC release
15
* Bump version in @lib/foreman_discovery/version.rb@
16
* Modify @requires_foreman@ in @engine.rb@
17
* Git tag and fork @X.Y-stable@ branch
18
* Build a release with @gem build@
19
* Investigate contents with @tar -xOf foreman_discovery-x.x.x.gem data.tar.gz | tar -z -list | sort@
20
* Push to origin including the tag
21
* Push the release with @gem push@
22
* Create Jenkins configuration in https://github.com/theforeman/foreman-infra/blob/master/puppet/modules/jenkins_job_builder/files/theforeman.org/yaml/jobs/plugins/foreman_discovery.yaml
23
* Create packaging requests: https://github.com/theforeman/foreman-packaging/pull/744 and https://github.com/theforeman/foreman-packaging/pull/743 as examples
24
* Do documentation update: https://github.com/theforeman/theforeman.org/pull/409 (example)