Merge lp:~pfalcon/linaro-android-build-tools/getpass into lp:linaro-android-build-tools
Proposed by
Paul Sokolovsky
Status: | Merged |
---|---|
Approved by: | Deepti B. Kalakeri |
Approved revision: | 480 |
Merged at revision: | 476 |
Proposed branch: | lp:~pfalcon/linaro-android-build-tools/getpass |
Merge into: | lp:linaro-android-build-tools |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~pfalcon/linaro-android-build-tools/getpass |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stevan Radaković | documentation | Needs Fixing | |
Deepti B. Kalakeri (community) | Needs Fixing | ||
Review via email: mp+106628@code.launchpad.net |
Description of the change
These are changes needed to run mangle-jobs script on ci.linaro.org comfortably.
Once this is merged, migration to add explicit build expiration to all jobs will be:
$ ./mangle-jobs --user=<Jenkins username> build-expiratio
Password: <Jenkins API key>
[review changes to be done in mangle.diff]
$ ./mangle-jobs --user=<Jenkins username> build-expiratio
Password: <Jenkins API key>
See README file for complete info on mangle-jobs.
To post a comment you must log in.
On Mon, May 21, 2012 at 6:51 PM, Paul Sokolovsky <<email address hidden>
> wrote:
> You have been requested to review the proposed merge of /code.launchpad .net/~pfalcon/ linaro- android- build-tools/ getpass/ +merge/ 106628<https:/ /code.launchpad .net/%7Epfalcon /linaro- android- build-tools/ getpass/ +merge/ 106628> orgcomfortably. n-set.mangle n-set.mangle /code.launchpad .net/~pfalcon/ linaro- android- build-tools/ getpass/ +merge/ 106628<https:/ /code.launchpad .net/%7Epfalcon /linaro- android- build-tools/ getpass/ +merge/ 106628> mangle- jobs/README' jobs/README 2012-03-08 18:07:13 +0000 jobs/README 2012-05-21 13:19:18 +0000 file=<passwd_ file> to avoid file=<passwd_ file> mangle> mangle>
> lp:~pfalcon/linaro-android-build-tools/getpass into
> lp:linaro-android-build-tools.
>
> For more details, see:
>
> https:/
>
> These are changes needed to run mangle-jobs script on ci.linaro.
>
> Once this is merged, migration to add explicit build expiration to all
> jobs will be:
>
> $ ./mangle-jobs --user=<Jenkins username> build-expiratio
> >mangle.diff
> Password: <Jenkins API key>
>
> [review changes to be done in mangle.diff]
>
> $ ./mangle-jobs --user=<Jenkins username> build-expiratio
> --really
> Password: <Jenkins API key>
>
>
> See README file for complete info on mangle-jobs.
>
>
> --
>
> https:/
> You are requested to review the proposed merge of
> lp:~pfalcon/linaro-android-build-tools/getpass into
> lp:linaro-android-build-tools.
>
> === modified file 'utils/
> --- utils/mangle-
> +++ utils/mangle-
> @@ -53,10 +53,14 @@
> if needed.
>
> 5. You are ready to perform en-masse pre-production test now. You should
> have
> -Jenkins username with appropriate permissions and its password (stored in
> -a file) handy.
> +Jenkins username with appropriate permissions and its password or API key
> +(recommended) handy. The API key can found in Jenkins by clicking you
> username
> +in the top right corner, then Configure in menu. Password/API key will be
> +prompted on teh console. If you really need that, you can put the
> credential
> +in the file and refer to it with --passwd-
> +interactive prompts.
>
> -$ ./mangle-jobs --user=<user> --passwd-
> <your_script.
> +$ ./mangle-jobs --user=<user> <your_script.
>
>
I believe we need to run mangle-jobs from the host on which jenkins service
is hosted ?
> This will run your script repeatedly for each job store in Jenkins server file=<passwd_ file> mangle> --really mangle> --really ------- ------- mangle- jobs/mangle- jobs' jobs/mangle- jobs 2012-04-26 11:21:06 +0000 jobs/mangle- jobs 2012-05-21 13:19:18 +0000
> and
> will show aggregated diff output. Review it carefully to watch for
> anomalities
> @@ -65,7 +69,7 @@
> 6. Once you're absolutely sure that the changes performed by your mangle
> script
> are correct, run it in the production update mode:
>
> -$ ./mangle-jobs --user=<user> --passwd-
> <your_script.
> +$ ./mangle-jobs --user=<user> <your_script.
>
> Mangle script details
> -------
>
> === modified file 'utils/
> --- utils/mangle-
> +++ utils/mangle-
> @@ -21,10 +21,13 @@
> from tempfile import NamedTemporaryFile
> import urllib2
> import optparse
> +import getpass
>
> from lxml.etree import fromstring, tostri...