github-ci: enable ubuntu-20.04 hosts for packaging
Enabling ubuntu-20.04 hosts for packaging workflows found that DEB package Github Actions workflows do not need to install createrepo tool. Also found that createrepo is not ready for ubuntu-20.04 as described in (till ubuntu-21.04 where it is available as the new version of this tool named as 'createrepo_c' as DEB package): 3a7c2102 ('github-ci: ubuntu-20.04 misses createrepo package') To fix it added 'createrepo_c' build and installation from sources and changed in update_repo tool 'createrepo' tool to 'createrepo_c'. This patch is needed to use these workflows on self-hosted runners which run under ubuntu-20.04 by default for now. Also checking the patch on ubuntu-20.04 hosts got the following issue: Regenerated DEB file: pool/xenial/main/t/tarantool/tarantool-common_2.8.0.185.g4c3e0eb-1_all.deb <botocore.awsrequest.AWSRequest object at 0x7f7998a4ca90> <botocore.awsrequest.AWSRequest object at 0x7f627d965070> make: *** [.gitlab.mk:131: deploy] Error 255 Error: Process completed with exit code 2. Found that there is already issue exists in Github Actions on it [1]. Provided solution to setup AWS region in environment helped to workaround the issue [2]. Closes tarantool/tarantool-qa#110 Closes tarantool/tarantool-qa#111 [1]: https://github.com/aws/aws-cli/issues/5234 [2]: https://github.com/aws/aws-cli/issues/5234#issuecomment-635459464
Showing
- .github/actions/environment/action.yml 3 additions, 0 deletions.github/actions/environment/action.yml
- .github/actions/pack_and_deploy/action.yml 20 additions, 1 deletion.github/actions/pack_and_deploy/action.yml
- .github/workflows/centos_7.yml 1 addition, 1 deletion.github/workflows/centos_7.yml
- .github/workflows/centos_8.yml 1 addition, 1 deletion.github/workflows/centos_8.yml
- .github/workflows/debian_10.yml 1 addition, 1 deletion.github/workflows/debian_10.yml
- .github/workflows/debian_11.yml 1 addition, 1 deletion.github/workflows/debian_11.yml
- .github/workflows/debian_9.yml 1 addition, 1 deletion.github/workflows/debian_9.yml
- .github/workflows/fedora_28.yml 1 addition, 1 deletion.github/workflows/fedora_28.yml
- .github/workflows/fedora_29.yml 1 addition, 1 deletion.github/workflows/fedora_29.yml
- .github/workflows/fedora_30.yml 1 addition, 1 deletion.github/workflows/fedora_30.yml
- .github/workflows/fedora_31.yml 1 addition, 1 deletion.github/workflows/fedora_31.yml
- .github/workflows/fedora_32.yml 1 addition, 1 deletion.github/workflows/fedora_32.yml
- .github/workflows/fedora_33.yml 1 addition, 1 deletion.github/workflows/fedora_33.yml
- .github/workflows/opensuse_15_1.yml 1 addition, 1 deletion.github/workflows/opensuse_15_1.yml
- .github/workflows/opensuse_15_2.yml 1 addition, 1 deletion.github/workflows/opensuse_15_2.yml
- .github/workflows/ubuntu_14_04.yml 1 addition, 1 deletion.github/workflows/ubuntu_14_04.yml
- .github/workflows/ubuntu_16_04.yml 1 addition, 1 deletion.github/workflows/ubuntu_16_04.yml
- .github/workflows/ubuntu_18_04.yml 1 addition, 1 deletion.github/workflows/ubuntu_18_04.yml
- .github/workflows/ubuntu_20_04.yml 1 addition, 1 deletion.github/workflows/ubuntu_20_04.yml
- .gitlab.mk 3 additions, 0 deletions.gitlab.mk
Loading
Please register or sign in to comment