1 |
commit: ec3f4cd6cbeddb065b35d3c1911b8141a4c6787f |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 2 12:11:21 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 2 12:11:21 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=ec3f4cd6 |
7 |
|
8 |
Drop repoman CI in favour of pkgcheck |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
.github/workflows/repoman.yml | 22 ---------------------- |
13 |
scripts/setup-and-run-repoman.sh | 30 ------------------------------ |
14 |
2 files changed, 52 deletions(-) |
15 |
|
16 |
diff --git a/.github/workflows/repoman.yml b/.github/workflows/repoman.yml |
17 |
deleted file mode 100644 |
18 |
index afea3ae53..000000000 |
19 |
--- a/.github/workflows/repoman.yml |
20 |
+++ /dev/null |
21 |
@@ -1,22 +0,0 @@ |
22 |
-name: repoman |
23 |
- |
24 |
-on: |
25 |
- push: |
26 |
- branches: [ master ] |
27 |
- pull_request: |
28 |
- branches: [ master ] |
29 |
- schedule: |
30 |
- - cron: '0 0 * * *' |
31 |
- |
32 |
-jobs: |
33 |
- build: |
34 |
- runs-on: ubuntu-latest |
35 |
- steps: |
36 |
- - uses: actions/checkout@v2 |
37 |
- - name: Setup master gentoo repository |
38 |
- run: | |
39 |
- ./scripts/setup-master-gentoo.sh |
40 |
- - name: Setup and run Repoman |
41 |
- run: | |
42 |
- ./scripts/setup-and-run-repoman.sh |
43 |
- |
44 |
|
45 |
diff --git a/scripts/setup-and-run-repoman.sh b/scripts/setup-and-run-repoman.sh |
46 |
deleted file mode 100755 |
47 |
index e2e10c78e..000000000 |
48 |
--- a/scripts/setup-and-run-repoman.sh |
49 |
+++ /dev/null |
50 |
@@ -1,30 +0,0 @@ |
51 |
-#! /usr/bin/env bash |
52 |
-# Maintainer: Andrew Ammerlaan <andrewammerlaan@g.o> |
53 |
-# |
54 |
-# This sets up repoman and runs the latest version |
55 |
-# |
56 |
-# TODO: Force repoman to output in colour |
57 |
- |
58 |
-### Setup prerequisites |
59 |
-python3 -m pip install --upgrade pip |
60 |
-pip install lxml pyyaml |
61 |
-sudo groupadd -g 250 portage |
62 |
-sudo useradd -g portage -d /var/tmp/portage -s /bin/false -u 250 portage |
63 |
- |
64 |
-### Sync the portage repository |
65 |
-git clone https://github.com/gentoo/portage.git |
66 |
-cd portage |
67 |
- |
68 |
-# Get all versions, and read into array |
69 |
-mapfile -t RM_VERSIONS < <( git tag | grep portage | sort -uV ) |
70 |
- |
71 |
-# Select latests version (last element in array) |
72 |
-RM_VERS="${RM_VERSIONS[-1]}" |
73 |
- |
74 |
-# Checkout this version |
75 |
-git checkout tags/${RM_VERS} -b ${RM_VERS} |
76 |
- |
77 |
-cd .. |
78 |
- |
79 |
-### Run repoman |
80 |
-python3 portage/repoman/bin/repoman -dx full |