Skip to content

Commit f198949

Browse files
Merge branch 'SUSE:main' into mariadb-migration
2 parents c9b221d + d074ef8 commit f198949

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+985
-885
lines changed

.github/workflows/ci.yaml

Lines changed: 39 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: checkout source code
23-
uses: actions/checkout@v5
23+
uses: actions/checkout@v6
2424
- name: Install necessary software
2525
run: |
2626
set -e
@@ -36,7 +36,7 @@ jobs:
3636
matrix: ${{ steps.setmatrix.outputs.matrix }}
3737
steps:
3838
- name: checkout source code
39-
uses: actions/checkout@v5
39+
uses: actions/checkout@v6
4040
- name: get the current PR
4141
uses: 8BitJonny/gh-get-current-pr@4.0.0
4242
id: pr
@@ -82,7 +82,7 @@ jobs:
8282
image: registry.suse.com/bci/python:${{ matrix.python_version }}
8383
steps:
8484
- name: checkout source code
85-
uses: actions/checkout@v5
85+
uses: actions/checkout@v6
8686
- name: Install tox
8787
run: |
8888
python3 --version
@@ -97,7 +97,7 @@ jobs:
9797
name: Build documentation
9898
runs-on: ubuntu-latest
9999
steps:
100-
- uses: actions/checkout@v5
100+
- uses: actions/checkout@v6
101101
- uses: actions/setup-python@v6
102102
with:
103103
python-version: "3.x"
@@ -109,7 +109,7 @@ jobs:
109109
name: Lint source code
110110
runs-on: ubuntu-latest
111111
steps:
112-
- uses: actions/checkout@v5
112+
- uses: actions/checkout@v6
113113
- uses: actions/setup-python@v6
114114
with:
115115
python-version: "3.x"
@@ -127,23 +127,15 @@ jobs:
127127
toxenv: ${{fromJson(needs.gentestmatrix.outputs.matrix)}}
128128
os_version:
129129
- 15.7
130+
- "16.0"
130131
- "tumbleweed"
131132
include:
132-
- toxenv: fips
133-
testing_target: ibs-released
134-
os_version: 15.3
135133
- toxenv: fips
136134
testing_target: ibs-released
137135
os_version: 15.4
138136
- toxenv: repository
139137
testing_target: ibs-released
140138
os_version: 15.5
141-
- toxenv: all
142-
testing_target: ibs-released
143-
os_version: 15.3
144-
- toxenv: base
145-
testing_target: ibs-released
146-
os_version: 15.3
147139
- toxenv: all
148140
testing_target: ibs-released
149141
os_version: 15.4
@@ -162,51 +154,44 @@ jobs:
162154
- toxenv: metadata
163155
testing_target: ibs-released
164156
os_version: 15.5
165-
- toxenv: ai
157+
- toxenv: all
166158
testing_target: ibs-released
167-
os_version: 15.6-ai
159+
os_version: 15.6
160+
- toxenv: base
161+
testing_target: ibs-released
162+
os_version: 15.6
168163
- toxenv: metadata
169164
testing_target: ibs-released
170-
os_version: 15.6-ai
165+
os_version: 15.6
171166
- toxenv: spr
172167
testing_target: ibs-released
173-
os_version: 15.6-spr
168+
os_version: 15.7-spr
174169
- toxenv: all
175170
testing_target: ibs-released
176-
os_version: 15.6-spr
171+
os_version: 15.7-spr
177172
- toxenv: metadata
178173
testing_target: ibs-released
179-
os_version: 15.6-spr
174+
os_version: 15.7-spr
180175
- toxenv: all
181-
os_version: 15.6
176+
os_version: 15.4
182177
- toxenv: base
183-
os_version: 15.6
178+
os_version: 15.4
184179
- toxenv: metadata
185-
os_version: 15.6
186-
- toxenv: node
187-
os_version: 15.6
188-
- toxenv: python
189-
os_version: 15.6
190-
- toxenv: kernel_module
191-
os_version: 15.6
192-
- toxenv: repository
193-
os_version: 15.6
194-
- toxenv: fips
195-
os_version: 15.6
196-
- toxenv: mariadb
197-
os_version: 15.6
180+
os_version: 15.4
198181
- toxenv: all
199-
os_version: 15.3
182+
os_version: 15.5
200183
- toxenv: base
201-
os_version: 15.3
184+
os_version: 15.5
202185
- toxenv: metadata
203-
os_version: 15.3
186+
os_version: 15.5
204187
- toxenv: all
205-
os_version: 15.4
188+
os_version: 15.6
206189
- toxenv: base
207-
os_version: 15.4
190+
os_version: 15.6
208191
- toxenv: metadata
209-
os_version: 15.4
192+
os_version: 15.6
193+
- toxenv: fips
194+
os_version: 15.6
210195
- toxenv: all
211196
os_version: "16.0"
212197
- toxenv: base
@@ -221,12 +206,23 @@ jobs:
221206
os_version: "16.0"
222207
- toxenv: repository
223208
os_version: "16.0"
209+
- toxenv: all
210+
os_version: "16.1"
211+
- toxenv: base
212+
os_version: "16.1"
213+
- toxenv: minimal
214+
os_version: "16.1"
215+
- toxenv: metadata
216+
os_version: "16.1"
217+
- toxenv: base
218+
testing_target: factory-totest
219+
os_version: "tumbleweed"
224220

