Skip to content

Commit

Permalink
Merge pull request #508 from NipunaMadhushan/remove-docerina
Browse files Browse the repository at this point in the history
Remove docerina
  • Loading branch information
NipunaMadhushan authored Nov 28, 2024
2 parents ee35b5a + 5f7d5cb commit 112f36c
Show file tree
Hide file tree
Showing 55 changed files with 10 additions and 4,285 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,16 @@ jobs:
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
if: github.event_name == 'workflow_dispatch'
run: |
./gradlew -Pversion=${TIMESTAMPED_VERSION} clean publish -x :docerina-ui:npmTestDocerinaUI --scan
./gradlew -Pversion=${TIMESTAMPED_VERSION} clean publish --scan
- name: Build and Publish
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
if: github.event_name == 'push'
run: |
./gradlew clean publish -x :docerina-ui:npmTestDocerinaUI --scan
./gradlew clean publish --scan
- name: Generate Codecov Report
uses: codecov/codecov-action@v1
with:
directory: ./docerina-ui/coverage/

4 changes: 2 additions & 2 deletions .github/workflows/daily-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: ./gradlew build -x :docerina-ui:npmTestDocerinaUI
run: ./gradlew build

windows-build:

Expand Down Expand Up @@ -61,4 +61,4 @@ jobs:
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: ./gradlew.bat build -x :docerina-ui:npmTestDocerinaUI
run: ./gradlew.bat build
4 changes: 2 additions & 2 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
run: |
./gradlew release -Prelease.useAutomaticVersion=true -x :docerina-ui:npmTestDocerinaUI
./gradlew -Pversion=${VERSION} publish -x :docerina-ui:npmTestDocerinaUI
./gradlew release -Prelease.useAutomaticVersion=true
./gradlew -Pversion=${VERSION} publish
- name: Create Github release from the release tag
run: |
curl --request POST 'https://api.github.com/repos/ballerina-platform/ballerina-dev-tools/releases' \
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,11 @@ jobs:
env:
packageUser: ${{ github.actor }}
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build -x :createArtifactZip -x :docerina-ui:npmTestDocerinaUI
run: ./gradlew build -x :createArtifactZip

- name: Generate Codecov Report
if: github.event_name == 'pull_request'
uses: codecov/codecov-action@v1
with:
directory: ./docerina-ui/coverage/

windows-build:

Expand All @@ -61,7 +59,7 @@ jobs:
env:
packageUser: ${{ github.actor }}
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew.bat build -x :createArtifactZip -x :docerina-ui:npmTestDocerinaUI
run: ./gradlew.bat build -x :createArtifactZip

windows-build-2:

Expand Down Expand Up @@ -92,6 +90,6 @@ jobs:
packageUser: ${{ github.actor }}
packagePAT: ${{ secrets.GITHUB_TOKEN }}
run: |
./gradlew.bat build -x :createArtifactZip -x :docerina-ui:npmTestDocerinaUI -x test
./gradlew.bat build -x :createArtifactZip -x test
./gradlew.bat :flow-model-generator:flow-model-generator-ls-extension:test
working-directory: ${{ github.workspace }}/test folder
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ hs_err_pid*
# mac
.DS_Store

/docerina-ui/dist/
/docerina-ui/coverage/
/docerina-ui/node_modules/
/docerina-ui/package-lock.json
/testerina-report-tools/build/
/testerina-report-tools/node_modules/
/testerina-report-tools/package-lock.json
Expand Down
3 changes: 1 addition & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ task copyArtifactZip {

task createArtifactZip(type: Zip) {
dependsOn copyArtifactZip
dependsOn(":docerina-ui:createDocerinaUiZip")
dependsOn(":testerina-report-tools:createTesterinaReportToolsZip")
from "build"
archiveFileName = 'ballerina-dev-tools-' + project.version + '.zip'
Expand Down Expand Up @@ -205,7 +204,7 @@ release {
}

task test {
dependsOn(":docerina-ui:npmTestDocerinaUI")
dependsOn(":graphql-model-generator:graphql-model-generator-ls-extension:test")
}

task build {
Expand Down
1 change: 0 additions & 1 deletion docerina-ui/.babelrc

This file was deleted.

63 changes: 0 additions & 63 deletions docerina-ui/build.gradle

This file was deleted.

62 changes: 0 additions & 62 deletions docerina-ui/package.json

This file was deleted.

37 changes: 0 additions & 37 deletions docerina-ui/public/content/attach.svg

This file was deleted.

Loading

0 comments on commit 112f36c

Please sign in to comment.