8 Commits

Author SHA1 Message Date
Sirajudeen
c33f5f5104 Use token for github Authentication
* Move from user/passwd to token based auth for
  github api access
* Github password based authentication will be deprecated soon
  https://developer.github.com/changes/2020-02-14-deprecating-password-auth/

Change-Id: Ic5af5bcf6ceb9828f2df7cca97e73c713dc79c1e
Closes: #373
2020-10-26 13:44:27 +00:00
Ruslan Aliev
876c6043ee Replace apt/yum ansible modules, use package instead
apt/yum use is not convenient, package module automatically uses
the underlying OS package manager. Also, some ansible roles currently
use only apt module without yum, therefore patch fixes this bug too.

Change-Id: I5dd49d513d1a791ab51ca6ce6eb1c079542c5624
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
2020-06-29 20:28:49 +00:00
Sirajudeen
1fd55a7abd install python3-pip explicitly.
* zuul gate failing due to pip3 missing, so had to install it explicitly

Change-Id: I8d24cc506d58312f338e3632e97a567b23dc71a1
2020-06-24 16:54:34 -05:00
Sirajudeen
6aaceb1e7f Use sudo to install python3-setuptools
Change-Id: I4119486e8388ca69fce8a135d785f66cc9c4e880
2020-06-23 17:47:38 -05:00
Sirajudeen
08c5d6acbb Add python3-setuptools to required packages
* This commit adds python3-setuptools to required packages, so that
  the job airship-airshipctl-update-github-issues will not fail

Change-Id: I7b5a93e83175bb19dd6145f1af6bf7f6fd7a4d61
2020-06-23 09:30:26 -05:00
Yasin, Siraj (SY495P)
9cde7fc8f5 Fixed the script path issue
* created a files dir within playbooks and moved
  update_github_issues.py

Change-Id: Icb621ec00bab0b431c09405370968c0b0ac975b7
Relates-To: #196
2020-05-27 14:34:03 +00:00
Yasin, Siraj (SY495P)
b248f6e4a4 Ansible syntax fix and added message decrypt.
* Decrypt message which is base64 encoded in secrets
* read change_url from zuul dictionary instead of its
  subelement items

Change-Id: I2137be52d4ad8c0a158b6192b6e0a08527c60328
Relates-To: #196
2020-05-21 12:25:34 -05:00
Ian H. Pittwood
25691da17a [#39] Add Zuul job for GitHub Issues integration
Adds a post job to update related issues in Github on change merges. If
a change contains a "Closes: #X" tag, issue X will be closed on merge.
If a change contains a "Relates-To: #X" or "[#X]" tag, a comment will be
made on the associated issue to indicate the change was merged and that
the issue may be closeable.

Closes: #39

Change-Id: Ide9a4d53de7be0e467422938e4e8067fb41ce036
2020-03-02 09:49:27 -06:00