mozilla-releng / firefox-infra-changelog

Automated tool which builds a changelog of commits happening on git and hg that could affect Firefox CI Infra.
2 stars 8 forks source link

Add argument '-s' to skip the menu when the script runs on Travis CI #493

Closed raduiman-zz closed 5 years ago

raduiman-zz commented 5 years ago

I've changed the .travis.yml file, by adding '-s' argument for skipping the main-menu when the script runs on Travis CI

FIC-Travis

Archaeopteryx commented 5 years ago

@lundjordan Can you merge that, please? The job fails to run successfully and https://github.com/mozilla-releng/firefox-infra-changelog/blob/master/changelog.md misses (new) data.

danlabici commented 5 years ago

If we get our github accounts rights for merge, I can get this stuff fixed :)

lundjordan commented 5 years ago

If we get our github accounts rights for merge, I can get this stuff fixed :)

@Akhliskun - That's awesome! I added you and Radu individually with write access. Is there anyone else that would be interested in contributing?

bccrisan commented 5 years ago

If we get our github accounts rights for merge, I can get this stuff fixed :)

@Akhliskun - That's awesome! I added you and Radu individually with write access. Is there anyone else that would be interested in contributing?

Count me in! ✌✔

lundjordan commented 5 years ago

Count me in! ✌✔

Welcome (back)!

Archaeopteryx commented 5 years ago

Does this need a manual deploy?

danlabici commented 5 years ago

I believe a re-deploy on BDTools server is needed (or check the cron for it) but also (if I'm not wrong) CiDuty's github account needs to be given write access back to the repo.

lundjordan commented 5 years ago

I believe a re-deploy on BDTools server is needed (or check the cron for it) but also (if I'm not wrong) CiDuty's github account needs to be given write access back to the repo.

I re-added ciduty bot. I removed it because I wasn't included as a recipient in the private repo where we keep its creds and ssh key. So I deleted that file from private repo and revoked all of Cidutybot's permissions in github.

Do those exist somewhere? Could they be sent to me encrypted? Here's my gpg key: https://gpg.mozilla.org/pks/lookup?search=jlund%40mozilla.com&op=vindex

Failing that, I could create a new bot account and share those creds with someone who has access to BDTools server.

@Akhliskun thoughts?

danlabici commented 5 years ago

@lundjordan I'm pretty sure I signed the file with the buildduty.txt file :o If your GPG is not there, that explains why your key wasn't added (tho I remember I verified and everything was good).

I see 2 possible paths:

Will come back in a few hours.

lundjordan commented 5 years ago

Revert the file deletion, send it to me and I'm decrypt and re-encrypt it with your gpg.

done. sent to the SV email I had in contacts.

lundjordan commented 5 years ago

danut was able to recover it himself.

lundjordan commented 5 years ago

okay, so ciduty should have write access in this repo, what's next?

raduiman-zz commented 5 years ago

we used a crontask on buiduty-tools server. It was created by @Akhliskun manually. I suppose that a re-deploy on the server is needed and then change the cron to run the following command:

python client.py -s -a -p

-s -> to skip the mainmenu -a -> to run the script for all the repsitories -p -> to auto add, commit and push the /data files

danlabici commented 5 years ago

What radu said should do it. Of not, I can handle this with mtabara and guide him stept by step (or at least explain everything that he needs to do) as I know he has access to BDTools server + hes on our timezone.