From: | Aisha Tammy <gentoo@×××××.cc> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] proj/sci:master commit in: .github/workflows/, / |
Date: | Thu, 31 Dec 2020 03:26:33 |
Message-Id: | 1609385130.494eda4feab6c334636b20cbd36bd44f063d49b6.epsilon-0@gentoo |
1 | commit: 494eda4feab6c334636b20cbd36bd44f063d49b6 |
2 | Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
3 | AuthorDate: Thu Dec 31 03:25:30 2020 +0000 |
4 | Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc> |
5 | CommitDate: Thu Dec 31 03:25:30 2020 +0000 |
6 | URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=494eda4f |
7 | |
8 | .github/workflows: add repoman check |
9 | |
10 | this is gonna make the build fail again... |
11 | i'm sorry |
12 | |
13 | Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> |
14 | |
15 | .github/workflows/repoman.yml | 34 ++++++++++++++++++++++++++++++++++ |
16 | README.md | 7 ++++--- |
17 | 2 files changed, 38 insertions(+), 3 deletions(-) |
18 | |
19 | diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml |
20 | new file mode 100644 |
21 | index 000000000..b50ed7b79 |
22 | --- /dev/null |
23 | +++ b/.github/workflows/repoman.yml |
24 | @@ -0,0 +1,34 @@ |
25 | +name: repoman |
26 | + |
27 | +on: |
28 | + push: |
29 | + branches: [ master ] |
30 | + pull_request: |
31 | + branches: [ master ] |
32 | + |
33 | +jobs: |
34 | + build: |
35 | + runs-on: ubuntu-latest |
36 | + steps: |
37 | + - uses: actions/checkout@v2 |
38 | + - name: Set up Python 3.9 |
39 | + uses: actions/setup-python@v2 |
40 | + with: |
41 | + python-version: 3.9 |
42 | + - name: Setup repoman |
43 | + run: | |
44 | + python -m pip install --upgrade pip |
45 | + pip install lxml pyyaml |
46 | + wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz |
47 | + sudo groupadd -g 250 portage |
48 | + sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage |
49 | + - name: Setup master gentoo repository |
50 | + run: | |
51 | + sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles |
52 | + wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1 |
53 | + sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd |
54 | + sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf |
55 | + sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile |
56 | + - name: Test with repoman |
57 | + run: | |
58 | + python3 portage-portage-3.0.12/repoman/bin/repoman full -dx |
59 | |
60 | diff --git a/README.md b/README.md |
61 | index aea88eae8..d2bbf2fe9 100644 |
62 | --- a/README.md |
63 | +++ b/README.md |
64 | @@ -1,6 +1,7 @@ |
65 | # The [Gentoo Science Project](https://wiki.gentoo.org/wiki/Project:Science) Repository |
66 | -![pkgcheck](https://github.com/gentoo/sci/workflows/pkgcheck/badge.svg) |
67 | -[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/gentoo/sci/issues) |
68 | +[![pkgcheck](https://github.com/gentoo/sci/workflows/pkgcheck/badge.svg)](https://github.com/gentoo/sci/actions?query=workflow%3Apkgcheck) |
69 | +[![repoman](https://github.com/gentoo/sci/workflows/repoman/badge.svg)](https://github.com/gentoo/sci/actions?query=workflow%3Arepoman) |
70 | +[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/gentoo/sci#guide) |
71 | [![chat on freenode](https://img.shields.io/badge/chat-on%20freenode-brightgreen.svg)](https://webchat.freenode.net/#gentoo-science) |
72 | |
73 | <table> |
74 | @@ -21,7 +22,7 @@ The Gentoo [developer manual](https://devmanual.gentoo.org/) take precedence ove |
75 | 1. [Installation and usage](#install) |
76 | - [Manual](#install-manual) |
77 | - [Layman](#install-layman) |
78 | -2. [Contributor guidelies](#guide) |
79 | +2. [Contributor guidelines](#guide) |
80 | |
81 | </td> |
82 | </tr> |