Skip to content

Commit 004fee9

Browse files
authored
Merge pull request #81 from keizer619/alpha-sync
Sync dev branch
2 parents b904809 + d2f93a0 commit 004fee9

File tree

197 files changed

+37380
-1111
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

197 files changed

+37380
-1111
lines changed

.github/workflows/build-and-release.yml

Lines changed: 697 additions & 429 deletions
Large diffs are not rendered by default.

.github/workflows/compile.yml

Lines changed: 503 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/publish-installers.yml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Need to modify later to publish installers to github releases/ proper server
22

3-
name: Build and Release Artifacts
3+
name: Build and Release Packed Installers
44

55
on:
66
workflow_dispatch:
@@ -28,11 +28,6 @@ on:
2828
required: false
2929
default: true
3030
type: boolean
31-
build_all_in_all_pack:
32-
description: 'Build all in all package'
33-
required: true
34-
default: true
35-
type: boolean
3631
ballerina_version:
3732
description: 'Specify Ballerina version to use'
3833
required: true
@@ -51,15 +46,6 @@ permissions:
5146
contents: write
5247

5348
jobs:
54-
validate-inputs:
55-
name: Validate Inputs
56-
runs-on: ubuntu-latest
57-
steps:
58-
- name: Fail if required inputs are missing
59-
if: ${{ github.event.inputs.build_all_in_all_pack == true && (github.event.inputs.ballerina_version == '' || github.event.inputs.icp_version == '' || github.event.inputs.integrator_version == '') }}
60-
run: |
61-
echo "Error: ballerina_version, icp_version, and integrator_version are required to build full pack"
62-
exit 1
6349
compile:
6450
name: Compile
6551
runs-on: ${{ github.event.inputs.runner == 'codebuild' && 'codebuild-wso2_product-integrator-${{ github.run_id }}-${{ github.run_attempt }}' || 'ubuntu-latest' }}
@@ -161,7 +147,7 @@ jobs:
161147
working-directory: .
162148
run: |
163149
chmod +x ./ci/build/update-product.sh
164-
./ci/build/update-product.sh
150+
./ci/build/update-product.sh "${{ github.event.inputs.integrator_version }}"
165151
- name: Install dependencies
166152
env:
167153
ELECTRON_SKIP_BINARY_DOWNLOAD: '1'
@@ -396,7 +382,7 @@ jobs:
396382
working-directory: .
397383
run: |
398384
chmod +x ./ci/build/update-product.sh
399-
./ci/build/update-product.sh
385+
./ci/build/update-product.sh "${{ github.event.inputs.integrator_version }}"
400386
401387
- name: Validate Xcode tools (macOS)
402388
run: |
@@ -668,7 +654,7 @@ jobs:
668654
working-directory: .
669655
run: |
670656
chmod +x ./ci/build/update-product.sh
671-
./ci/build/update-product.sh
657+
./ci/build/update-product.sh "${{ github.event.inputs.integrator_version }}"
672658
673659
- name: Install Rust toolchain (Windows)
674660
shell: pwsh

.gitignore

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.tsbuildinfo
22
.cache
3+
.build
34
/out*/
45
release/
56
release-npm-package/
@@ -38,4 +39,18 @@ installers/windows/WixPackage/obj/
3839
installers/windows/WixPackage/bin/
3940
installers/windows/WixPackage/payload/ICP/
4041
installers/linux-deb/package/usr/lib/
41-
installers/linux-deb/package/usr/share/wso2-integrator
42+
installers/linux-deb/package/usr/share/wso2-integrator
43+
44+
# VScode build output
45+
lib/
46+
build/
47+
!lib/vscode
48+
49+
# Rush temporary files
50+
common/deploy/
51+
common/temp/
52+
common/autoinstallers/*/.npmrc
53+
**/.rush/temp/
54+
55+
**/rush-logs/
56+
.github/workflows/release.yml

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
[submodule "lib/vscode"]
22
path = lib/vscode
33
url = https://github.com/microsoft/vscode.git
4+
[submodule "external/wso2-vscode-extensions"]
5+
path = external/wso2-vscode-extensions
6+
url = https://github.com/wso2/vscode-extensions.git

0 commit comments

Comments
 (0)