-
Notifications
You must be signed in to change notification settings - Fork 343
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Elyra extensions to support JupyterLab 4.2.5 (#2)
--------- Signed-off-by: Harshad Reddy Nalla <[email protected]> Signed-off-by: shalberd <[email protected]> Co-authored-by: Guilherme Caponetto <[email protected]> Co-authored-by: Eder Ignatowicz <[email protected]> Co-authored-by: Edson Tirelli <[email protected]> Co-authored-by: Harshad Reddy Nalla <[email protected]> Co-authored-by: Sven Thoms <[email protected]>
- Loading branch information
1 parent
c46ec87
commit 9fcc9e3
Showing
192 changed files
with
9,683 additions
and
11,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,38 +19,43 @@ on: | |
pull_request: # all branches | ||
schedule: | ||
# once a day at 3 am (PST) (10 am (UTC)) | ||
- cron: '0 10 * * *' | ||
- cron: '0 10 * * *' | ||
|
||
env: | ||
FORCE_COLOR: true | ||
NODE_VERSION: 20.11.0 | ||
YARN_VERSION: 3.5.0 | ||
PYTHON_VERSION: 3.11 | ||
|
||
jobs: | ||
prepare-yarn-cache: | ||
name: Prepare Cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.11.0" | ||
- run: npm install -g [email protected] | ||
- uses: actions/cache@v3 | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
node_modules | ||
*/*/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install | ||
- name: Install Yarn ${{ env.YARN_VERSION }} | ||
run: | | ||
corepack prepare yarn@${{ env.YARN_VERSION }} --activate | ||
yarn set version ${{ env.YARN_VERSION }} | ||
yarn --version | ||
yarn install && tsc -v | ||
# --frozen-lockfile | ||
- name: Install dependencies | ||
run: | | ||
yarn install | ||
lint-server: | ||
name: Lint Server | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Lint | ||
run: make lint-server | ||
|
||
|
@@ -59,18 +64,24 @@ jobs: | |
needs: prepare-yarn-cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "*" | ||
- uses: actions/cache@v3 | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
node_modules | ||
*/*/node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install | ||
run: make yarn-install | ||
- name: Install Yarn ${{ env.YARN_VERSION }} | ||
run: | | ||
corepack prepare yarn@${{ env.YARN_VERSION }} --activate | ||
yarn set version ${{ env.YARN_VERSION }} | ||
yarn --version | ||
- name: Install dependencies | ||
run: | | ||
make yarn-install | ||
- name: Lint | ||
run: make eslint-check-ui | ||
- name: Check format | ||
|
@@ -81,10 +92,10 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10"] | ||
python-version: [3.8, 3.9, '3.10', '3.11'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-python@v4 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install | ||
|
@@ -110,19 +121,24 @@ jobs: | |
needs: prepare-yarn-cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "*" | ||
- uses: actions/setup-python@v4 | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- uses: actions/cache@v3 | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
node_modules | ||
*/*/node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Yarn ${{ env.YARN_VERSION }} | ||
run: | | ||
corepack prepare yarn@${{ env.YARN_VERSION }} --activate | ||
yarn set version ${{ env.YARN_VERSION }} | ||
yarn --version | ||
- name: Build | ||
run: | | ||
make build-dependencies | ||
|
@@ -138,20 +154,25 @@ jobs: | |
needs: prepare-yarn-cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: "*" | ||
- uses: actions/setup-python@v4 | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- uses: actions/cache@v3 | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
node_modules | ||
*/*/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Yarn ${{ env.YARN_VERSION }} | ||
run: | | ||
corepack prepare yarn@${{ env.YARN_VERSION }} --activate | ||
yarn set version ${{ env.YARN_VERSION }} | ||
yarn --version | ||
- name: Build | ||
run: | | ||
make build-dependencies | ||
|
@@ -164,9 +185,10 @@ jobs: | |
- name: Cypress | ||
run: make test-integration | ||
- name: Collect logs | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: failure() | ||
with: | ||
name: elyra_test_artifacts | ||
path: | | ||
${{ github.workspace }}/build/cypress-tests/*.log | ||
${{ github.workspace }}/build/cypress-tests/screenshots//**/* | ||
|
@@ -177,7 +199,7 @@ jobs: | |
name: Test documentation build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Build | ||
run: make docs | ||
|
||
|
@@ -186,17 +208,50 @@ jobs: | |
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: [3.8, 3.9, "3.10"] | ||
python-version: [3.8, 3.9, '3.10', '3.11'] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Validate image environment | ||
run: make PYTHON_VERSION=${{ matrix.python-version }} elyra-image-env | ||
|
||
|
||
validate-images: | ||
name: Validate Images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- name: Validate runtime images | ||
run: make REMOVE_RUNTIME_IMAGE=1 validate-runtime-images | ||
|
||
upload-artifacts: | ||
name: Upload Artifacts | ||
needs: prepare-yarn-cache | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- uses: actions/cache@v4 | ||
with: | ||
path: | | ||
node_modules | ||
*/*/node_modules | ||
/home/runner/.cache/Cypress | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install Yarn ${{ env.YARN_VERSION }} | ||
run: | | ||
corepack prepare yarn@${{ env.YARN_VERSION }} --activate | ||
yarn set version ${{ env.YARN_VERSION }} | ||
yarn --version | ||
- name: Build | ||
run: | | ||
make clean install | ||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: elyra_build_artifacts | ||
path: | | ||
${{ github.workspace }}/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
{ | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"trailingComma" : "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
enableImmutableInstalls: false | ||
|
||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-3.5.0.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
jupyterlab>=4.0,<4.1 | ||
jupyterlab==4.2.5 | ||
jupyter-packaging>=0.10 | ||
build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.