diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml new file mode 100644 index 0000000..74d5291 --- /dev/null +++ b/.github/workflows/pull_request.yml @@ -0,0 +1,47 @@ +# Copyright 2023 The OpenEBS Authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + + +name: ci + +on: + pull_request: + branches: + # on pull requests to develop and release branches + - 'develop' + - 'v*' + paths-ignore: + - '**.md' + - 'changelogs/**' + - 'docs/**' + - 'design/**' + - 'LICENSE' + - 'MAINTAINERS' + +jobs: + unit-test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up Go 1.19 + uses: actions/setup-go@v4 + with: + go-version: 1.19.13 + + - name: Run unit tests + run: make test \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..f8fdb3b --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,8 @@ +# Code of Conduct +
+ +## Umbrella Project +OpenEBS is an "umbrella project". Every project, repository and file in the OpenEBS organization adopts and follows the policies found in the Community repo umbrella project files. +
+ +This project follows the [OpenEBS Code of Conduct](https://github.com/openebs/community/CODE_OF_CONDUCT.md) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..8dc739f --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,18 @@ +# Contributing Guidelines +
+ +## Umbrella Project +OpenEBS is an "umbrella project". Every project, repository and file in the OpenEBS organization adopts and follows the policies found in the Community repo umbrella project files. +
+ +This project follows the [OpenEBS Contributor Guidelines](https://github.com/openebs/community/CONTRIBUTING.md) + +# Contributing Guidelines +
+ +## Umbrella Project +OpenEBS is an "umbrella project". Every project, repository and file in the OpenEBS organization adopts and follows the policies found in the Community repo umbrella project files. +
+ +This project follows the [OpenEBS Contributor Guidelines](https://github.com/openebs/community/CONTRIBUTING.md) + diff --git a/GOVERNANCE.md b/GOVERNANCE.md new file mode 100644 index 0000000..85a046f --- /dev/null +++ b/GOVERNANCE.md @@ -0,0 +1,8 @@ +# Governance +
+ +## Umbrella Project +OpenEBS is an "umbrella project". Every project, repository and file in the OpenEBS organization adopts and follows the policies found in the Community repo umbrella project files. +
+ +This project follows the [OpenEBS Governance](https://github.com/openebs/community/GOVERNANCE.md) diff --git a/LICENSE b/LICENSE index f49a4e1..261eeb9 100644 --- a/LICENSE +++ b/LICENSE @@ -198,4 +198,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. diff --git a/MAINTAINERS b/MAINTAINERS new file mode 100644 index 0000000..970ed06 --- /dev/null +++ b/MAINTAINERS @@ -0,0 +1 @@ +See [OpenEBS Maintainers](https://github.com/openebs/community/MAINTAINERS.md) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..2d53126 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +.PHONY: test +test: + go vet ./... + go test ./... \ No newline at end of file