diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a19dd7b4e..7b4a68c86 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -7,4 +7,4 @@ devfiles/** @azatsarynnyy @RomanNikitenko @vzhukovs @benoitf dockerfiles/** @azatsarynnyy @RomanNikitenko @vzhukovs @benoitf extensions/** @azatsarynnyy @RomanNikitenko @vzhukovs @benoitf generator/** @azatsarynnyy @RomanNikitenko @vzhukovs @benoitf -plugins/** @ericwill @vinokurig @vitaliy-guliy @svor @tsmaeder @benoitf @sunix +plugins/** @vinokurig @vitaliy-guliy @svor @tsmaeder @benoitf @sunix diff --git a/.github/workflows/build-publish-next.yml b/.github/workflows/build-publish-next.yml index 038f373c8..b56e61b62 100644 --- a/.github/workflows/build-publish-next.yml +++ b/.github/workflows/build-publish-next.yml @@ -12,7 +12,7 @@ name: Build & Publish `next` on: push: branches: - - master + - main jobs: build: diff --git a/.github/workflows/happy-path-tests.yaml b/.github/workflows/happy-path-tests.yaml index 82698b159..51b982380 100644 --- a/.github/workflows/happy-path-tests.yaml +++ b/.github/workflows/happy-path-tests.yaml @@ -12,7 +12,13 @@ name: Happy Path # Trigger the workflow on pull request -on: [pull_request] +on: + pull_request: + paths-ignore: + - '**/*.md' + - devfile.yaml + - 'devfiles/*' + - 'tools/*' jobs: happy-path: @@ -41,7 +47,7 @@ jobs: id: run-minikube uses: che-incubator/setup-minikube-action@next with: - minikube-version: v1.20.0 + minikube-version: v1.21.0 - name: Deploy Eclipse Che id: deploy-che uses: che-incubator/che-deploy-action@next diff --git a/.github/workflows/pr.yml b/.github/workflows/pr-build.yml similarity index 82% rename from .github/workflows/pr.yml rename to .github/workflows/pr-build.yml index dff8dad6e..ae1332c16 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr-build.yml @@ -1,5 +1,5 @@ # -# Copyright (c) 2020 Red Hat, Inc. +# Copyright (c) 2021 Red Hat, Inc. # This program and the accompanying materials are made # available under the terms of the Eclipse Public License 2.0 # which is available at https://www.eclipse.org/legal/epl-2.0/ @@ -12,19 +12,15 @@ name: CI # Trigger the workflow on pull request -on: [pull_request] +on: + pull_request: + paths-ignore: + - '**/*.md' + - devfile.yaml + - 'devfiles/*' + - 'tools/*' jobs: - # check EOF newline - linelint: - runs-on: ubuntu-20.04 - name: eof-newline - steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Linelint - uses: fernandrone/linelint@0.0.5 - id: linelint node-build: runs-on: ubuntu-20.04 steps: diff --git a/.github/workflows/pr-lint.yml b/.github/workflows/pr-lint.yml new file mode 100644 index 000000000..373acbb90 --- /dev/null +++ b/.github/workflows/pr-lint.yml @@ -0,0 +1,24 @@ +# +# Copyright (c) 2020 Red Hat, Inc. +# This program and the accompanying materials are made +# available under the terms of the Eclipse Public License 2.0 +# which is available at https://www.eclipse.org/legal/epl-2.0/ +# +# SPDX-License-Identifier: EPL-2.0 +# + +name: CI + +on: [pull_request] + +jobs: + # check EOF newline + linelint: + runs-on: ubuntu-20.04 + name: eof-newline + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Linelint + uses: fernandrone/linelint@0.0.5 + id: linelint diff --git a/.github/workflows/publish-built-in-extension-report.yaml b/.github/workflows/publish-built-in-extension-report.yaml index 78f1d62f1..05ef344cc 100644 --- a/.github/workflows/publish-built-in-extension-report.yaml +++ b/.github/workflows/publish-built-in-extension-report.yaml @@ -13,7 +13,7 @@ name: publish on: push: - branches: [ master ] + branches: [ main ] schedule: - cron: '0 1 * * *' jobs: diff --git a/.gitignore b/.gitignore index 1738bbf6d..677a128e8 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ yarn-error.log *.theia asset-* .eslintcache +plugins/vscode-* # MacOS .DS_Store diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c5ce64f45..3b032882a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -61,7 +61,7 @@ In this section we are going to start a new workspace to work on che-theia. The The devfile could be started using `chectl`: ``` -chectl workspace:start -f https://raw.githubusercontent.com/eclipse-che/che-theia/master/devfiles/che-theia-all.devfile.yaml +chectl workspace:start -f https://raw.githubusercontent.com/eclipse-che/che-theia/main/devfiles/che-theia-all.devfile.yaml ``` At workspace start, Che will clone Theia and Che-theia. @@ -78,7 +78,7 @@ $ che-theia init --dev This command will checkout all extensions in `/projects/theia/che` folder and create symbolic link into `/projects/theia/packages` folder. -By default, extensions list is retrieved from https://github.com/eclipse-che/che-theia/blob/master/che-theia-init-sources.yml +By default, extensions list is retrieved from https://github.com/eclipse-che/che-theia/blob/main/che-theia-init-sources.yml ### Step 3: Code che-theia extensions At this point you can code on che-theia extensions inside `/projects/theia/che/che-theia/extensions` folder. Extensions changes would be taken into account in the next step. @@ -143,7 +143,7 @@ and run these plugins with the existing che-theia app: ## Che-Theia development on che.openshift.io -There is a [devfile](https://github.com/eclipse-che/che-theia/blob/master/devfiles/hosted-che-dogfooding.devfile.yaml) to develop Che-Theia on [che.openshift.io](https://che.openshift.io) +There is a [devfile](https://github.com/eclipse-che/che-theia/blob/main/devfiles/hosted-che-dogfooding.devfile.yaml) to develop Che-Theia on [che.openshift.io](https://che.openshift.io) Projects directory which is a Persistent Volume on [che.openshift.io](https://che.openshift.io) is limited to 1 gigabyte. It's not enough to build Che-Theia. The main idea is to use `/tmp/theia` directotry. Amount for this directory is limited to 3 gigabytes, which is enough to build Che-Theia and run. @@ -153,7 +153,7 @@ In comparing with `/projects`, temporary directory is not persisted and is clear Use the badge to create a workspace using factory -[![Try it on che.openshift.io](https://img.shields.io/static/v1?label=che&message=openshift.io&color=orange)](https://che.openshift.io/f?url=https://raw.githubusercontent.com/eclipse-che/che-theia/master/devfiles/hosted-che-dogfooding.devfile.yaml) +[![Try it on che.openshift.io](https://img.shields.io/static/v1?label=che&message=openshift.io&color=orange)](https://che.openshift.io/f?url=https://raw.githubusercontent.com/eclipse-che/che-theia/main/devfiles/hosted-che-dogfooding.devfile.yaml) ### Step 1: Initialize Che-Theia in `/tmp/theia` directory diff --git a/README.md b/README.md index ba4d3ddeb..1c5b7acb4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@