Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ui): Upgrade UI dependencies #384

Merged
merged 29 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
258e9b7
Upgrade UI deps
Jun 28, 2024
d94ba71
Update node version
deadlycoconuts Jun 28, 2024
f0b2480
Update js packages
deadlycoconuts Jul 5, 2024
9c3e0c3
Update turing github cicd file
deadlycoconuts Jul 5, 2024
803155b
Remove helm-chart release workflow
deadlycoconuts Jul 5, 2024
b48220c
Update ensembler job and service workflows
deadlycoconuts Jul 5, 2024
7bc5d54
Update setup-python action in turing workflow
deadlycoconuts Jul 5, 2024
9aec14a
Make setup-go optional for certain test-e2e test runs
deadlycoconuts Jul 5, 2024
964a610
Update python caching in go actions
deadlycoconuts Jul 5, 2024
8c5453f
Update cluster setup and publishing actions
deadlycoconuts Jul 5, 2024
92ae4d8
Update artifact uploading action
deadlycoconuts Jul 5, 2024
b5d1623
Remove unsupported conda cache type from ensembler job and service wo…
deadlycoconuts Jul 5, 2024
ed52817
Update docker login actions
deadlycoconuts Jul 5, 2024
2e5d07d
Update k8s await workloads action
deadlycoconuts Jul 5, 2024
1f6f1bd
Add engines field in package.json
deadlycoconuts Jul 5, 2024
5420f64
Update github workflow publish step to use local github file definition
deadlycoconuts Jul 10, 2024
baa6c5e
Deprecate ReactDOM.render
deadlycoconuts Jul 11, 2024
53f56ac
Replace EuiLoadingContent with EuiSkeletonText
deadlycoconuts Jul 11, 2024
967f37e
Import queryString directly from package instead of individual functions
deadlycoconuts Jul 11, 2024
8cef839
Update imports from react-collapsed
deadlycoconuts Jul 11, 2024
ba1e3be
Fix all tables
deadlycoconuts Jul 12, 2024
e4e6349
Remove deprecated table props
deadlycoconuts Jul 12, 2024
5e55653
Remove deprecated hasActions prop
deadlycoconuts Jul 12, 2024
f88064b
Update MLP version
deadlycoconuts Jul 15, 2024
654c9ab
Downgrade eui package version
deadlycoconuts Jul 15, 2024
ac2e931
Refactor EuiDescriptionList column width styles
deadlycoconuts Jul 15, 2024
420ed9e
Remove unused styles for standard exp engine config table
deadlycoconuts Jul 16, 2024
7a421b6
Add additional spacer to realign accordion title and icon
deadlycoconuts Jul 16, 2024
49d6631
Upgrade caraml-dev/ui-lib and add comments
deadlycoconuts Jul 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/build-cluster-init/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ runs:
cluster-init:${{ steps.build-image.outputs.cluster-init-version }}

- name: Publish Artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cluster-init.${{ steps.build-image.outputs.cluster-init-version }}.tar
path: cluster-init.${{ steps.build-image.outputs.cluster-init-version }}.tar
Expand Down
21 changes: 7 additions & 14 deletions .github/actions/setup-test-cluster/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,27 +59,28 @@ runs:
using: composite
steps:
- name: Set up Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: ${{ inputs.go-version }}
cache-dependency-path: api/go.sum
deadlycoconuts marked this conversation as resolved.
Show resolved Hide resolved

- name: Download Turing API Docker tar archive
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ inputs.turing_api_tar_archive_name }}

- name: Download Turing Router Docker tar archive
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ inputs.turing_router_tar_archive_name }}

- name: Download Experiment Engine Plugin Docker tar archive
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ inputs.experiment_engine_plugin_archive_name }}

- name: Download Cluster Init Docker tar archive
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: ${{ inputs.cluster_init_tar_archive_name }}

Expand Down Expand Up @@ -209,7 +210,7 @@ runs:
kubectl apply -f infra/e2e/turing.mockserver.yaml

- name: Run action await k8 workloads
uses: jupyterhub/action-k8s-await-workloads@v1
uses: jupyterhub/action-k8s-await-workloads@v3
id: wait-for-deployment
with:
workloads: >-
Expand Down Expand Up @@ -240,11 +241,3 @@ runs:
--request POST \
--data @payload.json \
http://turing-gateway.127.0.0.1.nip.io/api/v1/projects

