Skip to content

Commit ad055b8

Browse files
committed
[ci]: fix yml file
1 parent 6341789 commit ad055b8

2 files changed

Lines changed: 108 additions & 110 deletions

File tree

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
1-
name: Backend Build
2-
3-
on:
4-
# Allows you to reuse workflows by referencing their YAML files
5-
workflow_call:
6-
7-
jobs:
8-
build-backend:
9-
name: Build
10-
timeout-minutes: 10
11-
runs-on: ubuntu-latest
12-
if: false
13-
14-
steps:
15-
- uses: actions/checkout@v4
16-
with:
17-
path: cloudbeaver
18-
19-
- name: Clone Deps Repositories
20-
uses: dbeaver/github-actions/clone-repositories@devel
21-
with:
22-
project_deps_path: './cloudbeaver/project.deps'
23-
24-
- name: Set up JDK 21
25-
uses: actions/setup-java@v4
26-
with:
27-
distribution: 'temurin'
28-
java-version: '21'
29-
cache: maven
30-
31-
- uses: dbeaver/github-actions/install-maven@devel
32-
33-
- name: Run build script
34-
run: ./build-backend.sh
35-
shell: bash
36-
working-directory: ./cloudbeaver/deploy
37-
38-
# - name: Archive build artifacts
39-
# uses: actions/upload-artifact@v4
40-
# with:
41-
# name: backend-build-artifacts
42-
# path: cloudbeaver/deploy/cloudbeaver
43-
# if-no-files-found: error
1+
# name: Backend Build
2+
3+
# on:
4+
# # Allows you to reuse workflows by referencing their YAML files
5+
# workflow_call:
6+
7+
# jobs:
8+
# build-backend:
9+
# name: Build
10+
# timeout-minutes: 10
11+
# runs-on: ubuntu-latest
12+
13+
# steps:
14+
# - uses: actions/checkout@v4
15+
# with:
16+
# path: cloudbeaver
17+
18+
# - name: Clone Deps Repositories
19+
# uses: dbeaver/github-actions/clone-repositories@devel
20+
# with:
21+
# project_deps_path: './cloudbeaver/project.deps'
22+
23+
# - name: Set up JDK 21
24+
# uses: actions/setup-java@v4
25+
# with:
26+
# distribution: 'temurin'
27+
# java-version: '21'
28+
# cache: maven
29+
30+
# - uses: dbeaver/github-actions/install-maven@devel
31+
32+
# - name: Run build script
33+
# run: ./build-backend.sh
34+
# shell: bash
35+
# working-directory: ./cloudbeaver/deploy
36+
37+
# # - name: Archive build artifacts
38+
# # uses: actions/upload-artifact@v4
39+
# # with:
40+
# # name: backend-build-artifacts
41+
# # path: cloudbeaver/deploy/cloudbeaver
42+
# # if-no-files-found: error
Lines changed: 66 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,79 @@
1-
name: Frontend Build
1+
# name: Frontend Build
22

3-
on:
4-
# Allows you to reuse workflows by referencing their YAML files
5-
workflow_call:
6-
outputs:
7-
build-status:
8-
description: 'Build status'
9-
value: ${{ jobs.frontend-build.outputs.build-status }}
10-
test-status:
11-
description: 'Test status'
12-
value: ${{ jobs.frontend-build.outputs.test-status }}
13-
inputs:
14-
clean-cache:
15-
required: false
16-
type: boolean
3+
# on:
4+
# # Allows you to reuse workflows by referencing their YAML files
5+
# workflow_call:
6+
# outputs:
7+
# build-status:
8+
# description: 'Build status'
9+
# value: ${{ jobs.frontend-build.outputs.build-status }}
10+
# test-status:
11+
# description: 'Test status'
12+
# value: ${{ jobs.frontend-build.outputs.test-status }}
13+
# inputs:
14+
# clean-cache:
15+
# required: false
16+
# type: boolean
1717

