-
Notifications
You must be signed in to change notification settings - Fork 31
/
koji-containerbuild.spec
714 lines (615 loc) · 31.2 KB
/
koji-containerbuild.spec
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
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
# Enable Python 3 builds for Fedora/RHEL8
%if 0%{?fedora} || 0%{?rhel} >= 8
%bcond_without python3
# If the definition isn't available for python3_pkgversion, define it
%{?!python3_pkgversion:%global python3_pkgversion 3}
%else
%bcond_with python3
%endif
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?__python2: %global __python2 /usr/bin/python2}
%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%endif
%global module koji_containerbuild
Name: koji-containerbuild
Version: 1.3.0
Release: 1%{?dist}
Summary: Koji support for building layered container images
Group: Applications/System
License: LGPLv2
URL: https://github.com/containerbuildsystem/%{name}
Source0: https://github.com/containerbuildsystem/%{name}/archive/%{version}.tar.gz
BuildArch: noarch
%if 0%{with python3}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
%else
BuildRequires: python2-devel
BuildRequires: python-setuptools
%endif
%description
Koji support for building layered container images
%if 0%{with python3}
%package hub
License: LGPLv2
Summary: Hub plugin that extend Koji to build layered container images
Group: Applications/System
Requires: koji-containerbuild
Requires: koji-hub
%description hub
Hub plugin that extend Koji to support building layered container images
%package builder
License: LGPLv2
Summary: Builder plugin that extend Koji to build layered container images
Group: Applications/System
Requires: koji-builder >= 1.26
Requires: koji-containerbuild
Requires: osbs-client >= 2.0.0
Requires: python3-dockerfile-parse
Requires: python3-jsonschema
Requires: python3-six
%description builder
Builder plugin that extend Koji to communicate with OpenShift build system and
build layered container images.
# end with_python3
%endif
%package -n python2-%{name}-cli
License: LGPLv2
Summary: CLI that communicates with Koji to control building layered container images
Group: Applications/System
%{?python_provide:%python_provide python2-%{name}-cli}
Provides: koji-containerbuild-cli
Requires: python2-koji >= 1.13
%description -n python2-%{name}-cli
Builder plugin that extend Koji to communicate with OpenShift build system and
build layered container images.
%if 0%{with python3}
%package -n python%{python3_pkgversion}-%{name}-cli
License: LGPLv2
Summary: CLI that communicates with Koji to control building layered container images
Group: Applications/System
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}-cli}
Provides: koji-containerbuild-cli
Requires: python%{python3_pkgversion}-koji >= 1.13
%description -n python%{python3_pkgversion}-%{name}-cli
Builder plugin that extend Koji to communicate with OpenShift build system and
build layered container images.
%endif
%prep
%setup -q
%build
%if 0%{with python3}
%{__python3} setup.py build
%else
%{__python2} setup.py build
%endif
%install
rm -rf $RPM_BUILD_ROOT
%if 0%{with python3}
%{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%else
%{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
%endif
%if 0%{with python3}
%{__install} -d $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins
%{__install} -p -m 0644 %{module}/plugins/hub_containerbuild.py $RPM_BUILD_ROOT%{_prefix}/lib/koji-hub-plugins/hub_containerbuild.py
%{__install} -d $RPM_BUILD_ROOT%{_prefix}/lib/koji-builder-plugins
%{__install} -p -m 0644 %{module}/plugins/builder_containerbuild.py $RPM_BUILD_ROOT%{_prefix}/lib/koji-builder-plugins/builder_containerbuild.py
%{__install} -d $RPM_BUILD_ROOT%{python3_sitelib}/koji_cli_plugins
%{__install} -p -m 0644 %{module}/plugins/cli_containerbuild.py $RPM_BUILD_ROOT%{python3_sitelib}/koji_cli_plugins/cli_containerbuild.py
%else
%{__install} -d $RPM_BUILD_ROOT%{python2_sitelib}/koji_cli_plugins
%{__install} -p -m 0644 %{module}/plugins/cli_containerbuild.py $RPM_BUILD_ROOT%{python2_sitelib}/koji_cli_plugins/cli_containerbuild.py
%endif
%files
%if 0%{with python3}
%{python3_sitelib}/*
%else
%{python2_sitelib}/*
%endif
%doc docs AUTHORS README.rst
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?_licensedir:%global license %doc}
%endif
%license LICENSE
%if 0%{with python3}
%files -n python%{python3_pkgversion}-%{name}-cli
%{python3_sitelib}/koji_cli_plugins
%files hub
%{_prefix}/lib/koji-hub-plugins/hub_containerbuild.py*
%files builder
%{_prefix}/lib/koji-builder-plugins/builder_containerbuild.py*
%else
%files -n python2-%{name}-cli
%{python2_sitelib}/koji_cli_plugins
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed May 17 2023 Robert Cerven <[email protected]> 1.3.0-1
- new upstream release: 1.3.0
* Thu Dec 15 2022 Robert Cerven <[email protected]> 1.2.1-1
- new upstream release: 1.2.1
* Wed Dec 14 2022 mkosiarc <[email protected]> 1.2.0-1
- new upstream release: 1.2.0
* Thu Nov 03 2022 Robert Cerven <[email protected]> 1.1.0-1
- new upstream release: 1.1.0
* Tue Oct 11 2022 Martin Basti <[email protected]> 1.0.1-1
- new upstream release: 1.0.1
* Thu Oct 06 2022 rcerven <[email protected]> 1.0.0-1
- new upstream release: 1.0.0
* Fri Jul 30 2021 mkosiarc <[email protected]> 0.13.0-1
- builder: document signing_intent parameter ([email protected])
- Freeze flexmock version to 0.10.4 ([email protected])
- Pin jsonschema==3.2.0 in requirements.txt ([email protected])
* Wed Jun 09 2021 Robert Cerven <[email protected]> 0.12.0-1
- Factor out duplicated code for handling task response ([email protected])
- Refactoring: simplify creation of tasks results ([email protected])
- Test UW reading ([email protected])
- Add user warnings to the task output ([email protected])
- Provide an unit test for user warnings ([email protected])
- Collect user warnings from logs and store them ([email protected])
- Remove runtime assertions ([email protected])
- No more TODOs and FIXME in code ([email protected])
- Drop importlib_metadata from requirements.txt ([email protected])
- Fix: Fix passing operator_csv_modifications_url param to orchestrator
- Replace deprecated get-pip.py url ([email protected])
* Mon Mar 15 2021 Martin Bašti <[email protected]> 0.11.0-1
- add task signatures to koji.task.LEGACY_SIGNATURES ([email protected])
- New option --operator-csv-modifications-url ([email protected])
- Replace f32 with f33 to run bandit and pylint ([email protected])
- Fix coveralls 422 Client Error ([email protected])
- Replace f31 with f33 in CI workflow ([email protected])
* Mon Jan 18 2021 Martin Bašti <[email protected]> 0.10.0-1
- Sort CLI output alphabetically ([email protected])
- Pin 'bandit<1.6.3' to resolve an install error on Cent/Py2
- Add 'importlib_metadata' to requirements.txt and pin it < 3...
- Add pytest.ini for pytest improvements ([email protected])
- Silence remaining flake8 hits; mostly WS and wraps ([email protected])
- Add GH workflows ([email protected])
- Add new reqs for unit tests ([email protected])
- Refactor test.sh ([email protected])
- Update README badges ([email protected])
- Remove unneeded config files ([email protected])
* Fri Nov 06 2020 Robert Cerven <[email protected]> 0.9.0-1
- Add unit test ([email protected])
- Trap OsbsValidationException, print it, and raise it as ContainerError
- 'pytest-capturelog' is dead and must be removed ([email protected])
- builder: document space delimier for arch_override ([email protected])
- pyrsistent support for Py 2 ends with release 0.16 ([email protected])
- [markdown] Use older version of mdl (0.9) ([email protected])
* Wed Jul 29 2020 Robert Cerven <[email protected]> 0.8.0-1
- Early check for missing branch, and scratch with isolated build conflict
* Fri Apr 24 2020 Martin Bašti <[email protected]> 0.7.22-1
- Install koji-c and deps for pylint run ([email protected])
- Replace "Signed-off-by:" maintainer task with DCO... ([email protected])
- Add markdownlint config/rules ([email protected])
- Enable MD linting via Travis/test.sh ([email protected])
- Lint all Markdown files ([email protected])
- Mute other errors ([email protected])
- Mute 'redefined-builtin' warning ([email protected])
- Fix single errors ([email protected])
- Fix 'logging-not-lazy' ([email protected])
- Import 'absolute_import' ([email protected])
- Update travis CI for pylint testing ([email protected])
- Add pylint testing ([email protected])
- packit: don't propose downstream update ([email protected])
- Revert "Allow additional properties for containerbuild" ([email protected])
- fix: tito py2 support ([email protected])
- fix: update tito builder to match with expected value in %%setup
- Freeze python 2 test dependency verions ([email protected])
- fix: add custom builder for tito ([email protected])
* Tue Mar 31 2020 Martin Bašti <[email protected]> 0.7.21-1
- tito: tag only with version ([email protected])
- specfile: remove unneded buildroot definition ([email protected])
- specfile: properly identify upstream source ([email protected])
- tito: use version tagger ([email protected])
- don't check for build existance with skip-build ([email protected])
- Change travis for working with Fedora 31 ([email protected])
- Use podman as testing container engine ([email protected])
- Simplify packit config ([email protected])
* Mon Feb 24 2020 Robert Cerven <[email protected]> 0.7.20.1-1
- update setup version for 0.7.20.1 ([email protected])
- allow compose_ids used together with repo_url ([email protected])
* Tue Feb 18 2020 Robert Cerven <[email protected]> 0.7.20-1
- update setup version for 0.7.20 ([email protected])
- Configure packit ([email protected])
- Handle new cachito dependency replacements argument ([email protected])
- Remove urlgrabber dependency ([email protected])
* Thu Jan 23 2020 Robert Cerven <[email protected]> 0.7.19-1
- update setup version for 0.7.19 ([email protected])
- Handle whitelist annotation as a string ([email protected])
- Fix dependency error in test script ([email protected])
- Unit test to make sure additional properties are fine ([email protected])
- Automatic commit of package [koji-containerbuild] minor release [0.7.18.3-1].
- Allow additional properties for containerbuild ([email protected])
- Automatic commit of package [koji-containerbuild] minor release [0.7.18.2-1].
- Allow additional properties for containerbuild ([email protected])
- use orchestrator.log name for log in task for source container
- Automatic commit of package [koji-containerbuild] minor release [0.7.18.1-1].
- don't check for build nvr existance for autorebuilds which have
'triggered_after_koji_task', ([email protected])
- Generate build_annotations.json file ([email protected])
* Wed Dec 18 2019 Robert Cerven <[email protected]> 0.7.18.3-1
- Allow additional properties for containerbuild ([email protected])
* Wed Dec 18 2019 Robert Cerven <[email protected]> 0.7.18.2-1
- Allow additional properties for containerbuild ([email protected])
* Thu Dec 12 2019 Robert Cerven <[email protected]> 0.7.18.1-1
- don't check for build nvr existance for autorebuilds which have
'triggered_after_koji_task', ([email protected])
* Tue Dec 10 2019 Robert Cerven <[email protected]> 0.7.18-1
- Enable shellcheck (bash) lint ([email protected])
- Fail build for existing build if build state isn't failed or canceled, which
will be refunded and reusable ([email protected])
- add custom userdata dictionary to args list ([email protected])
- builder: describe the purpose of git_branch parameter ([email protected])
* Tue Dec 03 2019 Robert Cerven <[email protected]> 0.7.17-1
- use extra keys for build type instead of new typeinfo which is just on new
build ([email protected])
- use koji build 'name' instead of 'package_name' for source containers, for
consistency with atomic-reator ([email protected])
- Disallow building source container from source container image build, and
also disallow any other than 'image' build type ([email protected])
- Fix koji-build-id type ([email protected])
- source container build ([email protected])
- pass triggered_afer_koji_task to osbs-client even when it is 0
* Tue Nov 05 2019 Robert Cerven <[email protected]> 0.7.16-1
- hub: improve docs for "buildContainer" RPC ([email protected])
- README: correct path to Koji Hub configuration file ([email protected])
- Add PR template ([email protected])
- Pass triggered_after_koji_task parameter through to osbs-client
- CI: centos 7: explicitly install more-itertools ([email protected])
- CI: install only py2 osbs-client dependencies in py2 tests
* Tue Sep 24 2019 Robert Cerven <[email protected]> 0.7.15-1
- Skip build option, to update just buildconfig for autorebuilds
- check for required labels name & components only, allow other labels to be
defined from env, check build existence only when explicitly defined nvr
- Stop requiring old pytest ([email protected])
- Fix tests for pytest version 5 ([email protected])
- Put jsonschema definition directly in python file ([email protected])
- README: Update CLI configuration section ([email protected])
- Declare python package runtime dependencies ([email protected])
- Add jsonschema validation for task options ([email protected])
- Clean up hub_containerbuild testing ([email protected])
- Install missing dependency in testing script ([email protected])
- Run Bandit static analyzer on CI jobs ([email protected])
- Remove Fedora 28 testing ([email protected])
- Enable python3 unit-testing ([email protected])
- Install koji-hub package during tests ([email protected])
* Wed Jun 12 2019 Robert Cerven <[email protected]> 0.7.14-1
- fix building when only py3 is available in rhel8 ([email protected])
- enable building py3 package for rhel8 ([email protected])
- change organization references from release-engineering to
containerbuildsystem ([email protected])
- Add unit tests for cli_containerbuild ([email protected])
- Rename test_kcb to test_builder_containerbuild ([email protected])
- Move existing CLI tests to their own file ([email protected])
- Fix wrong license in test_kcb.py ([email protected])
- Remove dead code ([email protected])
- Add unit tests for hub_containerbuild plugin ([email protected])
- Test methods for writings logs ([email protected])
- Test BuildContainerTask.createContainer() failures ([email protected])
- Test missing labels in BuildContainerTask.checkLabels() ([email protected])
- Test scratch configuration in BuildContainerTask.osbs() ([email protected])
- Add stickler config file ([email protected])
* Fri Mar 08 2019 Robert Cerven <[email protected]> 0.7.13.1-1
- allow yum_repo with compose_id ([email protected])
* Wed Mar 06 2019 Robert Cerven <[email protected]> 0.7.13-1
- Add coverall badge to Readme ([email protected])
- CI: Install coverall in install step ([email protected])
- containerbuild: make sure the target exists before trying to tag it
- use incremental_upload for metadata.json, because source file is on read-only
filesystem ([email protected])
* Fri Jan 11 2019 Robert Cerven <[email protected]> 0.7.12.1-1
- copy instead of move metadata.json, because brew builder has source mounted
as read-only ([email protected])
* Tue Jan 08 2019 Robert Cerven <[email protected]> 0.7.12-1
- move metadata.json to task output for scratch ([email protected])
- Add development requirements file ([email protected])
- Update OSBS Flatpak support check ([email protected])
- Add CONTRIBUTING.md ([email protected])
- README: updates for osbs-client package ([email protected])
- Drop py2.6 support ([email protected])
- travis: use recent fedora versions ([email protected])
- Py3: replace `file` with `open` ([email protected])
- Py 2to3 updates ([email protected])
* Fri Oct 05 2018 Robert Cerven <[email protected]> 0.7.11-1
- No need to use psql when creating channel ([email protected])
- Proper obsolete of koji-containerbuild-cli ([email protected])
- Automatic commit of package [koji-containerbuild] minor release [0.7.10-1].
* Wed Aug 22 2018 Robert Cerven <[email protected]> 0.7.10-1
- Pin setuptools version for RHEL6 to 39.2 ([email protected])
- parse compose-ids as integers ([email protected])
* Fri Jun 29 2018 Robert Cerven <[email protected]> 0.7.9.1-1
- allow arch-override for isolated builds ([email protected])
* Wed Jun 13 2018 Robert Cerven <[email protected]> 0.7.9-1
- conditional install for py3 ([email protected])
- typo in python3-koji require ([email protected])
- BuildRequire for python3-devel ([email protected])
- Fix CentOS 6 Travis CI tests ([email protected])
- make CLI proper koji plugin ([email protected])
- test.sh: install PyYAML for osbs-client ([email protected])
- docs: minor improvements ([email protected])
* Fri Mar 23 2018 Robert Cerven <[email protected]> 0.7.8-1
- cleanup flatpak ([email protected])
- Use with-open-as instead of open-try-finally-close ([email protected])
- remove retries of reading logs ([email protected])
* Tue Jan 16 2018 Robert Cerven <[email protected]> 0.7.7-2
- Disable rawhide testing ([email protected])
- Make Docker relabel the volume ([email protected])
- travis.yml: F25 is EOL, use F27 instead ([email protected])
- Disallow use of yum_repourls with compose_ids ([email protected])
- tests: install specific versions of test package to avoid test packages
update breaks ([email protected])
- Add compose_ids and signing_intent options ([email protected])
- Disallow private branches for non-scratch container builds
* Mon Nov 06 2017 Robert Cerven <[email protected]> 0.7.6-2
- Added docstring to CLI ([email protected])
- raise error when arches_override are used for non-scratch builds
* Wed Oct 04 2017 Robert Cerven <[email protected]> 0.7.5-2
- test.sh: install epel-release for centos first ([email protected])
- Run tests in Travis CI using containers ([email protected])
- setup.py: remove bogus install_requires ([email protected])
- Remove pycurl ([email protected])
- Add FileHandler for osbs module ([email protected])
- Fix test_cli_args unit test ([email protected])
- Remove kojid module loading ([email protected])
- Don't check for isolated option if flatpak is specified ([email protected])
- Use arch-override as str ([email protected])
- test_kcb: initial infra for improved logging self-tests/verification
- builder_containerbuild: clean up and simplify demux/non-demux split
- builder_containerbuild: write cleanups ([email protected])
- builder_containerbuild: use get_orchestrator_build_logs api
- Flatpak support ([email protected])
- Clean up container-build CLI ([email protected])
- cli: add --arches argument option ([email protected])
- cli: write a test case for the arguments parser ([email protected])
- tests: throw OsbsOrchestratorNotEnabled if available ([email protected])
* Tue Sep 05 2017 Robert Cerven <[email protected]> 0.7.4-1
- Use OsbsOrchestratorNotEnabled exception ([email protected])
- Add support for isolated builds ([email protected])
* Mon Jul 31 2017 Robert Cerven <[email protected]> 0.7.3-1
- Fix typo, koij -> koji ([email protected])
- Update API for koji 1.13 changes: * activate_session now requires two
parameters * _running_in_bg moved to koji_cli.lib ([email protected])
- fix tests, call correct koji api to cancel task
- add speculative message about osbs cancellation for autorebuild
- Cancel a koji task if the osbs task is cancelled
* Tue Apr 04 2017 Robert Cerven <[email protected]> 0.7.2-1
- check if pkg can be tagged ([email protected])
- orchestrator build can only successfully run if can_orchestrate option is
set, in osbs.conf otherwise will fallback to regular prod_build
- add unit testing for orchestrator builds ([email protected])
- Use osbs-client's create_orchestrator_build method if available
* Tue Nov 15 2016 Luiz Carvalho <[email protected]> 0.7.1-1
- Move long tag check in checkLabels ([email protected])
- Update tests and documentation after tasks have been merged
- Merge buildContainer and createContainer tasks ([email protected])
- Pick the longest tag correctly ([email protected])
- Pick the longest tag part among release and a list from additional-tags
- Reject a build if the longest tag is longer than 128 chars
- Trap build cancellation using signal handler ([email protected])
- tests: make tests work ([email protected])
- Cancel build when createContainer task is cancelled (throws
koji.GenericException) ([email protected])
- Drop support for release parameter ([email protected])
* Wed Jun 29 2016 Luiz Carvalho <[email protected]> 0.6.6-1
- Use osbs 'scratch' configuration for scratch builds ([email protected])
- Revert "Disable scratch builds" ([email protected])
- make streamed logs line-buffered ([email protected])
- Remove default value for release parameter ([email protected])
* Fri Jun 24 2016 Luiz Carvalho <[email protected]> 0.6.5-1
- Show build's error message if available ([email protected])
- Disable scratch builds ([email protected])
- Should use label 'Release' to set release ([email protected])
* Wed Jun 22 2016 Brendan Reilly <[email protected]> 0.6.4-1
- Fail createContainer if OpenShift build fails ([email protected])
- Added a few unit tests ([email protected])
- Make "Release" label optional ([email protected])
- Use correct object for session during nvr check and log the error
* Thu Jun 02 2016 Brendan Reilly <[email protected]> 0.6.3-1
- Fix task result output ([email protected])
- Handle release parameter ([email protected])
* Wed May 25 2016 Brendan Reilly <[email protected]> 0.6.2-1
- supply koji_task_id to osbs-client's create_build() ([email protected])
- no need to warn about build result not being JSON ([email protected])
- Use component label in nvr check ([email protected])
- Don't check NVR for scratch builds and move nvr check closer to build object
creation ([email protected])
- Don't start the build if package with this NVR already has been built
- Expose Koji CG build ID in CreateContainerTask ([email protected])
* Mon Apr 11 2016 Brendan Reilly <[email protected]> 0.6.1-1
- Reinstate _get_repositories() method (fixes #35) ([email protected])
- Add back in bits required for streaming logs (fixes #33) ([email protected])
* Thu Apr 07 2016 Brendan Reilly <[email protected]> 0.6.0-1
- remove un-necessary code for v2-only CG builds
- runBuilds: add debug for arches ([email protected])
- runBuilds make label unique and be able to build archfully ([email protected])
- Build process documentation - quick and dirty ([email protected])
* Mon Mar 14 2016 Pavol Babincak <[email protected]> 0.5.7-1
- Updated docs how to create a release ([email protected])
- add some post-install instructions ([email protected])
- incorporated new osbs api for compression fix ([email protected])
* Tue Mar 08 2016 Pavol Babincak <[email protected]> 0.5.6-1
- Backport spec file from Fedora ([email protected])
- Include docs in MANIFEST.in ([email protected])
- Use .md extension for build architecture ([email protected])
- quickfix for downloads always being .tar ([email protected])
- Channel override in CLI ([email protected])
- Build process documentation - quick and dirty ([email protected])
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> - 0.5.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Dec 04 2015 Pavol Babincak <[email protected]> 0.5.5-1
- Add README.rst to a release ([email protected])
- Use %%global macro instead of %%define one ([email protected])
- Require main package in subpackages to always install license file
- Add license directives to subpackages ([email protected])
* Thu Dec 03 2015 Pavol Babincak <[email protected]> 0.5.4-3
- Simplify inclusion of python modules to get proper owners
- Explicit __python2 definitions on <=rhel6 ([email protected])
- Explicit use of python2 and BuildRequires on python2-devel
- %%defattr macro isn't needed anymore ([email protected])
- Use %%license tag for license on RHEL && RHEL <= 6 ([email protected])
- Fix permissions for CLI binary ([email protected])
- Wrap package descriptions to make rpmlint happy ([email protected])
- Replace Requires on osbs with osbs-client ([email protected])
- Remove koji Requires from the base package ([email protected])
- Replace koji-builder with koji dependency for cli subpackage
- Specify how release tarballs are created ([email protected])
- Use build system instead of buildsystem to make rpmlint happy
- Fix name macro in URL ([email protected])
* Fri Nov 20 2015 Pavol Babincak <[email protected]> 0.5.4-2
- fix spec paths, libdir evals to /usr/lib64/ on 64-bit build hosts which is
the wrong path for koji plugins ([email protected])
* Fri Nov 20 2015 Pavol Babincak <[email protected]> 0.5.4-1
- Reinit curl after fork to properly process incremental logs
- Add support to new LABEL names and make architecture optional
- Fix serious issue: check external rpms for *non*scratch builds
- Catch errors raised by markExternalRPMs and raise it as koji.PostBuildError
- Get list of rpms and repositories only for successful builds
- Download image tarball only if build was successful ([email protected])
- Log list of all rpms from osbs response as formatted rpm list
- Refactor: get rpm packages to separate method ([email protected])
- Refactor: get docker repositories to separate method ([email protected])
- Fail only if build was successful and it haven't generated any tarball
- Improve log write related exception messages ([email protected])
- Raise ContainerError exceptions when something goes wrong with osbs logs
- Pass branch and push_url from opts to osbs's create_build()
- Uploader process check if child (which fetches logs) finished
- Overall docs about build architecture ([email protected])
- change log msg level to info ([email protected])
- Properly handle empty repositories in osbs response ([email protected])
- Wait between new connection/fetch logs ([email protected])
- Use get_build_name() instead of build_id to get osbs build id
* Tue Jul 14 2015 Pavol Babincak <[email protected]> 0.5.3-1
- List repositories in status message of buildContainer task
- Print osbs build id in the error message about failed build
- If not exactly one image was built leave fail to parent ([email protected])
- Use DockerfileParser class from dockerfile_parse module for parsing
- Download docker logs at the end of the build ([email protected])
- Try fetch OSBS logs with follow and incrementally upload them
- If final tarball cannot be downloaded log error and continue
- Accept repo URLs in CLI and pass it in builder plugin to osbs
- Improve error message when there were unexpected number of builds
- Fix: correctly format string before passing to ContainerError
- Fix formatting of README.rst ([email protected])
* Mon Jun 15 2015 Pavol Babincak <[email protected]> 0.5.2-1
- Use BZComponent LABEL instead of Name ([email protected])
* Fri Jun 12 2015 Pavol Babincak <[email protected]> 0.5.1-1
- Explicit string conversion before urlgrabber.urlgrab() and more logging
- Explicitly set urlgrab ssl verify options which pycurl expects
* Fri Jun 12 2015 Pavol Babincak <[email protected]> 0.5.0-1
- Read LABELs from Dockerfile ([email protected])
* Fri Jun 12 2015 Pavol Babincak <[email protected]> 0.4.0-1
- Download container image via https ([email protected])
- Tag package (image) after successful build if not scratch
* Tue Jun 09 2015 Pavol Babincak <[email protected]> 0.3.1-1
- Add missing import imp ([email protected])
* Mon Jun 08 2015 Pavol Babincak <[email protected]> 0.3.0-1
- Remove code which always overwrote release ([email protected])
- Removed not used imports ([email protected])
- Import kojipath from path set via variable not from inspection
- More debug info: list rpm_packages ([email protected])
- Mock image tarball as we don't get this from the buildsystem (yet)
- Pull getting task options to separate method ([email protected])
- Pull package (image) whitelist check into separate method
- Reuse image tables and methods for container builds ([email protected])
- Don't pass build_tag as separate argument to createContainer task
* Wed Jun 03 2015 Pavol Babincak <[email protected]> 0.2.0-2
- Don't require python-distutils. distutils is part of python-libs pkg
* Wed May 27 2015 Pavol Babincak <[email protected]> 0.2.0-1
- Explicitly list code which are hack around database constraints
- refactor: remove not used code and move comment to better position
- Get name from name of the basename repository for non-scratch builds
- Extend SCM object with get_component() and get_git_uri() and use it
- Use logger to write logs and not sys.stderr.write ([email protected])
- Use container_archives not image_archives table ([email protected])
- Use attributes of BuildResponse object to query responses
- Connect to osbs logger to print more debug info via own logger
- Improve rpm_packages listings ([email protected])
- Support non-scratch builds with listing of the contents ([email protected])
- builderplugin: import kojid binary as kojid module ([email protected])
- builderplugin: Use single handler to OSBS object ([email protected])
* Mon May 18 2015 Pavol Babincak <[email protected]> 0.1.2-1
- add BuildRoot tag (needed for rhel<6) ([email protected])
- use alternate method to import kojihub ([email protected])
* Wed May 13 2015 Pavol Babincak <[email protected]> 0.1.1-1
- Documentation for buildContainer task ([email protected])
- In buildContainer task use "container" channel by default
* Wed May 13 2015 Pavol Babincak <[email protected]> 0.1.0-2
- Bump Release instead of Version ([email protected])
- Use BuildArch noarch ([email protected])
* Mon May 04 2015 Pavol Babincak <[email protected]> 0.1.0-1
- first public release