- name: Cache Test Dependencies
uses: actions/cache@v2
with:
path: api/.go/pkg/mod/
key: |
gomod-${{ hashFiles('api/go.mod') }}
restore-keys: gomod-
14 changes: 7 additions & 7 deletions .github/workflows/cluster-init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
outputs:
release-type: ${{ steps.release-rules.outputs.release-type }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: release-rules
uses: ./.github/actions/release-rules
with:
Expand All @@ -41,7 +41,7 @@ jobs:
cluster-init-version: ${{ steps.build-cluster-init.outputs.cluster-init-version }}
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -62,10 +62,10 @@ jobs:
- build-cluster-init
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download Cluster Init Docker tar archieve
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: cluster-init.${{ env.CLUSTER_INIT_VERSION }}.tar

Expand Down Expand Up @@ -130,19 +130,19 @@ jobs:
- build-cluster-init
- test-e2e
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Download Cluster Init Docker tar archieve
uses: actions/download-artifact@v2
uses: actions/download-artifact@v4
with:
name: cluster-init.${{ needs.build-cluster-init.outputs.cluster-init-version }}.tar

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/fluentd-plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
outputs:
release-type: ${{ steps.release-rules.outputs.release-type }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: release-rules
uses: ./.github/actions/release-rules
with:
Expand All @@ -46,12 +46,12 @@ jobs:
needs:
- release-rules
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
38 changes: 0 additions & 38 deletions .github/workflows/helm-chart.yaml

This file was deleted.

22 changes: 9 additions & 13 deletions .github/workflows/pyfunc-ensembler-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,16 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache-dependency-path: |
engines/pyfunc-ensembler-job/env-${{ matrix.python-version }}.yaml
engines/pyfunc-ensembler-job/requirements.txt
engines/pyfunc-ensembler-job/requirements.dev.txt

- name: Setup Java
uses: actions/setup-java@v2
Expand All @@ -51,14 +55,6 @@ jobs:
with:
auto-update-conda: true

- name: Cache Conda environment
uses: actions/cache@v2
with:
path: engines/pyfunc-ensembler-job/env
key: |
conda-${{ hashFiles('engines/pyfunc-ensembler-job/env-${{ matrix.python-version }}.yaml') }}-${{ hashFiles('engines/pyfunc-ensembler-job/requirements.txt') }}-${{ hashFiles('engines/pyfunc-ensembler-job/requirements.dev.txt') }}
restore-keys: conda-

- name: Run Tests
working-directory: engines/pyfunc-ensembler-job
run: |
Expand All @@ -70,7 +66,7 @@ jobs:
outputs:
release-type: ${{ steps.release-rules.outputs.release-type }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: release-rules
uses: ./.github/actions/release-rules
with:
Expand All @@ -97,12 +93,12 @@ jobs:
- release-rules
- test
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
22 changes: 9 additions & 13 deletions .github/workflows/pyfunc-ensembler-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,22 @@ jobs:
python-version: ["3.8", "3.9", "3.10"]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache-dependency-path: |
engines/pyfunc-ensembler-service/env-${{ matrix.python-version }}.yaml
engines/pyfunc-ensembler-service/requirements.txt
engines/pyfunc-ensembler-service/requirements.dev.txt

- name: Setup Conda
uses: conda-incubator/setup-miniconda@v2
with:
auto-update-conda: true

- name: Cache Conda environment
uses: actions/cache@v2
with:
path: engines/pyfunc-ensembler-service/env
key: |
conda-${{ hashFiles('engines/pyfunc-ensembler-service/env-${{ matrix.python-version }}.yaml') }}-${{ hashFiles('engines/pyfunc-ensembler-service/requirements.txt') }}-${{ hashFiles('engines/pyfunc-ensembler-service/requirements.dev.txt') }}
restore-keys: conda-

- name: Run Tests
working-directory: engines/pyfunc-ensembler-service
run: |
Expand All @@ -64,7 +60,7 @@ jobs:
outputs:
release-type: ${{ steps.release-rules.outputs.release-type }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: release-rules
uses: ./.github/actions/release-rules
with:
Expand All @@ -91,12 +87,12 @@ jobs:
- release-rules
- test
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Log in to the Container registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
36 changes: 15 additions & 21 deletions .github/workflows/sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,17 @@ jobs:
working-directory: ./sdk
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: |
pip-${{ hashFiles('sdk/requirements.txt') }}-${{ hashFiles('sdk/requirements.dev.txt') }}-${{ matrix.python-version }}
restore-keys: pip-
cache: pip
cache-dependency-path: |
sdk/requirements.txt
sdk/requirements.dev.txt
engines/pyfunc-ensembler-service/requirements.dev.txt
deadlycoconuts marked this conversation as resolved.
Show resolved Hide resolved

- name: Install dependencies
run: make setup
Expand All @@ -65,7 +62,7 @@ jobs:
outputs:
release-type: ${{ steps.release-rules.outputs.release-type }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- id: release-rules
uses: ./.github/actions/release-rules
with:
Expand All @@ -87,23 +84,20 @@ jobs:
environment: ${{ needs.release-rules.outputs.release-type == 'dev' && 'manual' || '' }}
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# fetch full history for a proper version number assignment
fetch-depth: 0

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.8

- name: Cache pip dependencies
uses: actions/cache@v2
with:
path: ~/.cache/pip
key: |
pip-${{ hashFiles('sdk/requirements.txt') }}-${{ hashFiles('sdk/requirements.dev.txt') }}
restore-keys: pip-
cache: pip
cache-dependency-path: |
sdk/requirements.txt
sdk/requirements.dev.txt
engines/pyfunc-ensembler-service/requirements.dev.txt

- name: Build
working-directory: ./sdk
Expand Down
Loading
Loading