18-
jobs:
19-
frontend-build:
20-
name: Build
21-
runs-on: ubuntu-latest
22-
if: false
23-
timeout-minutes: 10
24-
permissions:
25-
contents: read
18+
# jobs:
19+
# frontend-build:
20+
# name: Build
21+
# runs-on: ubuntu-latest
22+
# timeout-minutes: 10
23+
# permissions:
24+
# contents: read
2625

27-
outputs:
28-
build-status: ${{ steps.build.outcome }}
29-
test-status: ${{ steps.test.outcome }}
26+
# outputs:
27+
# build-status: ${{ steps.build.outcome }}
28+
# test-status: ${{ steps.test.outcome }}
3029

31-
defaults:
32-
run:
33-
working-directory: ./cloudbeaver/webapp
30+
# defaults:
31+
# run:
32+
# working-directory: ./cloudbeaver/webapp
3433

35-
steps:
36-
- name: Checkout cloudbeaver
37-
uses: actions/checkout@v4
38-
with:
39-
path: cloudbeaver
34+
# steps:
35+
# - name: Checkout cloudbeaver
36+
# uses: actions/checkout@v4
37+
# with:
38+
# path: cloudbeaver
4039

41-
- name: Clone Deps Repositories
42-
uses: dbeaver/github-actions/clone-repositories@devel
43-
with:
44-
project_deps_path: './cloudbeaver/project.deps'
45-
token: ${{ secrets.DEVOPS_ISSUE_RO_TOKEN }}
40+
# - name: Clone Deps Repositories
41+
# uses: dbeaver/github-actions/clone-repositories@devel
42+
# with:
43+
# project_deps_path: './cloudbeaver/project.deps'
44+
# token: ${{ secrets.DEVOPS_ISSUE_RO_TOKEN }}
4645

47-
- run: corepack enable
48-
- uses: actions/setup-node@v4
49-
with:
50-
node-version: 'lts/*'
51-
cache: 'yarn'
52-
cache-dependency-path: |
53-
cloudbeaver/webapp/yarn.lock
46+
# - run: corepack enable
47+
# - uses: actions/setup-node@v4
48+
# with:
49+
# node-version: 'lts/*'
50+
# cache: 'yarn'
51+
# cache-dependency-path: |
52+
# cloudbeaver/webapp/yarn.lock
5453

55-
- name: restore typescript cache
56-
uses: actions/cache@v4
57-
with:
58-
path: |
59-
"cloudbeaver/webapp/common-*/**/*/lib"
60-
"cloudbeaver/webapp/**/packages/*/dist"
61-
key: ${{ runner.os }}-dist-${{ hashFiles('cloudbeaver/webapp/yarn.lock') }}
62-
restore-keys: |
63-
${{ runner.os }}-dist-
54+
# - name: restore typescript cache
55+
# uses: actions/cache@v4
56+
# with:
57+
# path: |
58+
# "cloudbeaver/webapp/common-*/**/*/lib"
59+
# "cloudbeaver/webapp/**/packages/*/dist"
60+
# key: ${{ runner.os }}-dist-${{ hashFiles('cloudbeaver/webapp/yarn.lock') }}
61+
# restore-keys: |
62+
# ${{ runner.os }}-dist-
6463

65-
- if: inputs.clean-cache
66-
run: yarn clear
64+
# - if: inputs.clean-cache
65+
# run: yarn clear
6766

68-
- run: yarn install --immutable
67+
# - run: yarn install --immutable
6968

70-
- run: yarn bundle
71-
working-directory: ./cloudbeaver/webapp/packages/product-default
69+
# - run: yarn bundle
70+
# working-directory: ./cloudbeaver/webapp/packages/product-default
7271

73-
- run: yarn test
72+
# - run: yarn test
7473

75-
# - name: Archive build artifacts
76-
# uses: actions/upload-artifact@v4
77-
# with:
78-
# name: frontend-build-artifacts
79-
# path: webapp/packages/product-default/lib
80-
# if-no-files-found: error
74+
# # - name: Archive build artifacts
75+
# # uses: actions/upload-artifact@v4
76+
# # with:
77+
# # name: frontend-build-artifacts
78+
# # path: webapp/packages/product-default/lib
79+
# # if-no-files-found: error

0 commit comments

Comments
 (0)