diff --git a/.github/ISSUE_TEMPLATE/bug.yaml b/.github/ISSUE_TEMPLATE/bug.yaml new file mode 100644 index 000000000..51fd40602 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yaml @@ -0,0 +1,71 @@ +name: Bug Report + +description: Report a bug in the project + +labels: + - bug + +body: + - type: textarea + id: bug-description + attributes: + label: What happened? + description: A clear and concise description of what the bug is. + placeholder: Describe the bug here + validations: + required: true + + - type: textarea + id: bug-expected-behavior + attributes: + label: What did you expect to happen? + description: A clear and concise description of what you expected to happen. + validations: + required: true + + - type: textarea + id: hyperlight-version + attributes: + label: Hyperlight Version + description: The version of Hyperlight you are using. + placeholder: 0.1.0 + validations: + required: true + + - type: textarea + id: os-version + attributes: + label: OS version + description: The version of the OS you are using. + value: | +
+ + ```console + On Linux: + $ cat /etc/os-release + # paste output here + + $ cat /uname -a + # paste output here + + KVM version: + $ /usr/bin/qemu-system-x86_64 --version + # paste output here + + On Windows: + C:\> cmd /c ver + # paste output here + + ```` +
+ validations: + required: true + + - type: textarea + id: additional-info + attributes: + label: Additional Information + description: Add any other context about the problem here. + placeholder: Add any other context about the problem here. + validations: + required: false diff --git a/.github/workflows/conditional-fail.yml b/.github/workflows/conditional-fail.yml new file mode 100644 index 000000000..f75bdf4f0 --- /dev/null +++ b/.github/workflows/conditional-fail.yml @@ -0,0 +1,11 @@ +name: Conditional Job - Always Fail + +on: + workflow_dispatch: + +jobs: + fail_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 1 diff --git a/.github/workflows/contidiontal-pass.yml b/.github/workflows/contidiontal-pass.yml new file mode 100644 index 000000000..bbe69f1ce --- /dev/null +++ b/.github/workflows/contidiontal-pass.yml @@ -0,0 +1,11 @@ +name: Conditional Job - Always Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 diff --git a/.github/workflows/optional-fail.yml b/.github/workflows/optional-fail.yml new file mode 100644 index 000000000..84182a30c --- /dev/null +++ b/.github/workflows/optional-fail.yml @@ -0,0 +1,11 @@ +name: Optional Job - Always Fail + +on: + workflow_dispatch: + +jobs: + fail_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 1 diff --git a/.github/workflows/optional-pass.yml b/.github/workflows/optional-pass.yml new file mode 100644 index 000000000..68207bea6 --- /dev/null +++ b/.github/workflows/optional-pass.yml @@ -0,0 +1,11 @@ +name: Optional Job - Always Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 diff --git a/.github/workflows/required.yml b/.github/workflows/required.yml new file mode 100644 index 000000000..b054fcdbd --- /dev/null +++ b/.github/workflows/required.yml @@ -0,0 +1,11 @@ +name: Required Job - Pass + +on: + workflow_dispatch: + +jobs: + pass_job: + runs-on: ubuntu-latest + steps: + - name: Always Fail Step + run: exit 0 diff --git a/README.md b/README.md index 1e4562586..500522218 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ pub fn guest_dispatch_function(function_call: FunctionCall) -> Result> { ErrorCode::GuestFunctionNotFound, function_name, )); -} +}asdfasdfasdfsadfsafd ``` For additional examples of using the Hyperlight host Rust library, see diff --git a/docs/README.md b/docs/README.md index 1b1572dda..32cb6f1b5 100644 --- a/docs/README.md +++ b/docs/README.md @@ -41,3 +41,6 @@ This project is composed internally of several internal components, depicted in * [Hyperlight Surrogate Development Notes](./hyperlight-surrogate-development-notes.md) * [Debugging Hyperlight](./debugging-hyperlight.md) * [Signal Handling in Hyperlight](./signal-handlers-development-notes.md) + + +test edit