Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
Muhammad Falak R Wani 36367cba80
toolkit: bump azidentity 1.3.1 -> 1.6.0 to address CVE-2024-35255 (#9382)
Fixes: https://github.com/microsoft/azurelinux/security/dependabot/13
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2024-06-27 07:43:10 +05:30
dependabot[bot] f07a91a36d
Bump golang.org/x/net from 0.18.0 to 0.23.0 in /toolkit/tools (#8847)
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-22 09:47:05 -07:00
nicolas guibourge 08103edbbe
Adress CodeQL issue due to rebranding (#8774)
Co-authored-by: CBL-Mariner Servicing Account <cblmargh@microsoft.com>
2024-04-12 07:14:50 -07:00
Mandeep Plaha f7dde9a037
add image-id file in etc dir (#8663) 2024-04-11 10:20:19 -07:00
Neha Agarwal 07ec048b78
Sort, reorder and color build summary output (#6649)
Add new make option LOG_COLOR with options auto (default), always, never. 'always' colors both terminal output and logs; 'auto' colors only terminal output; 'never' disables color in both.
2024-02-02 09:52:50 -08:00
dependabot[bot] ceb3c7eada
Bump golang.org/x/crypto from 0.15.0 to 0.17.0 in /toolkit/tools (#7045)
Signed-off-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-01 11:40:05 -08:00
Muhammad Falak R Wani 92a5d7b09e
toolkit: gomod: upgrade gonum 0.11.0 -> 0.14.0 (#6741)
v0.14.0 of the gonum package has a breaking change in the YenKShortestPaths function.
The function now takes an additional argument of cost and returns paths less than the cost.
To have the same semantic behavior prior to this change update arguments in YenKShortestPaths
by assigning `cost == math.Inf(1)`.

Reference: https://github.com/gonum/gonum/pull/1863
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2023-11-14 08:36:50 +05:30
Muhammad Falak R Wani 867e72b513
toolkit: gomod: bump dependencies to address CVEs (#6721)
Fixes: https://github.com/microsoft/CBL-Mariner/security/dependabot/9
Fixes: https://github.com/microsoft/CBL-Mariner/security/dependabot/10
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2023-11-13 08:34:40 +05:30
George Mileka a4101d67e4
Performance Improvement: Add support for downloading/uploading ccache archives (#6314)
* Add support for per-package ccache.

* Add support for removing ccache archives that are not the latest.

* Protect against failed ccache manager initialization.

* Update ccache configuration parameter dump.

* Use runtime build architecture instead of rpm node architecture.

* Fix error wrapping + minor changes.

* Fix formatting (make go-tidy-all).

* Fix typo in error message.
2023-10-17 10:57:36 -07:00
Chris Gunn 7b6f8cf093
Image Customizer: Add/remove packages (#6344) 2023-10-09 16:01:40 -07:00
Pawel Winogrodzki aafec95882
Updated Ubuntu requirements doc with better Golang instructions. (#6348)
* Updating Ubuntu requirements doc.

* Adding missed Go version update.
2023-10-05 16:53:14 -07:00
Daniel McIlvaney bd43083f65
Add a fallback lazy mode to chroot unmount (#6216)
* Add a fallback lazy mode to chroot unmount
2023-09-27 14:32:23 -07:00
Chris Gunn c1dc869a11
Mariner Image Customizer boilerplate (#5982) 2023-09-20 15:19:33 -07:00
Muhammad Falak R Wani 4316572daa
Bump gopkg.in/yaml.v3 to 3.0.0 to address CVE-2022-28948 (#6118)
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2023-09-01 17:00:47 +05:30
Pawel Winogrodzki 6b92f19933
Added tool name to printed logs. (#5988) 2023-08-11 18:20:30 -07:00
Pawel Winogrodzki bd53480765
Updated tooling to use Golang 1.19. (#5742) 2023-07-20 11:15:26 -07:00
dependabot[bot] f6b5cd2e72
Bump golang.org/x/text from 0.3.7 to 0.3.8 in /toolkit/tools (#4910)
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-23 15:10:24 -08:00
Henry Li 12fb324a4c
Add network configuration for unattended ISO install (#3008)
* save initial network config prototype

* save current changes for network configuration

* add feature for reading device name

* rename file name

* save current workload

* save and re-implement

* network config implementation

* test for pxe-boot

* add unit test

* remove unnecessary change and add more condition checking

* remove test file

* fix go formatting errors

* fix package path

* fix error in package path

* fix bug in unit test

* fix setting hostname issue and add addtional test

* Update toolkit/tools/imagegen/configuration/networkconfig.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* resolve some comments

* resolve comments

* resolve go formatting error

* run go mod tidy

* Update toolkit/docs/formats/imageconfig.md

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* fix comment

* enable mbr partitioning support in Mariner

* update file format and remove unnecessary changes

* update implementation

* fix go formatting error

* modify comment for better explanation

* fix typo

* Update toolkit/tools/imagegen/diskutils/diskutils.go

Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>

* fix bug in sector calculation

* save changes

* add more comment support

* resolve comments

* resolve comments

* Update toolkit/tools/imagegen/diskutils/diskutils.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* update regex pattern matching check

* merge with upstream branch and re-update go formatting

* remove unnecessary changes

* update findBootIfValue

* staging change for testing

* update bootif code

* fix incorrect file push

* Update toolkit/docs/formats/imageconfig.md

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/imagegen/configuration/networkconfig_test.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/imagegen/configuration/networkconfig_test.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/imagegen/configuration/networkconfig_test.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* Update toolkit/tools/imagegen/configuration/networkconfig.go

Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>

* resolve comments

* update comments

* remove unnecessary files

* fix comment

* update confusing variable name

Co-authored-by: Henry Li <lihl@microsoft.com>
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
Co-authored-by: Daniel McIlvaney <damcilva@microsoft.com>
2022-07-11 13:55:16 -07:00
Muhammad Falak R Wani 74ece200ea
tools: gomod: bump gonum to 0.11.0 to fix segfault in `graph/iterator.(*mapIter).next` (#3153)
Reference: https://github.com/gonum/gonum/issues/1775

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2022-06-14 06:48:11 +05:30
Pawel Winogrodzki 0fccb369d0
Updating tooling to Go 1.17. (#3016)
* Updating tooling to Go 1.17.

* Updating Go dependencies to match 1.0.
2022-05-19 19:53:55 -07:00
dependabot[bot] c10fb69c4d
build(deps): bump github.com/ulikunitz/xz from 0.5.7 to 0.5.8 in /toolkit/tools (#2990)
* build(deps): bump github.com/ulikunitz/xz in /toolkit/tools

Bumps [github.com/ulikunitz/xz](https://github.com/ulikunitz/xz) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/ulikunitz/xz/releases)
- [Commits](https://github.com/ulikunitz/xz/compare/v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: github.com/ulikunitz/xz
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* PR checks re-trigger.

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com>
2022-05-18 15:12:49 -07:00
Muhammad Falak R Wani aabee81e0a
tools: rename toolkit/tools module to enable `go get` (#2976)
Rename `microsoft.com/pkggen` -> `github.com/microsoft.com/CBL-Mariner/toolkit/tools` to
enable `go get`

Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
2022-05-11 08:59:53 +05:30
Pawel Winogrodzki 3a2bbaef50
[main] Restoring `PACKAGE_IGNORE_LIST` functionality (#1749) 2021-12-13 03:39:02 -08:00
Pawel Winogrodzki cf77263f83
[dev] Fixing spec dependencies parsing bugs. (#1117) 2021-07-09 09:45:19 -07:00
Thomas Crain 00ed1f883b second try fixes 2021-04-16 17:16:26 -05:00
Pawel Winogrodzki 6712181977
Fixing older toolkit builds. Ignoring 'BuildRequires' on pre-installed packages. (#803)
Co-authored-by: Henry Beberman <henry.beberman@microsoft.com>
2021-03-26 17:49:00 -07:00
Thomas Crain 83e8aaa89a
Tweak installer to meet accessibility standards (#668) 2021-02-24 16:51:15 -08:00
Jon Slobodzian b877013b27 Initial CBL-Mariner commit to GitHub 2020-08-06 20:17:52 -07:00