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

45 Коммитов

Автор SHA1 Сообщение Дата
Lili Deng 9256ffb710 Fix missing . for command docker build 2024-11-03 23:22:39 -08:00
Lili Deng d3264e4e24 add workflow for building and pushing docker image to ACR 2024-10-28 07:05:55 -07:00
Lili Deng 309f48d11c delete update_deps.yml 2024-10-20 22:11:09 -07:00
Chi Song (from Dev Box) f378a0d71e Include Python3.12 in CI pipelines 2024-01-08 21:41:47 -08:00
Avram Lubkin 1dfaaddff9 Remove 3.12 test exclusion for Windows 2023-05-03 17:37:13 +08:00
Avram Lubkin c8bbeb6155 Remove optional flag for 3.12-dev 2023-04-04 14:01:43 +08:00
Avram Lubkin 02c90790c2 Add CI tests for Python 3.11 and 3.12 2023-04-04 14:01:43 +08:00
Avram Lubkin d71b1da594 Pin to latest isort and black 2023-02-01 09:56:04 -05:00
Avram Lubkin 71b68db96a Allow CI tests for BumpDep PRs 2023-01-24 09:47:48 -08:00
Avram Lubkin d91b740697 Add worklow to update CI deps 2023-01-18 22:37:26 -05:00
Avram Lubkin 1e527d7966 Run apt update before install 2023-01-05 12:17:14 -08:00
Avram Lubkin 6bd5fc0187 Initial Pylint configuration 2022-11-22 22:46:12 -08:00
Avram Lubkin ecd95f6815 Update GitHub Actions 2022-11-15 14:20:08 +08:00
Richard Pastrick 725861d432
Update link for linux poetry installation to canonical link (#2320) 2022-10-19 12:49:56 -07:00
Anthony Shaw edd20212d3 Test up to Python 3.10 2022-07-21 15:49:15 -07:00
Chi Song 5f288d7aca update owner in right format 2022-07-21 08:23:47 -07:00
Chi Song 34c9f09270 update owner 2022-07-20 18:56:11 -07:00
Chris Gunn fc5638bf50
Add support for QEMU/libvirt platform. (#1677)
* Add support for QEMU/libvirt platform.

Add basic support for running LISA framework on Linux platform
using QEMU via the libvirt API. This includes succesfully running
the Microsoft T0 tests against the CBL-Mariner image.
2022-01-19 14:59:48 -08:00
Chi Song 4222aff80f upgrade poetry installation way
Keep 1.1.5 for stable
2021-04-09 16:54:21 +08:00
Gustavo Lima Chaves 6202d5de34 Poetry: bring in pygobject dependency
azure-mgmt-*'s dependency on pygobject should not rely on external
provisioning, so have Poetry track it.
2021-03-18 14:02:07 +08:00
Chi Song 1d018abba5 update words in pipeline 2021-03-04 16:27:28 +08:00
Chi Song 7c44d967c4 upgrade poetry to latest version 2021-01-28 17:21:27 +08:00
Chi Song 938c2a7578 support pipeline on v3 branches. 2021-01-28 17:21:27 +08:00
LiliDeng 0fa3416979
Support bool/string format for reserve_environment (#1103) 2020-11-20 17:26:18 +08:00
Chi Song 74b487eaf5 update branch owner for new code review policy 2020-10-26 12:20:43 +08:00
Chi Song 4104d39827 upgrade poetry to 1.1.3 2020-10-26 11:47:40 +08:00
Andrew Schwartzmeyer 929fbc0326 Update to Poetry version 1.1.0b4 2020-09-23 17:36:41 -07:00
Andrew Schwartzmeyer 0ca0798cc5 Use Makefile to centralize build/test commands
This Makefile is optional because the commands can be run independently,
it was added just to simplify and centralize all our commands. On Linux,
GNU Make is expected to almost universally be installed, but on Windows
it may need to be installed manually to use it. Fortunately the GitHub
Actions Windows image has it.
2020-09-23 17:36:41 -07:00
Chi Song 0c86e5a4de add support for code coverage 2020-09-17 07:32:15 +08:00
Chi Song 9cce7a727a bug fixes and refactoring
1. rename test file for consistent
2. fix log path regression bug
3. use peotry 1.1.0b2 for linux
4. other fixes and improvements
2020-09-17 07:32:15 +08:00
Chi Song 145877ff63 use strong type schema, init azure platform code
1. use dataclasses as base schema, dataclasses_json for serialization,
   and marshmallow for validation.
2. remove yaml format schema, add python schema.
3. use strong type to replace dict based code.
4. add platform schema and node schema for platform extension.
5. add _initialize for platform
6. init azure platform code.
7. other small improvements.
2020-08-26 14:10:23 +08:00
Andrew Schwartzmeyer a0bcac7895 Add CODEOWNERS file to setup default PR reviewers
This adds support for GitHub’s CODEOWNERS, which is a file indicating
which GitHub users should be automatically added as reviewers to new
Pull Requests. It’s per-branch, meaning it applies only for changes made
in a branch which includes this file, so this will not affect ‘master’.
It is setup currently to add Chi, Leandro, and myself to all PRs to
‘main’ for LISAv3.
2020-08-22 12:32:39 -07:00
Chi Song ecef2c9ffb Implement test case selector
1. add testselector to deal with criteria and apply settings
2. improve logging to support ut.
3. remove TestSuiteData class, as it doesn't need.
4. add ut in github action.
5. other minor improvements.
2020-08-19 11:58:03 +08:00
Andrew Schwartzmeyer d6e2a7e6d6 Don’t skip CI on doc updates
This gets around the problem of the branch protection rules requiring
these to run, which I can’t adjust because I’m not an admin.
Fortunately, these tests run really fast.
2020-08-17 15:46:56 -07:00
Chi Song 7f6f6be987
Implement custom script (#965)
* Implement custom script

1. Implement custom script. As it's same type with different data, so it's different with tools. CustomScriptBuilder to create an instance of script on Node.
2. rename method and variables to follow pep8 guidaline.
3. rename [Suite/Case]Metadata to [TestSuite/TestCase]Metadata
4. create LisaException to all internal exceptions
5. other minor improvements
2020-08-13 15:33:58 +08:00
Andrew Schwartzmeyer 9c5dd671ca Add ShellCheck to CI 2020-08-12 19:40:55 -07:00
Andrew Schwartzmeyer 5abcd7716b Fix types and add type checking to CI 2020-08-10 17:50:10 -07:00
Andrew Schwartzmeyer 3b59c8b62f Fix bug in process.py
While the documentation recommends that the `subprocess` module is used
via the `run()` interface, we are currently using the underlying `Popen`
interface. The documentation further recommends that if
`shell=True` (which is currently the case in our code), that the command
is passed directly as a string, not a split argument sequence. Using
this recommendation fixed the existing bug where the arguments were
being ignored on Linux (causing `uname` to print “Linux” and not the
kernel version, release, and hardware info). However, we need to revisit
our wrapping of `subprocess` because it is difficult to get right.
2020-08-07 15:54:41 -07:00
Andrew Schwartzmeyer 33489e9b0a Add badges and restrict workflows to PRs
This adds three badges to our readme, and restricts the workflows to run
only for opened PRs to ‘main’, otherwise we get duplicate workflows for
all ‘v3/**’ branches. While those could be useful for developers to
test, let’s not enable them preemptively.
2020-08-05 14:59:31 -07:00
Andrew Schwartzmeyer eabddd5ebf Add tests to CI workflow
Since we’re using the black and isort plugins for flake8, we can run
just flake8 to check everything at once.
2020-08-05 14:08:49 -07:00
Andrew Schwartzmeyer 9f8ef067ca Add CI via GitHub workflow 2020-08-05 13:21:05 -07:00
Adrian Vladu 07e47d7ab5 cleanup: removed unnecessary .github folder (#428) 2018-11-22 10:10:51 -08:00
Ju-Hyoung Lee 5c76e4be39
Update license with Apache v2 (#97)
* Update license with Apache

Added Copyright based on Apache (CELA requested)
Removed unnecessary space.
Removed personal information
Added comment for future code refactoring

* Remove email address from scripts

1. Removed email address from each individual script.
2. Add the suppport email address to README file
3. Updated the README file date.

* Consistent Header format except TestScripts

##############################################################################################
#
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License.
# Description :
# Operations :
#
###############################################################################################
1. Use above format as Script header. All made changes except test scripts under TestScript. Each individual script owner will do.

2. Added a space befor code starts

* Reframed the head format from suggested one

Header format changed except TestScripts

* Revert deleted example with LIS path

* Removed 'Version:' in each script file
2018-07-17 12:21:40 -07:00
Shital Savekar e850e27f23
Update CODEOWNERS 2018-06-27 14:09:45 -07:00
Shital Savekar f3c3efbfd6
Create CODEOWNERS 2018-06-27 13:51:23 -07:00