Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routine sync xs9 with master #5814

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
514 commits
Select commit Hold shift + click to select a range
468a0f7
opam: generate xapi-rrdd with dune
psafont May 24, 2024
74595dd
opam: drop xapi-rrd-transport
psafont May 24, 2024
64f3c92
opam: drop xen-api-sdk
psafont May 24, 2024
72dbbf3
Merge pull request #5651 from psafont/test-tracing
psafont May 24, 2024
cc4a203
Merge pull request #5638 from snwoods/private/stevenwo/CA-391381
bernhardkaindl May 24, 2024
606423e
CP-48011: Xapi Support anti-affinity feature flag
BengangY Apr 30, 2024
6529c0b
Merge pull request #5631 from BengangY/private/bengangy/CP-48011-review
minglumlu May 29, 2024
e35eeb2
Revert "CP-47660 define anti-affinity feature"
LunfanZhang May 28, 2024
7fcef06
CA-393421: Special VMs cannot be added to VM groups
BengangY May 28, 2024
f3ca4b0
CP-47536: test for Buf_io timeouts
edwintorok May 23, 2024
d4e1c0b
[maintenance]: quicktest: add the ability to run without XAPI
edwintorok Mar 10, 2023
1e5e5f3
CP-47536: add ezxenstore quicktest
edwintorok May 29, 2024
c0e5dc4
Remove CVM and relevant test cases (#5655)
minglumlu May 30, 2024
5a8614f
Merge branch 'master' into feature/vm-anti-affinity
May 30, 2024
09158bc
Merge pull request #5654 from LunfanZhang/private/luzhan/CP-49668
robhoes May 30, 2024
3dc2b9e
Merge pull request #5658 from gangj/private/gangj/merge_from_master
robhoes May 30, 2024
62de904
opam: Fix metadata
psafont May 28, 2024
c6e8a23
opam: de-templatise message-switch-core
psafont May 29, 2024
1efaf1f
CP-48625: Code refactoring
May 16, 2024
d1316f1
CP-48625: Code refactoring
May 16, 2024
eaf7945
opam: add psq to xapi dependencies
May 23, 2024
842ce9f
ocaml: remove unused bindings
psafont May 29, 2024
5ab3899
dune: enforce version +3
psafont May 30, 2024
6640b38
Merge pull request #5653 from BengangY/private/bengangy/CA-393421
robhoes May 30, 2024
808a9c2
Add `VM.set_uefi_mode` API call
benjamreis Apr 17, 2024
b5a2f96
Merge branch 'master' into private/mingl/merge_master_to_feature
minglumlu May 31, 2024
25fa2eb
CP-49665: Anti-affinity support for host evacuation
May 16, 2024
fcbab2b
CP-48752: Update UT
Apr 2, 2024
c626cdb
CP-48752: Add UT for host evacuation with anti-affinity support
May 29, 2024
19ff555
Merge pull request #5663 from minglumlu/private/mingl/merge_master_to…
minglumlu May 31, 2024
5042fd9
Go SDK: Misc fixes for on-going component tests (#5661)
minglumlu May 31, 2024
f6aad9b
Add `VM.get_secureboot_readiness` API call
benjamreis Apr 18, 2024
a7b9220
Add `Pool.get_guest_secureboot_readiness` API call
benjamreis Apr 22, 2024
7a14d45
Merge pull request #5566 from xcp-ng/sb-state-api
psafont May 31, 2024
5ec4c26
CP-49446: Update SR health to include new constructors
contificate May 31, 2024
2e7e318
doc: copy design documents from xapi-project.github.io
robhoes May 17, 2024
2b43520
doc: add info table to design docs
robhoes May 31, 2024
45b673f
doc: style design doc index
robhoes May 31, 2024
ea8bffb
Merge pull request #5656 from psafont/meta
psafont May 31, 2024
beaaf1c
CP-47928: Add component test for Go SDK
xihuan-citrix May 21, 2024
ad3c5d1
Merge pull request #5648 from xihuan-citrix/private/xihuany/component…
xihuan-citrix Jun 3, 2024
d9c6535
Merge pull request #5652 from gangj/private/gangj/CP-48625.Psq
minglumlu Jun 3, 2024
8a9074f
CP-48011: Xapi Support anti-affinity feature flag
BengangY Jun 3, 2024
de580e5
Merge pull request #5666 from BengangY/private/bengangy/CP-48011
robhoes Jun 3, 2024
de8f720
CP-49647 use URI for create_misc
May 22, 2024
b905868
CP-49647 use URI for dbsync_master
May 22, 2024
06c10bf
CP-49647 use URI for export.ml
May 22, 2024
2b8b371
CP-49647 use URI for import.ml
May 22, 2024
0f335a6
CP-49647 use URI for importexport.ml
May 22, 2024
4dbf832
CP-49647 use URI for rrd_proxy.ml
May 23, 2024
8cc0f48
CP-49647 use URI for sm_fs_ops.ml
May 23, 2024
c38d52c
CP-49647 use URI for xapi_message.ml
May 23, 2024
52f297b
CP-49647 use URI for xapi_xenops.ml
May 23, 2024
d03a2cd
CP-49647 use URI for xapi_vm_migrate.ml
May 23, 2024
1c8efd5
CP-49647 use URI for xapi_host.ml
May 23, 2024
561ec18
CP-49647 use URI for cli_util.ml
May 24, 2024
23cab04
CP-49647 use URI for http.ml
May 23, 2024
1c4f3a9
CP-49647 use URI for cli_operations
May 22, 2024
dab475d
CP-45235: Support for `xe-cli` to transmit `traceparent`
GabrielBuica May 13, 2024
f2a78b5
doc: add design review links (historical)
robhoes Jun 4, 2024
52ffb8b
doc: RDP design: fix list nesting
robhoes Jun 4, 2024
4877b1b
Merge pull request #5664 from robhoes/design-docs
robhoes Jun 4, 2024
e5bb639
CP-48995: Instrument `XenAPI.py` to submit traceparent
GabrielBuica May 16, 2024
adba6ee
Update datamodel_lifecycle.ml
contificate Jun 5, 2024
18d17c4
CP-49768: Update GO SDK README file (#5671)
xueqingz Jun 5, 2024
c39726e
CP-49249: Implement SMAPIv3 CBT Forwarding
contificate Jun 5, 2024
f970909
CA-393866: Add support for Infinity in Java SDK parser
danilo-delbusso Jun 5, 2024
f12b9b2
CA-393507: Default cluster_stack value
Vincent-lau Jun 4, 2024
99e05fb
Merge pull request #5639 from GabrielBuica/private/dbuica/CP-48995
robhoes Jun 5, 2024
190df63
Merge pull request #5633 from GabrielBuica/private/dbuica/CP-45235
psafont Jun 6, 2024
e802010
Merge pull request #5675 from contificate/private/cbarr/CP-49249
contificate Jun 6, 2024
ff0c97e
Merge pull request #5674 from Vincent-lau/private/shul2/cluster-stack…
minglumlu Jun 6, 2024
cb0e550
Remove fix_firewall.sh
rosslagerwall Jun 7, 2024
399595e
Merge pull request #5673 from danilo-delbusso/bug/infinity_CA-393866
kc284 Jun 10, 2024
c6b1dcd
Merge pull request #5657 from edwintorok/private/edvint/epoll2-pr
edwintorok Jun 10, 2024
e92064a
Merge pull request #5677 from rosslagerwall/private/rossla/firewall
robhoes Jun 10, 2024
b816e00
Merge branch 'master' into private/mingl/merge_master_to_feature
minglumlu Jun 11, 2024
cda63f2
Merge pull request #5678 from minglumlu/private/mingl/merge_master_to…
minglumlu Jun 11, 2024
31564ab
CA-393119: Don't use HTTPS for localhost migrations
robhoes Jun 11, 2024
e3055ca
CP-49828: Remove iovirt script
freddy77 Jun 11, 2024
1ea39d8
Merge pull request #5680 from robhoes/ca393119
robhoes Jun 11, 2024
da49add
Merge pull request #5681 from freddy77/private/fziglio/iovirt_script_…
robhoes Jun 11, 2024
6e9a66a
CP-49129: Add unit test for parallel parsing.
contificate Jun 5, 2024
16fcea8
CP-49129: Make unit test run on alcotest.
GabrielBuica Jun 11, 2024
9f50af8
CP-49129: Replace `ocamlyacc` with `menhir`
GabrielBuica Jun 6, 2024
8e21bd8
CP-49129: Drop global lock around sexpr parsing
GabrielBuica Jun 5, 2024
59e2371
CP-49045: replace all uses of ocamlyacc with menhir which is thread-safe
edwintorok Apr 29, 2024
d6d5c4d
CP-49129: Update `quality-gate.sh` for `ocamlyacc`
GabrielBuica Jun 12, 2024
f659636
Merge pull request #5682 from GabrielBuica/private/dbuica/CP-49129
edwintorok Jun 12, 2024
690a53a
Link just qcheck-core, not qcheck
edwintorok Jun 12, 2024
d5f1825
Define qcheck-core dependency in opam packages
edwintorok Jun 12, 2024
65dc11e
Merge pull request #5685 from edwintorok/private/edvint/qcheck
psafont Jun 12, 2024
32d5243
Makefile: fix compatibility with the dash shell
edwintorok Jun 13, 2024
5d47cd0
Merge pull request #5688 from edwintorok/master
psafont Jun 13, 2024
0bc1a12
CP-49858: Fix phrasing in readme
minglumlu Jun 12, 2024
5eb7889
CP-49858: Add licence text on top of Go source files
minglumlu Jun 12, 2024
50cbe0f
CP-49858: Unit test: licence template variable
minglumlu Jun 12, 2024
7ac6afa
CP-49858: Remove template variables 'first' and 'is_session_id'
minglumlu Jun 12, 2024
cca5a6e
CP-49858: Unit test: Update for changes on template variables
minglumlu Jun 12, 2024
94b24f5
Merge pull request #5679 from xapi-project/feature/go_sdk
psafont Jun 14, 2024
6319a73
rpm: remove `sexprpp` from public_name
GabrielBuica Jun 14, 2024
703f8bb
sexpr: add tests to the package
psafont Jun 12, 2024
130bbbe
Merge pull request #5690 from GabrielBuica/private/dbuica/fix-rpm-build
edwintorok Jun 14, 2024
28bba2f
xapi-rrdd: change tests to reduce amount of logs produced
psafont Jun 12, 2024
e4ed6c0
rrd-transport: generate opam metadata using dune
psafont Jun 12, 2024
69c077d
http-lib: generate opam metadata using dune
psafont Jun 12, 2024
432d08d
wsproxy: test with alcotest instead of ounit
psafont Jun 13, 2024
1b442ca
vhd-format-lwt: run tests using alcotest
psafont Jun 13, 2024
da3712b
xen-api-client: run tests with alcotest
psafont Jun 13, 2024
736e420
xapi-sdk: add empty packge to be able to run tests for it
psafont Jun 14, 2024
0a1822f
CI: pin packages
psafont Jun 14, 2024
fb8c966
Merge remote-tracking branch 'upstream/master' into feature/perf
edwintorok Jun 17, 2024
b944326
Merge pull request #5684 from psafont/lesstestlogs
robhoes Jun 17, 2024
738b662
Merge pull request #5693 from edwintorok/feature/perf
psafont Jun 17, 2024
37bb814
CP-49647 use URI for newcli.ml
May 24, 2024
44064ab
CP-49677 implement Http.Url using URI
May 28, 2024
6af8250
Update quality-gate.sh
Jun 7, 2024
ab02111
doc/README.md: Improve the Hugo Quick start guide for an easier start
bernhardkaindl Jun 17, 2024
360d9c3
.codecov.yml: Remove scripts (Codecov is confused, we move scripts/ t…
bernhardkaindl Jun 17, 2024
199baec
CA-394444: Update task cancellation in `message_forwarding.ml`
GabrielBuica Jun 18, 2024
242e626
Merge pull request #5699 from xenserver-next/improve-hugo-dev-howto-r…
psafont Jun 18, 2024
5c906eb
CA-394444: Update `vm_operation_table`
GabrielBuica Jun 18, 2024
b3bba59
Merge pull request #5701 from GabrielBuica/private/dbuica/CA-394444
edwintorok Jun 18, 2024
fa8a661
Hugo docs: Add dark mode support, theme variant selector and print
bernhardkaindl Jun 18, 2024
7348b74
Merge pull request #5703 from xenserver-next/enable-auto-dark-mode-an…
bernhardkaindl Jun 18, 2024
6078991
Merge master into feature/vm-anti-affinity
BengangY Jun 19, 2024
923581b
master_connection: log why we failed to connect
edwintorok Jun 11, 2024
3500e5a
xapi.conf: introduce test_open
edwintorok May 30, 2024
12f4b05
xapi_main: enable backtraces earlier to get backtraces from early sta…
edwintorok Jun 19, 2024
acf6b96
Don't generate link-local address for interfaces
gthvn1 Jun 13, 2024
3d6151b
Merge pull request #5704 from edwintorok/private/edvint/epoll3.0-pr
psafont Jun 19, 2024
c14aa08
Make `cluster-stack-version` show up in the CLI
Vincent-lau Jun 19, 2024
6cd2d82
Merge pull request #5708 from BengangY/feature/vm-anti-affinity
psafont Jun 19, 2024
ff67298
Update datamodel lifecycle
robhoes Jun 20, 2024
d6221e2
Merge pull request #5718 from robhoes/lifecycle
psafont Jun 20, 2024
c3aab47
Removed headers from the templates.
kc284 Jun 19, 2024
cffd225
Renamed files and reordered table of contents.
kc284 Jun 19, 2024
44dbd7b
IH-583 Create standalone implementations of systemd functions
last-genius Jun 17, 2024
062ab83
IH-583 Use standalone implementations of systemd functions
last-genius Jun 18, 2024
7e74dad
IH-583 Create tests for the standalone implementations of systemd fun…
last-genius Jun 19, 2024
4770d5e
Merge pull request #5723 from kc284/master
kc284 Jun 21, 2024
e6af4ab
Merge pull request #5711 from Vincent-lau/private/shul2/stack-version…
robhoes Jun 24, 2024
231b94d
Merge pull request #5721 from last-genius/private/asultanov/standalon…
psafont Jun 24, 2024
d8f7355
Fix failing builds by attaching package to the cram test
last-genius Jun 24, 2024
9566c5d
Merge pull request #5686 from xcp-ng/gtn-dont-generate-link-local-add…
psafont Jun 25, 2024
ac9279b
Merge pull request #5725 from last-genius/private/asultanov/standalon…
psafont Jun 25, 2024
491c199
Merge remote-tracking branch 'xsu/master' into feature/perf
edwintorok Jun 25, 2024
c787cb4
CA-394883: fix race condition allocating task ids
edwintorok Jun 25, 2024
d78ebc0
CA-394882: avoid error on tasks that are not ours
edwintorok Jun 25, 2024
2570a99
Merge pull request #5737 from edwintorok/private/edvint/taskbugfix
edwintorok Jun 26, 2024
7d4c00c
CA-381119: use JsonRPC V2 for error replies
edwintorok Mar 20, 2024
de02e53
CP-49953: Remove parse_uri, switch to using Uri module instead
last-genius Jun 25, 2024
f25cee6
CA-394169: Allow task to have permissions on itself
GabrielBuica Jun 18, 2024
43571e7
CI: use new version of codecov action
psafont Jun 25, 2024
bbdceb3
Merge .codecov.yml from feature/py3 to drop scripts checks
bernhardkaindl Jun 26, 2024
27bb64a
Merge remote-tracking branch 'xsu/master' into feature/perf
edwintorok Jun 26, 2024
5bd9b86
Merge pull request #5734 from psafont/upcodecov
psafont Jun 26, 2024
547d762
fixup! xapi.conf: introduce test_open
edwintorok Jun 26, 2024
f4b32bc
Merge pull request #5741 from edwintorok/feature/perf
edwintorok Jun 26, 2024
1493e28
CP-50055 Add Go SDK as a release package in XAPI
acefei Jun 27, 2024
5e4fddd
CI: codecov is unstable, use coveralls
bernhardkaindl Jun 26, 2024
7687e07
CA-394921: Ignore unkown properties during Java SDK deserialisation
danilo-delbusso Jun 27, 2024
47d3cb7
Merge pull request #5746 from psafont/codecov-fallback
psafont Jun 27, 2024
2a018d7
CP-49446: expose SR health values to Python
MarkSymsCtx Jun 26, 2024
2aa6076
Merge pull request #5745 from acefei/private/feis/CP-50055
psafont Jun 27, 2024
d768dd6
Merge pull request #5747 from MarkSymsCtx/CP-49446
psafont Jun 27, 2024
92c198d
opam: record correct authorship for stdext packages
psafont Jun 21, 2024
836e2d8
IH-628: add new package clock for timekeeping
psafont Jun 21, 2024
9c8011b
xapi-stdext-date: move implementation to clock package
psafont Jun 21, 2024
3341cc1
IH-628, clock: add timer module
psafont Jun 21, 2024
0174595
IH-628: remove deadlines from timers
psafont Jun 24, 2024
e06ce37
log: add pretty printer module
psafont Aug 7, 2023
c1bcd74
xapi_globs: add duration type for arguments
psafont Jun 26, 2024
d75ded9
clock/date: Note procedence of the weekday algorithm
psafont Jun 26, 2024
6ef7a5e
Merge pull request #5749 from danilo-delbusso/bug/forwards-compatibil…
kc284 Jun 28, 2024
b256bef
Merge pull request #5724 from psafont/private/paus/timeshares
psafont Jun 28, 2024
30e51bf
Make: install library clock
psafont Jun 28, 2024
6f7a7f1
Merge pull request #5752 from psafont/install-clock
psafont Jun 28, 2024
ba0c8fc
doc: remaining API docs
robhoes Jun 7, 2024
ee420f8
doc: add XenAPI release info
robhoes Jun 28, 2024
10468d7
Printf.kprintf is deprecated, replace with Printf.ksprintf
edwintorok Jun 28, 2024
f226aaa
Fix misplaced inline attributes
edwintorok Jun 28, 2024
20845fc
Merge pull request #5755 from edwintorok/private/edvint/deprecated
psafont Jul 1, 2024
f5e35fd
CP-50050 track CBT status for SMAPIv3 SRs
Jun 27, 2024
7a71865
Merge pull request #5753 from robhoes/docs
robhoes Jul 1, 2024
31eeb93
CP-49953: Remove parse_uri, switch to using Uri module instead
last-genius Jun 25, 2024
6969a8a
Merge pull request #5756 from rdn32/private/rnewton/CP-50050
psafont Jul 1, 2024
f40a624
CI: Complete parallel Coveralls uploads: Finish when done
bernhardkaindl Jun 27, 2024
5e51f8e
CP-49116: Replace fingerprint in certificate DB with sha256 and sha1
snwoods Jun 25, 2024
c460360
fix(XenAPI.py): fix pylint warning
edwintorok Jul 1, 2024
84c2ba6
fix(XenAPI.py): fix pylint warning
edwintorok Jul 1, 2024
2008661
Merge pull request #5759 from psafont/endcover
edwintorok Jul 1, 2024
2d3bae4
Merge remote-tracking branch 'upstream/master' into feature/perf
edwintorok Jul 2, 2024
f11657e
Merge pull request #5670 from snwoods/private/stevenwo/CP-49116
snwoods Jul 2, 2024
c060abf
Merge pull request #5761 from edwintorok/feature/perf
psafont Jul 2, 2024
5975562
CA-392887: set_tls_config immediately after enabling clustering
Vincent-lau Jun 18, 2024
ee8e800
CI: Update endcover step to v2 to fix CI (#5763)
bernhardkaindl Jul 2, 2024
813b3b5
Merge branch 'master' into feature/vm-anti-affinity
BengangY Jul 2, 2024
3c14607
CA-386173: Update the message of WLB authentication issue
BengangY Jul 2, 2024
753a655
Revert "CP-49953: Remove parse_uri, switch to using Uri module instead"
robhoes Jul 3, 2024
01fffd5
Merge pull request #5770 from xapi-project/revert-5726-private/asulta…
robhoes Jul 3, 2024
3d12e7c
Merge remote-tracking branch 'xsu/master' into feature/perf-update
edwintorok Jul 3, 2024
e53ce67
Fix a bug noticed by a quicktest run
last-genius Jul 3, 2024
dd9ba19
Merge pull request #5768 from BengangY/private/bengangy/CA-386173
minglumlu Jul 4, 2024
845ffdd
Eliminate unnecessary usage of List.length to check for empty lists
last-genius Jun 28, 2024
e61e0ac
Merge pull request #5765 from BengangY/private/bengangy/vm-anti-affin…
minglumlu Jul 4, 2024
d957dce
Merge remote-tracking branch 'xsu/master' into feature/perf-update
edwintorok Jul 4, 2024
ce17da2
Merge pull request #5766 from edwintorok/feature/perf-update
edwintorok Jul 4, 2024
99c4356
Transition from exception-raising Unix.getenv to Sys.getenv_opt with
last-genius Jun 19, 2024
7be240f
Replace Hashtbl.find with Hashtbl.find_opt in trivial cases
last-genius Jun 26, 2024
1869b44
Refactor Hashtbl.find out of resources/table.ml
last-genius Jun 26, 2024
47f3c3d
Refactor Hashtbl.find out of xenopsd/xc/readln.ml
last-genius Jun 26, 2024
d4be15e
Add a gate for Hashbtl.find
last-genius Jun 27, 2024
6dd7a48
Merge pull request #5775 from last-genius/private/asultanov/uri-impro…
robhoes Jul 4, 2024
e11436e
CP-50135: Bump datamodel_lifecycle for anti-affinity
BengangY Jul 5, 2024
16b79a0
IH-621: Add IPMI host power on support and remove DRAC
alexbrett Jun 18, 2024
6e09fc5
opam: generate xapi-forkexecd with dune
psafont Jul 5, 2024
3f5e62d
opam: remove unversioned opam dependencies
psafont Jul 5, 2024
832fd36
opam: generate xapi-networkd using dune
psafont Jul 5, 2024
f2fb3a0
Merge pull request #5782 from psafont/nosystemd
psafont Jul 5, 2024
1b06e51
IH-621 Add changed line to power_on_mode
alexbrett Jul 5, 2024
77987d5
fe_test: print stacktrace on unit test failure
edwintorok Jul 5, 2024
4ea6089
fix(fe_test): make it compatible with fd-send-recv 2.0.2
edwintorok Jul 5, 2024
331c564
IH-621: Python tweaks suggested by pylint
alexbrett Jul 5, 2024
92c51d7
Fix indentation in C code
freddy77 Jul 8, 2024
edcc894
Merge pull request #5785 from edwintorok/private/edvint/ocaml5-compat
psafont Jul 8, 2024
1db8c1b
Merge pull request #5788 from freddy77/indentation
psafont Jul 8, 2024
af4860b
Merge pull request #5762 from last-genius/private/asultanov/empty-len…
last-genius Jul 8, 2024
76f232d
Merge branch 'master' into private/asultanov/opt-refactoring
last-genius Jul 8, 2024
caff014
Merge pull request #5751 from last-genius/private/asultanov/opt-refac…
last-genius Jul 8, 2024
eee3f80
Merge pull request #5783 from alexbrett/IH-621
robhoes Jul 8, 2024
5519cf9
Merge pull request #5644 from Vincent-lau/private/shul2/tls-config
Vincent-lau Jul 8, 2024
d26f870
Fixes: 99c43569a0 ("Transition from exception-raising Unix.getenv to …
last-genius Jul 9, 2024
9f9c338
Merge pull request #5797 from last-genius/private/asultanov/opt-fix
robhoes Jul 9, 2024
73f5a30
IH-642 Restructure xs-trace to use Cmdliner
contificate Jul 4, 2024
b0e0bab
Merge pull request #5778 from contificate/IH-642
contificate Jul 9, 2024
ff08a18
Refactor watcher creation code
Vincent-lau May 22, 2024
733882a
Only create watcher once
Vincent-lau May 22, 2024
e612873
Refactor cluster change watcher interval
Vincent-lau Jun 19, 2024
af142fc
Add new internal API cstack_sync
Vincent-lau Jun 20, 2024
3dc79e0
CP-394109: Alert only once for cluster host leave/join
Vincent-lau Jun 19, 2024
cca43a4
Feature flag the cstack_sync call
Vincent-lau Jul 10, 2024
4c49af7
Merge remote-tracking branch 'xsu/master' into feature/perf
edwintorok Jul 10, 2024
7279089
Merge pull request #5696 from Vincent-lau/private/shul2/less-alert
Vincent-lau Jul 10, 2024
e3d84de
Merge pull request #5804 from edwintorok/feature/perf
robhoes Jul 10, 2024
3c41333
Merge pull request #5760 from xapi-project/feature/perf
edwintorok Jul 10, 2024
d8fa301
CP-50193: Update new fingerprint fields on DB upgrade
snwoods Jul 9, 2024
55963c4
CP-50108: Use Ipaddr instead of string-based CIDR handling
last-genius Jul 8, 2024
f0721d8
Merge branch 'master' into private/stephenche/sync_xs9_with_master
stephenchengCloud Jul 12, 2024
240a56c
Fix pytype warnings.
stephenchengCloud Jul 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
42 changes: 7 additions & 35 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,7 @@ coverage:
# - excluding: **/test_*.py
#
paths: ["python3/**", "!**/test_*.py"]

#
# For python3/** (excluding tests):
#
# For python3, coverage should not be reduced compared to its base:
#
target: auto
target: 80%

#
# Exception: the threshold value given is allowed
Expand All @@ -183,27 +177,13 @@ coverage:
#
threshold: 20%

# Checks each Python version separately:
python-3.11:
flags: ["python3.11"]
python-2.7:
flags: ["python2.7"]

#
# Project limits
# --------------
# These checks are relative to all code, not the changes (not the diff of the PR)
#
project:

#
# Python modules and scripts below scripts/ (excluding tests)
#
scripts:
paths: ["scripts/**", "!**/test_*.py"]
target: 48%
threshold: 2%

#
# Python modules and scripts below ocaml/ (excluding tests)
#
Expand All @@ -226,7 +206,7 @@ coverage:
tests:
# Ensure that all tests are executed (tests themselves must be 100% covered)
target: 98%
paths: ["**/test_*.py"]
paths: ["python3/tests/test_*.py"]


#
Expand All @@ -243,24 +223,15 @@ component_management:
- type: project
# `auto` will use the coverage from the base commit (pull request base
# or parent commit) coverage to compare against.
target: auto
target: 48
threshold: 2%

- type: patch
target: auto
threshold: 10%
target: 80
threshold: 5%

individual_components:

- component_id: scripts # this is an identifier that should not be changed
name: scripts # this is a display name, and can be changed freely
# The list of paths that should be in- and excluded in this component:
paths: ["scripts/**", "!scripts/examples/**", "!**/test_*.py"]

- component_id: scripts/examples
name: scripts/examples
paths: ["scripts/examples/**", "!scripts/**/test_*.py"]

- component_id: ocaml
name: ocaml
paths: ["ocaml/**", "!**/test_*.py"]
Expand All @@ -278,4 +249,5 @@ component_management:

- component_id: test_cases
name: test_cases
paths: ["**/test_*.py"]
paths: ["python3/tests/test_*.py"]

41 changes: 15 additions & 26 deletions .github/workflows/1.249-lcm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@ jobs:
ocaml-test:
name: Ocaml tests
runs-on: ubuntu-20.04
env:
package: "xapi-cli-protocol xapi-client xapi-consts xapi-database xapi-datamodel xapi-types xapi xe"

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: '1.249-lcm'

- name: Free space
shell: bash
run: sudo rm -rf /usr/local/lib/android

- name: Pull configuration from xs-opam
run: |
curl --fail --silent https://raw.githubusercontent.com/xapi-project/xs-opam/release/yangtze/lcm/tools/xs-opam-ci.env | cut -f2 -d " " > .env
Expand All @@ -42,37 +44,24 @@ jobs:
id: dotenv
uses: falti/dotenv-action@v1

- name: Retrieve date for cache key (year-week)
id: cache-key
run: echo "date=$(/bin/date -u "+%Y%W")" >> $GITHUB_OUTPUT
shell: bash

- name: Restore opam cache
id: opam-cache
uses: actions/cache@v4
with:
path: "~/.opam"
# invalidate cache every week, gets built using a scheduled job
key: ${{ steps.cache-key.outputs.date }}-1.249

- name: Update Ubuntu repositories
shell: bash
run: sudo apt-get update

- name: Use ocaml
uses: avsm/setup-ocaml@v1
uses: ocaml/setup-ocaml@v2
with:
ocaml-version: ${{ steps.dotenv.outputs.ocaml_version_full }}
opam-repository: ${{ steps.dotenv.outputs.repository }}
ocaml-compiler: ${{ steps.dotenv.outputs.ocaml_version_full }}
opam-repositories: |
xs-opam: ${{ steps.dotenv.outputs.repository }}
dune-cache: true

- name: Install dependencies
run: |
opam update
opam pin add . --no-action
opam depext -u ${{ env.package }}
opam upgrade
opam install ${{ env.package }} --deps-only --with-test -v
shell: bash
run: opam install . --deps-only --with-test -v

- name: Build
- name: Configure and build
shell: bash
run: |
opam exec -- ./configure
opam exec -- make
Expand All @@ -85,4 +74,4 @@ jobs:
- name: Avoid built packages to appear in the cache
# only packages in this repository follow a branch, the rest point
# to a tag
run: opam uninstall ${{ env.package }}
run: opam pin list --short | xargs opam unpin
13 changes: 0 additions & 13 deletions .github/workflows/cleanup-xapi-environment/action.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
opam exec -- dune exec ocaml/xapi-storage/generator/src/main.exe -- gen_markdown --path=$STORAGE_DOCDIR

- name: Deploy xapi-storage docs
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_STORAGE_DEPLOY_KEY }}
publish_dir: ${{ env.STORAGE_DOCDIR }}
Expand Down
49 changes: 47 additions & 2 deletions .github/workflows/generate-and-build-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@ jobs:
shell: bash
run: opam exec -- make sdk

- name: Run CI for SDKs
uses: ./.github/workflows/sdk-ci

- name: Store C SDK source
uses: actions/upload-artifact@v4
with:
name: SDK_Source_C
path: |
_build/install/default/xapi/sdk/c/*
!_build/install/default/xapi/sdk/c/dune

- name: Store C# SDK source
uses: actions/upload-artifact@v4
with:
Expand All @@ -36,8 +47,42 @@ jobs:
name: SDK_Source_PowerShell
path: _build/install/default/xapi/sdk/powershell/*

- name: Cleanup XenAPI environment
uses: ./.github/workflows/cleanup-xapi-environment
- name: Store Go SDK Artifacts
uses: actions/upload-artifact@v4
with:
name: SDK_Artifacts_Go
path: |
_build/install/default/xapi/sdk/go/*
!_build/install/default/xapi/sdk/go/dune

- name: Trim dune cache
run: opam exec -- dune cache trim --size=2GiB

build-c-sdk:
name: Build C SDK
runs-on: ubuntu-latest
needs: generate-sdk-sources
steps:
- name: Install dependencies
run: sudo apt-get install libxml2-dev

- name: Retrieve C SDK source
uses: actions/download-artifact@v4
with:
name: SDK_Source_C
path: source/

- name: Build C SDK
shell: bash
run: make -C source

- name: Store C SDK
uses: actions/upload-artifact@v4
with:
name: SDK_Artifacts_C
path: |
source/*
!source/src/*.o

build-csharp-sdk:
name: Build C# SDK
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/go-ci/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Run CI for Go SDK'
runs:
using: 'composite'
steps:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.2'

- name: Lint for Go SDK
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.2
working-directory: ${{ github.workspace }}/_build/install/default/xapi/sdk/go/src
args: --config=${{ github.workspace }}/.golangci.yml

- name: Run CI for Go SDK
shell: bash
run: |
cd ./ocaml/sdk-gen/component-test/
cp -r ${{ github.workspace }}/_build/install/default/xapi/sdk/go/src jsonrpc-client/go/goSDK
bash run-tests.sh
6 changes: 3 additions & 3 deletions .github/workflows/hugo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,17 @@ jobs:
uses: actions/checkout@v4

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.119.0'
hugo-version: '0.127.0'

- name: Build
run: |
cd doc
hugo --minify

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.ACTIONS_DOCS_DEPLOY_KEY }}
publish_dir: ./doc/public
Expand Down
Loading
Loading