diff options
author | Valery Piashchynski <[email protected]> | 2021-06-22 09:54:53 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-22 09:54:53 +0300 |
commit | 260d69c21fba6d763d05dc5693689ddf7ce7bfe2 (patch) | |
tree | 0d0b8bb5704a60cbf2d805322dc200e5b1a113be /.github | |
parent | 41bb9fa5938125217a075c60f1e39dc3a9a27537 (diff) |
- Temporary turn off CI
- Remove old PHP tests
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to '.github')
-rwxr-xr-x | .github/ISSUE_TEMPLATE/bug_report.md | 38 | ||||
-rwxr-xr-x | .github/ISSUE_TEMPLATE/feature_request.md | 20 | ||||
-rw-r--r-- | .github/dependabot.yml | 12 | ||||
-rw-r--r-- | .github/pull_request_template.md | 24 | ||||
-rw-r--r-- | .github/workflows/codeql-analysis.yml | 66 | ||||
-rw-r--r-- | .github/workflows/linters.yml | 18 | ||||
-rw-r--r-- | .github/workflows/linux.yml | 104 | ||||
-rw-r--r-- | .github/workflows/windows.yml | 96 |
8 files changed, 0 insertions, 378 deletions
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md deleted file mode 100755 index 448a1aa4..00000000 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ /dev/null @@ -1,38 +0,0 @@ ---- -name: Bug report -about: Create a report to help us improve -title: "[BUG]" -labels: B-bug, F-need-verification -assignees: 48d90782 - ---- - ---- -name: Bug Report -about: Issue in HTTP module <replace> -labels: A-network <replace> ---- -<!-- -Thank you for filing a bug report! đ Please provide a short summary of the bug, -along with any information you feel relevant to replicating the bug. ---> - -I tried this code: - -```go -<code> -``` - -I expected to see this happen: *explanation* - -Instead, this happened: *explanation* - -The version of RR used: *explanation* - -Errortrace, Backtrace or Panictrace -``` -<backtrace> -``` - -</p> -</details> diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md deleted file mode 100755 index 470dd474..00000000 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -name: Feature request -about: Suggest an idea for this project -title: "[FEATURE REQUEST]" -labels: C-feature-request -assignees: 48d90782 - ---- - -**Is your feature request related to a problem? Please describe.** -A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] - -**Describe the solution you'd like** -A clear and concise description of what you want to happen. - -**Describe alternatives you've considered** -A clear and concise description of any alternative solutions or features you've considered. - -**Additional context** -Add any other context or screenshots about the feature request here. diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 2c561205..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - - package-ecosystem: gomod # See documentation for possible values - directory: "/" # Location of package manifests - schedule: - interval: daily - diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md deleted file mode 100644 index c3467850..00000000 --- a/.github/pull_request_template.md +++ /dev/null @@ -1,24 +0,0 @@ -# Reason for This PR - -`[Author TODO: add issue # or explain reasoning.]` - -## Description of Changes - -`[Author TODO: add description of changes.]` - -## License Acceptance - -By submitting this pull request, I confirm that my contribution is made under -the terms of the MIT license. - -## PR Checklist - -`[Author TODO: Meet these criteria.]` -`[Reviewer TODO: Verify that these criteria are met. Request changes if not]` - -- [ ] All commits in this PR are signed (`git commit -s`). -- [ ] The reason for this PR is clearly provided (issue no. or explanation). -- [ ] The description of changes is clear and encompassing. -- [ ] Any required documentation changes (code and docs) are included in this PR. -- [ ] Any user-facing changes are mentioned in `CHANGELOG.md`. -- [ ] All added/changed functionality is tested. diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index dc4a2349..00000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,66 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -name: "CodeQL" - -on: - push: - branches: [ master ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ master ] - schedule: - - cron: '0 15 * * 6' - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-20.04 - - strategy: - fail-fast: false - matrix: - # Override automatic language detection by changing the below list - # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] - language: [ 'go' ] - # Learn more... - # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - # We must fetch at least the immediate parents so that if this is - # a pull request then we can checkout the head. - fetch-depth: 2 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v1 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@v1 - - # âšī¸ Command-line programs to run using the OS shell. - # đ https://git.io/JvXDl - - # âī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v1 diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml deleted file mode 100644 index cee7085c..00000000 --- a/.github/workflows/linters.yml +++ /dev/null @@ -1,18 +0,0 @@ -name: Linters - -on: [push, pull_request] - -jobs: - golangci-lint: - name: Golang-CI (lint) - runs-on: ubuntu-20.04 - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Run linter - uses: golangci/golangci-lint-action@v2 # Action page: <https://github.com/golangci/golangci-lint-action> - with: - version: v1.40 # without patch version - only-new-issues: false # show only new issues if it's a pull request - args: --timeout=10m diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml deleted file mode 100644 index 62987771..00000000 --- a/.github/workflows/linux.yml +++ /dev/null @@ -1,104 +0,0 @@ -name: Linux - -on: - push: - branches: - - master - - beta - - stable - tags-ignore: - - '**' - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - -jobs: - golang: - name: Build (Go ${{ matrix.go }}, PHP ${{ matrix.php }}, OS ${{matrix.os}}) - runs-on: ${{ matrix.os }} - timeout-minutes: 60 - strategy: - fail-fast: true - matrix: - php: [ "7.4", "8.0" ] - go: [ "1.16" ] - os: [ ubuntu-20.04 ] - steps: - - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v2 # action page: <https://github.com/actions/setup-go> - with: - go-version: ${{ matrix.go }} - - - name: Set up PHP ${{ matrix.php }} - uses: shivammathur/setup-php@v2 # action page: <https://github.com/shivammathur/setup-php> - with: - php-version: ${{ matrix.php }} - extensions: sockets - - - name: Check out code - uses: actions/checkout@v2 - - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Init Composer Cache # Docs: <https://git.io/JfAKn#php---composer> - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Install Composer dependencies - run: cd tests && composer update --prefer-dist --no-progress --ansi - - - name: Init Go modules Cache # Docs: <https://git.io/JfAKn#go---modules> - uses: actions/cache@v2 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: ${{ runner.os }}-go- - - - name: Install Go dependencies - run: go mod download - - - name: Run golang tests on Linux - run: | - docker-compose -f ./tests/docker-compose.yaml up -d - mkdir ./coverage-ci - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/pipe.txt -covermode=atomic ./pkg/transport/pipe - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/socket.txt -covermode=atomic ./pkg/transport/socket - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/pool.txt -covermode=atomic ./pkg/pool - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/worker.txt -covermode=atomic ./pkg/worker - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/bst.txt -covermode=atomic ./pkg/bst - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/worker_stack.txt -covermode=atomic ./pkg/worker_watcher - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/http_config.txt -covermode=atomic ./plugins/http/config - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/server_cmd.txt -covermode=atomic ./plugins/server - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/http.txt -covermode=atomic ./tests/plugins/http - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/informer.txt -covermode=atomic ./tests/plugins/informer - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/reload.txt -covermode=atomic ./tests/plugins/reload - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/server.txt -covermode=atomic ./tests/plugins/server - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/service.txt -covermode=atomic ./tests/plugins/service - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/status.txt -covermode=atomic ./tests/plugins/status - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/config.txt -covermode=atomic ./tests/plugins/config - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/gzip.txt -covermode=atomic ./tests/plugins/gzip - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/headers.txt -covermode=atomic ./tests/plugins/headers - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/logger.txt -covermode=atomic ./tests/plugins/logger - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/metrics.txt -covermode=atomic ./tests/plugins/metrics - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/redis.txt -covermode=atomic ./tests/plugins/redis - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/resetter.txt -covermode=atomic ./tests/plugins/resetter - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/rpc.txt -covermode=atomic ./tests/plugins/rpc - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/kv_plugin.txt -covermode=atomic ./tests/plugins/kv - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/broadcast_plugin.txt -covermode=atomic ./tests/plugins/broadcast - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/websockets.txt -covermode=atomic ./tests/plugins/websockets - go test -v -race -cover -tags=debug -coverpkg=./... -coverprofile=./coverage-ci/ws_origin.txt -covermode=atomic ./plugins/websockets - docker-compose -f ./tests/docker-compose.yaml down - cat ./coverage-ci/*.txt > ./coverage-ci/summary.txt - - - uses: codecov/codecov-action@v1 # Docs: <https://github.com/codecov/codecov-action> - with: - file: ./coverage-ci/summary.txt - fail_ci_if_error: false - diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index f23f9b5d..00000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,96 +0,0 @@ -name: Windows - -on: - push: - branches: - - master - - beta - - stable - tags-ignore: - - '**' - paths-ignore: - - '**.md' - pull_request: - paths-ignore: - - '**.md' - -jobs: - golang: - name: Build (Go ${{ matrix.go }}, PHP ${{ matrix.php }}, OS ${{matrix.os}}) - runs-on: ${{ matrix.os }} - timeout-minutes: 60 - strategy: - fail-fast: true - matrix: - php: [ "8.0" ] - go: [ "1.16" ] - os: [ windows-latest ] - steps: - - name: Set up Go ${{ matrix.go }} - uses: actions/setup-go@v2 # action page: <https://github.com/actions/setup-go> - with: - go-version: ${{ matrix.go }} - - - name: Set up PHP ${{ matrix.php }} - uses: shivammathur/setup-php@v2 # action page: <https://github.com/shivammathur/setup-php> - with: - php-version: ${{ matrix.php }} - extensions: sockets - - - name: Check out code - uses: actions/checkout@v2 - - - name: Get Composer Cache Directory - id: composer-cache - run: echo "::set-output name=dir::$(composer config cache-files-dir)" - - - name: Init Composer Cache # Docs: <https://git.io/JfAKn#php---composer> - uses: actions/cache@v2 - with: - path: ${{ steps.composer-cache.outputs.dir }} - key: ${{ runner.os }}-composer-${{ matrix.php }}-${{ hashFiles('**/composer.json') }} - restore-keys: ${{ runner.os }}-composer- - - - name: Install Composer dependencies - run: cd tests && composer update --prefer-dist --no-progress --ansi - - - name: Init Go modules Cache # Docs: <https://git.io/JfAKn#go---modules> - uses: actions/cache@v2 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: ${{ runner.os }}-go- - - - name: Install Go dependencies - run: go mod download - - - name: Run golang tests on Windows - run: | - docker-compose -f ./tests/docker-compose.yaml up -d - go test -v -race ./pkg/transport/pipe - go test -v -race ./pkg/transport/socket - go test -v -race ./pkg/pool - go test -v -race ./pkg/worker - go test -v -race ./pkg/bst - go test -v -race ./pkg/worker_watcher - go test -v -race ./plugins/http/config - go test -v -race ./plugins/server - go test -v -race ./tests/plugins/http - go test -v -race ./tests/plugins/informer - go test -v -race ./tests/plugins/reload - go test -v -race ./tests/plugins/server - go test -v -race ./tests/plugins/service - go test -v -race ./tests/plugins/status - go test -v -race ./tests/plugins/config - go test -v -race ./tests/plugins/gzip - go test -v -race ./tests/plugins/headers - go test -v -race ./tests/plugins/logger - go test -v -race ./tests/plugins/metrics - go test -v -race ./tests/plugins/redis - go test -v -race ./tests/plugins/resetter - go test -v -race ./tests/plugins/rpc - go test -v -race ./tests/plugins/kv - go test -v -race ./tests/plugins/broadcast - go test -v -race ./tests/plugins/websockets - go test -v -race ./plugins/websockets - docker-compose -f ./tests/docker-compose.yaml down |