225221
steps:
226222
- name: Clean up disk space to maximize available space
227223
run: sudo rm -rf /usr/local/*/* /usr/local/.ghcup /home/runner/.rustup /home/linuxbrew /usr/share/swift /usr/share/dotnet /opt/google/chrome /opt/microsoft/msedge /opt/ghc /opt/hostedtoolcache && sudo docker image prune --all --force
228224
- name: checkout source code
229-
uses: actions/checkout@v5
225+
uses: actions/checkout@v6
230226
- name: Set up Python
231227
uses: actions/setup-python@v6
232228
with:
@@ -245,7 +241,7 @@ jobs:
245241
command -v ldapwhoami
246242
if: ${{ matrix.toxenv == '389ds' }}
247243

248-
- uses: actions/cache@v4
244+
- uses: actions/cache@v5
249245
with:
250246
path: .tox
251247
key: tox--${{ hashFiles('tox.ini') }}

.gitlab-ci.yml

Lines changed: 0 additions & 122 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Instructions on how to extend test coverage is in the readme file.
1+
Instructions on how to extend test coverage are in the readme file.
22

33
If you didn't find information you are looking for in the README, please file an issue.

README.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ How can I run the tests?
3838

3939
1. Ensure that you have the dependencies installed
4040
2. Optionally set the ``BCI_DEVEL_REPO`` environment variable (see next section).
41-
3. Run ``tox -e build`` (this is not strictly necessary to run beforehands, but it
41+
3. Run ``tox -e build`` (this is not strictly necessary to run beforehand, but it
4242
will reduce the danger of race conditions when building containers)
4343
4. Run ``tox -e $language_stack -- -n auto``
4444

@@ -50,9 +50,9 @@ The base container
5050

5151
We are basing most of our tests on _the_ base container (available via the
5252
``BASE_CONTAINER`` variable in :file:`bci_tester/data.py`). This container is pulled
53-
directly from ``registry.suse.de`` and is being build from the
54-
`SUSE:SLE-15-SP3:Update:CR:ToTest/sles15-image
55-
<https://build.suse.de/package/show/SUSE:SLE-15-SP3:Update:CR:ToTest/sles15-image>`_
53+
directly from ``registry.suse.de`` and is being built from the
54+
`SUSE:SLE-15-SP7:Update:CR:ToTest/sles15-image
55+
<https://build.suse.de/package/show/SUSE:SLE-15-SP7:Update:CR:ToTest/sles15-image>`_
5656
package.
5757

5858
That container is automatically configured at build time to contain the
@@ -61,11 +61,11 @@ tested it). We also want to be able to test the current development state of the
6161
``SLE_BCI`` repository. This can be achieved by setting the environment variable
6262
``BCI_DEVEL_REPO`` to the url of the development/snapshot state. It is published
6363
on ``dist.nue.suse.com`` in one of the subfolders of
64-
http://dist.nue.suse.com/ibs/SUSE:/SLE-15-SP3:/Update:/BCI/images/repo/. Unfortunately,
64+
http://dist.nue.suse.com/ibs/SUSE:/SLE-15-SP7:/Update:/BCI/images/repo/. Unfortunately,
6565
you have to hand pick the correct folder (use the one ending with ``-Media1`` and
6666
for the correct arch) because the build number is put into the folder name.
6767

68-
The ``BASE_CONTAINER`` will then be rebuild with the ``SLE_BCI`` repository
68+
The ``BASE_CONTAINER`` will then be rebuilt with the ``SLE_BCI`` repository
6969
replaced with the one from the ``BCI_DEVEL_REPO`` and all tests will thus use
7070
the new repository.
7171

@@ -172,7 +172,7 @@ that it runs each time before a commit is created. The script exits with a
172172
non-zero status when the desired formatting is not applied.
173173

174174
The :file:`pre-commit-full.sh` script in addition also checks if any container
175-
marker in :file:`pyproject.toml` is missing. This checks takes some time.
175+
marker in :file:`pyproject.toml` is missing. This check takes some time.
176176

177177
To install the hook, execute the following commands from the top level project
178178
directory:

0 commit comments

Comments
 (0)