-
Notifications
You must be signed in to change notification settings - Fork 2
605 lines (453 loc) · 23 KB
/
build-and-test-deb.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
name: Build and test deb package for linupdate
on:
push:
branches: [ devel ]
pull_request:
push:
branches: [ main ]
jobs:
build-deb:
name: Build deb package
runs-on: ubuntu-latest
container:
image: debian:latest
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
- name: Install dependencies packages
run: apt-get update && apt-get install build-essential binutils lintian debhelper dh-make devscripts -y
- name: Create build environment
run: |
mkdir -p /tmp/linupdate-build/DEBIAN
mkdir -p /tmp/linupdate-build/etc/linupdate/modules
mkdir -p /tmp/linupdate-build/opt/linupdate
mkdir -p /tmp/linupdate-build/opt/linupdate/src/
mkdir -p /tmp/linupdate-build/opt/linupdate/templates/
mkdir -p /tmp/linupdate-build/lib/systemd/system/
- name: Copy files to include in the build
run: |
cp -r ${GITHUB_WORKSPACE}/src/* /tmp/linupdate-build/opt/linupdate/src/
cp -r ${GITHUB_WORKSPACE}/templates/* /tmp/linupdate-build/opt/linupdate/templates/
cp ${GITHUB_WORKSPACE}/linupdate.py /tmp/linupdate-build/opt/linupdate/linupdate.py
cp ${GITHUB_WORKSPACE}/service.py /tmp/linupdate-build/opt/linupdate/service.py
cp ${GITHUB_WORKSPACE}/version /tmp/linupdate-build/opt/linupdate/version
cp -r ${GITHUB_WORKSPACE}/service/linupdate.systemd.template /tmp/linupdate-build/lib/systemd/system/linupdate.service
- name: Copy control file
run: |
cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/deb/control /tmp/linupdate-build/DEBIAN/control
sed -i "s/__VERSION__/${{ env.VERSION }}/g" /tmp/linupdate-build/DEBIAN/control
- name: Copy preinst and postinst script
run: |
cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/deb/preinst /tmp/linupdate-build/DEBIAN/preinst
cp ${GITHUB_WORKSPACE}/.github/workflows/packaging/deb/postinst /tmp/linupdate-build/DEBIAN/postinst
chmod 755 /tmp/linupdate-build/DEBIAN/preinst /tmp/linupdate-build/DEBIAN/postinst
- name: Build package
run: |
cd /tmp
dpkg-deb --build linupdate-build
mv /tmp/linupdate-build.deb /tmp/linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
path: /tmp/linupdate-test-build_${{ env.VERSION }}_all.deb
retention-days: 1
# Linupdate 3 is not working on Debian 10
# Try to install package on Debian 10
# install-debian-10:
# name: Install on Debian 10
# needs:
# build-deb
# runs-on: ubuntu-latest
# container:
# image: debian:10
# options: --user root
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Get linupdate version
# run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# # Download builded deb package artifact
# - name: Download artifact
# uses: actions/download-artifact@v4
# with:
# name: linupdate-test-build_${{ env.VERSION }}_all.deb
# - name: Install package
# run: |
# apt-get update -y
# apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# - name: Launch linupdate
# run: python3 /opt/linupdate/linupdate.py --check-updates
# Try to install package on Debian 11
install-debian-11:
name: Install (Debian 11)
needs:
build-deb
runs-on: ubuntu-latest
container:
image: debian:11
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# Download builded deb package artifact
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Install package
run: |
apt-get update -y
apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# Tests some params
- name: "Run test: print help"
run: python3 /opt/linupdate/linupdate.py --help
- name: "Run test: print configuration"
run: python3 /opt/linupdate/linupdate.py --show-config
- name: "Run test: print version"
run: python3 /opt/linupdate/linupdate.py --version
- name: "Run test: switch profile"
run: python3 /opt/linupdate/linupdate.py --profile container
- name: "Run test: switch environment"
run: python3 /opt/linupdate/linupdate.py --env test
- name: "Run test: disable mail"
run: python3 /opt/linupdate/linupdate.py --mail-enable false
- name: "Run test: set mail recipient"
run: python3 /opt/linupdate/linupdate.py --set-mail-recipient [email protected],[email protected]
- name: "Run test: set mail smtp host"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-host localhost
- name: "Run test: get mail smtp host"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-host
- name: "Run test: set mail smtp port"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-port 25
- name: "Run test: get mail smtp port"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-port
- name: "Run test: set package exclusions"
run: python3 /opt/linupdate/linupdate.py --exclude "kernel.*"
- name: "Run test: get package exclusions"
run: python3 /opt/linupdate/linupdate.py --get-exclude
- name: "Run test: set package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --exclude-major "apache2,mysql.*"
- name: "Run test: get package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --get-exclude-major
- name: "Run test: set services to restart after update"
run: python3 /opt/linupdate/linupdate.py --service-restart "apache2,mysql"
- name: "Run test: get services to restart after update"
run: python3 /opt/linupdate/linupdate.py --get-service-restart
- name: "Run test: check updates"
run: python3 /opt/linupdate/linupdate.py --check-updates
- name: "Run text: update specific packages"
run: python3 /opt/linupdate/linupdate.py --update curl,wget,apache2 --assume-yes
- name: "Run test: list available modules"
run: python3 /opt/linupdate/linupdate.py --mod-list
- name: "Run test: enable reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-enable reposerver
- name: "Run test: configure reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --url https://packages.repomanager.net
- name: "Run test: register to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --api-key ${{ secrets.REPOSITORY_TOKEN }} --register
- name: "Run test: send all informations to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --send-all-info
- name: "Run test: unregister from reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --unregister
# Try to install package on Debian 12
install-debian-12:
name: Install (Debian 12)
needs:
build-deb
runs-on: ubuntu-latest
container:
image: debian:12
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# Download builded deb package artifact
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Install package
run: |
apt-get update -y
apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# Tests some params
- name: "Run test: print help"
run: python3 /opt/linupdate/linupdate.py --help
- name: "Run test: print configuration"
run: python3 /opt/linupdate/linupdate.py --show-config
- name: "Run test: print version"
run: python3 /opt/linupdate/linupdate.py --version
- name: "Run test: switch profile"
run: python3 /opt/linupdate/linupdate.py --profile container
- name: "Run test: switch environment"
run: python3 /opt/linupdate/linupdate.py --env test
- name: "Run test: disable mail"
run: python3 /opt/linupdate/linupdate.py --mail-enable false
- name: "Run test: set mail recipient"
run: python3 /opt/linupdate/linupdate.py --set-mail-recipient [email protected],[email protected]
- name: "Run test: set mail smtp host"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-host localhost
- name: "Run test: get mail smtp host"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-host
- name: "Run test: set mail smtp port"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-port 25
- name: "Run test: get mail smtp port"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-port
- name: "Run test: set package exclusions"
run: python3 /opt/linupdate/linupdate.py --exclude "kernel.*"
- name: "Run test: get package exclusions"
run: python3 /opt/linupdate/linupdate.py --get-exclude
- name: "Run test: set package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --exclude-major "apache2,mysql.*"
- name: "Run test: get package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --get-exclude-major
- name: "Run test: set services to restart after update"
run: python3 /opt/linupdate/linupdate.py --service-restart "apache2,mysql"
- name: "Run test: get services to restart after update"
run: python3 /opt/linupdate/linupdate.py --get-service-restart
- name: "Run test: check updates"
run: python3 /opt/linupdate/linupdate.py --check-updates
- name: "Run text: update specific packages"
run: python3 /opt/linupdate/linupdate.py --update curl,wget,apache2 --assume-yes
- name: "Run test: list available modules"
run: python3 /opt/linupdate/linupdate.py --mod-list
- name: "Run test: enable reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-enable reposerver
- name: "Run test: configure reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --url https://packages.repomanager.net
- name: "Run test: register to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --api-key ${{ secrets.REPOSITORY_TOKEN }} --register
- name: "Run test: send all informations to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --send-all-info
- name: "Run test: unregister from reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --unregister
# Try to install package on Ubuntu 22.04
install-ubuntu-2204:
name: Install (Ubuntu 22.04)
needs:
build-deb
runs-on: ubuntu-latest
container:
image: ubuntu:22.04
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# Download builded deb package artifact
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Install package
run: |
apt-get update -y
apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# Tests some params
- name: "Run test: print help"
run: python3 /opt/linupdate/linupdate.py --help
- name: "Run test: print configuration"
run: python3 /opt/linupdate/linupdate.py --show-config
- name: "Run test: print version"
run: python3 /opt/linupdate/linupdate.py --version
- name: "Run test: switch profile"
run: python3 /opt/linupdate/linupdate.py --profile container
- name: "Run test: switch environment"
run: python3 /opt/linupdate/linupdate.py --env test
- name: "Run test: disable mail"
run: python3 /opt/linupdate/linupdate.py --mail-enable false
- name: "Run test: set mail recipient"
run: python3 /opt/linupdate/linupdate.py --set-mail-recipient [email protected],[email protected]
- name: "Run test: set mail smtp host"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-host localhost
- name: "Run test: get mail smtp host"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-host
- name: "Run test: set mail smtp port"
run: python3 /opt/linupdate/linupdate.py --set-mail-smtp-port 25
- name: "Run test: get mail smtp port"
run: python3 /opt/linupdate/linupdate.py --get-mail-smtp-port
- name: "Run test: set package exclusions"
run: python3 /opt/linupdate/linupdate.py --exclude "kernel.*"
- name: "Run test: get package exclusions"
run: python3 /opt/linupdate/linupdate.py --get-exclude
- name: "Run test: set package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --exclude-major "apache2,mysql.*"
- name: "Run test: get package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --get-exclude-major
- name: "Run test: set services to restart after update"
run: python3 /opt/linupdate/linupdate.py --service-restart "apache2,mysql"
- name: "Run test: get services to restart after update"
run: python3 /opt/linupdate/linupdate.py --get-service-restart
- name: "Run test: check updates"
run: python3 /opt/linupdate/linupdate.py --check-updates
- name: "Run text: update specific packages"
run: python3 /opt/linupdate/linupdate.py --update curl,wget,apache2 --assume-yes
- name: "Run test: list available modules"
run: python3 /opt/linupdate/linupdate.py --mod-list
- name: "Run test: enable reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-enable reposerver
- name: "Run test: configure reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --url https://packages.repomanager.net
- name: "Run test: register to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --api-key ${{ secrets.REPOSITORY_TOKEN }} --register
- name: "Run test: send all informations to reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --send-all-info
- name: "Run test: unregister from reposerver"
run: python3 /opt/linupdate/linupdate.py --mod-configure reposerver --unregister
# Try to install package on Ubuntu (latest)
install-ubuntu-latest:
name: Install (latest Ubuntu)
needs:
build-deb
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# Download builded deb package artifact
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Install package
run: |
sudo apt-get update -y
sudo apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# Tests some params
- name: "Run test: print help"
run: sudo python3 /opt/linupdate/linupdate.py --help
- name: "Run test: print configuration"
run: sudo python3 /opt/linupdate/linupdate.py --show-config
- name: "Run test: print version"
run: sudo python3 /opt/linupdate/linupdate.py --version
- name: "Run test: switch profile"
run: sudo python3 /opt/linupdate/linupdate.py --profile container
- name: "Run test: switch environment"
run: sudo python3 /opt/linupdate/linupdate.py --env test
- name: "Run test: disable mail"
run: sudo python3 /opt/linupdate/linupdate.py --mail-enable false
- name: "Run test: set mail recipient"
run: sudo python3 /opt/linupdate/linupdate.py --set-mail-recipient [email protected],[email protected]
- name: "Run test: set mail smtp host"
run: sudo python3 /opt/linupdate/linupdate.py --set-mail-smtp-host localhost
- name: "Run test: get mail smtp host"
run: sudo python3 /opt/linupdate/linupdate.py --get-mail-smtp-host
- name: "Run test: set mail smtp port"
run: sudo python3 /opt/linupdate/linupdate.py --set-mail-smtp-port 25
- name: "Run test: get mail smtp port"
run: sudo python3 /opt/linupdate/linupdate.py --get-mail-smtp-port
- name: "Run test: set package exclusions"
run: sudo python3 /opt/linupdate/linupdate.py --exclude "kernel.*"
- name: "Run test: get package exclusions"
run: sudo python3 /opt/linupdate/linupdate.py --get-exclude
- name: "Run test: set package exclusions on major update"
run: sudo python3 /opt/linupdate/linupdate.py --exclude-major "apache2,mysql.*"
- name: "Run test: get package exclusions on major update"
run: sudo python3 /opt/linupdate/linupdate.py --get-exclude-major
- name: "Run test: set services to restart after update"
run: sudo python3 /opt/linupdate/linupdate.py --service-restart "apache2,mysql"
- name: "Run test: get services to restart after update"
run: sudo python3 /opt/linupdate/linupdate.py --get-service-restart
- name: "Run test: check updates"
run: sudo python3 /opt/linupdate/linupdate.py --check-updates
- name: "Run text: update specific packages"
run: sudo python3 /opt/linupdate/linupdate.py --update curl,wget,apache2 --assume-yes
- name: "Run test: list available modules"
run: sudo python3 /opt/linupdate/linupdate.py --mod-list
- name: "Run test: enable reposerver module"
run: sudo python3 /opt/linupdate/linupdate.py --mod-enable reposerver
- name: "Run test: configure reposerver module"
run: sudo python3 /opt/linupdate/linupdate.py --mod-configure reposerver --url https://packages.repomanager.net
- name: "Run test: register to reposerver"
run: sudo python3 /opt/linupdate/linupdate.py --mod-configure reposerver --api-key ${{ secrets.REPOSITORY_TOKEN }} --register
- name: "Run test: send all informations to reposerver"
run: sudo python3 /opt/linupdate/linupdate.py --mod-configure reposerver --send-all-info
- name: "Run test: unregister from reposerver"
run: sudo python3 /opt/linupdate/linupdate.py --mod-configure reposerver --unregister
# Try to migrate from old linupdate (bash) to new linupdate (python) package on Debian 12
migrate-debian-12:
name: Migrate bash linupdate to python linupdate (Debian 12)
needs:
build-deb
runs-on: ubuntu-latest
container:
image: debian:12
options: --user root
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Get linupdate version
run: echo "VERSION=$(cat ${GITHUB_WORKSPACE}/version)" >> $GITHUB_ENV
# Install linupdate bash version
- name: Install linupdate bash version
run: |
apt-get update -y
apt-get install -y curl gpg
curl -sS https://packages.repomanager.net/repo/gpgkeys/packages.repomanager.net.pub | gpg --dearmor > /etc/apt/trusted.gpg.d/packages.repomanager.net.gpg
echo "deb https://packages.repomanager.net/repo/linupdate/bullseye/main_prod bullseye main" > /etc/apt/sources.list.d/linupdate.list
apt-get update -y
apt-get install -y linupdate
# Set up some params
- name: Set up linupdate bash version
run: |
linupdate --profile test-migration
linupdate --env test-migration
linupdate --exclude package1,package2
linupdate --exclude-major package3,package4
sed -i 's/MAIL_RECIPIENT=.*/MAIL_RECIPIENT="[email protected]"/g' /etc/linupdate/linupdate.conf
sed -i 's/SERVICE_RESTART=.*/SERVICE_RESTART="service1,service2"/g' /etc/linupdate/linupdate.conf
linupdate --mod-enable reposerver
linupdate --mod-configure reposerver --url https://packages.repomanager.net --fail-level 3
linupdate --mod-configure reposerver --get-packages-conf-from-reposerver no
linupdate --mod-configure reposerver --get-repos-from-reposerver no
linupdate --mod-configure reposerver --api-key ${{ secrets.REPOSITORY_TOKEN }} --register
linupdate --mod-configure reposerver --unregister
# Download builded deb package artifact
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: linupdate-test-build_${{ env.VERSION }}_all.deb
- name: Install package
run: |
apt-get update -y
apt-get install -y ./linupdate-test-build_${{ env.VERSION }}_all.deb
# Tests some params
- name: Print config files content
run: |
cat /etc/linupdate/linupdate.yml /etc/linupdate/update.yml
- name: "Run test: print help"
run: python3 /opt/linupdate/linupdate.py --help
- name: "Run test: print version"
run: python3 /opt/linupdate/linupdate.py --version
- name: "Run test: print profile"
run: python3 /opt/linupdate/linupdate.py --profile
- name: "Run test: print environment"
run: python3 /opt/linupdate/linupdate.py --env
- name: "Run test: get mail recipient"
run: python3 /opt/linupdate/linupdate.py --get-mail-recipient
- name: "Run test: get package exclusions"
run: python3 /opt/linupdate/linupdate.py --get-exclude
- name: "Run test: get package exclusions on major update"
run: python3 /opt/linupdate/linupdate.py --get-exclude-major
- name: "Run test: get services to restart after update"
run: python3 /opt/linupdate/linupdate.py --get-service-restart
- name: "Run test: enable reposerver module"
run: python3 /opt/linupdate/linupdate.py --mod-enable reposerver
- name: "Run test: check updates"
run: python3 /opt/linupdate/linupdate.py --check-updates
- name: "Run text: update specific packages"
run: python3 /opt/linupdate/linupdate.py --update curl,wget,apache2 --assume-yes
- name: "Run test: print raw configuration"
run: python3 /opt/linupdate/linupdate.py --show-config
- name: "Run test: print config files"
run: ls -l /etc/linupdate/ /etc/linupdate/modules/