From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/
Date: Sun, 3 Jan 2021 10:07:08 +0000 (UTC) [thread overview]
Message-ID: <1609668418.3dff7190aaca940e315230a21dd296d2af0dfe2c.andrewammerlaan@gentoo> (raw)
commit: 3dff7190aaca940e315230a21dd296d2af0dfe2c
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Jan 3 10:03:39 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Jan 3 10:06:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3dff7190
.github/workflows: add pkgcheck and repoman checks
Lets see if this will work like this
Thanks to the ::science overlay
Bug: https://github.com/gentoo/guru/issues/16
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
.github/workflows/pkgcheck.yml | 31 +++++++++++++++++++++++++++++++
.github/workflows/repoman.yml | 34 ++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
diff --git a/.github/workflows/pkgcheck.yml b/.github/workflows/pkgcheck.yml
new file mode 100644
index 00000000..188f9db6
--- /dev/null
+++ b/.github/workflows/pkgcheck.yml
@@ -0,0 +1,31 @@
+name: pkgcheck
+
+on:
+ push:
+ branches: [ dev ]
+ pull_request:
+ branches: [ dev ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.9
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.9
+ - name: Install pkgcheck
+ run: |
+ python -m pip install --upgrade pip
+ pip install pkgcheck
+ - name: Setup master gentoo repository
+ run: |
+ sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
+ wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
+ sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
+ sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
+ sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile
+ - name: Test with pkgcheck
+ run: |
+ pkgcheck scan --exit --check=-RedundantVersionCheck,-VisibilityCheck
diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml
new file mode 100644
index 00000000..c5fd25ec
--- /dev/null
+++ b/.github/workflows/repoman.yml
@@ -0,0 +1,34 @@
+name: repoman
+
+on:
+ push:
+ branches: [ dev ]
+ pull_request:
+ branches: [ dev ]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Set up Python 3.9
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.9
+ - name: Setup repoman
+ run: |
+ python -m pip install --upgrade pip
+ pip install lxml pyyaml
+ wget -qO - "https://github.com/gentoo/portage/archive/portage-3.0.12.tar.gz" | tar xz
+ sudo groupadd -g 250 portage
+ sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage
+ - name: Setup master gentoo repository
+ run: |
+ sudo mkdir -p /var/db/repos/gentoo /etc/portage /var/cache/distfiles
+ wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | sudo tar xz -C /var/db/repos/gentoo --strip-components=1
+ sudo wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
+ sudo wget "https://gitweb.gentoo.org/proj/portage.git/plain/cnf/repos.conf" -O /etc/portage/repos.conf
+ sudo ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile
+ - name: Test with repoman
+ run: |
+ python3 portage-portage-3.0.12/repoman/bin/repoman full -dx
next reply other threads:[~2021-01-03 10:07 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-03 10:07 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-01-19 21:18 [gentoo-commits] repo/proj/guru:dev commit in: .github/workflows/ Andrew Ammerlaan
2021-01-19 21:57 Andrew Ammerlaan
2021-01-28 11:01 Andrew Ammerlaan
2021-01-29 10:59 Andrew Ammerlaan
2021-02-16 7:52 Theo Anderson
2021-02-18 11:15 Andrew Ammerlaan
2021-02-18 11:23 Andrew Ammerlaan
2022-04-06 18:07 Arthur Zamarin
2022-04-14 13:39 Andrew Ammerlaan
2022-10-07 15:39 Arthur Zamarin
2023-01-13 21:36 Julien Roy
2023-03-17 11:42 Arthur Zamarin
2023-03-31 15:28 Anna Vyalkova
2023-04-20 15:20 Anna Vyalkova
2023-04-23 12:06 Anna Vyalkova
2023-04-23 12:15 Anna Vyalkova
2023-04-23 12:24 Anna Vyalkova
2023-04-23 14:14 Anna Vyalkova
2023-04-23 14:54 Anna Vyalkova
2023-05-18 8:21 Anna Vyalkova
2023-06-14 10:14 Anna Vyalkova
2024-04-12 12:37 Anna Vyalkova
2024-04-18 18:04 Anna Vyalkova
2024-10-26 13:58 Takuya Wakazono
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1609668418.3dff7190aaca940e315230a21dd296d2af0dfe2c.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox