Skip to content

Commit

Permalink
migrate ci for testing in dev cluster
Browse files Browse the repository at this point in the history
Migration: docker image
  • Loading branch information
bilalesi authored Oct 24, 2023
2 parents 2225b49 + 7273b4b commit 144164a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/migrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Migration
on:
push:
branches:
- fusion-react-18-vite

jobs:
publish-preview:
if: github.event_name == 'push'
runs-on: ubuntu-latest
timeout-minutes: 40
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Build
run: |
docker build -t bluebrain/nexus-web:migrate .
- name: Publish To DockerHub
run: |
echo ${{ secrets.DOCKER_PASS }} | docker login --username ${{ secrets.DOCKER_USER }} --password-stdin
docker push bluebrain/nexus-web:migrate
1 change: 0 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ on:
push:
branches:
- develop
- fusion-react-18-vite

jobs:
publish-preview:
Expand Down
2 changes: 1 addition & 1 deletion src/entry.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useRef } from 'react';
import React, { useRef } from 'react';
import { ConnectedRouter } from 'connected-react-router';
import { QueryClient, QueryClientProvider } from 'react-query';
import { NexusProvider } from '@bbp/react-nexus';
Expand Down
7 changes: 3 additions & 4 deletions src/shared/organisms/DataPanel/DataPanel.spec.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { vi } from 'vitest';
import { vi as jest } from 'vitest';
import { createNexusClient } from '@bbp/nexus-sdk';
import { downloadArchive } from './DataPanel';
import { ParsedNexusUrl } from 'shared/utils/nexusParse';
import { ParsedNexusUrl } from '../../../shared/utils/nexusParse';
import {
getMockDistribution,
getMockResource,
resourceWithDistributionArray,
resourceWithoutDistrition,
} from 'shared/utils/__mocks__/data_panel_download_resource';
import { vi as jest } from 'vitest';
} from '../../../shared/utils/__mocks__/data_panel_download_resource';
const mockNexus = createNexusClient({
uri: 'https://localhost',
fetch: {},
Expand Down

0 comments on commit 144164a

Please sign in to comment.