Skip to content

Commit

Permalink
chore: remove all power-apps related files (#1849)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Nov 17, 2023
1 parent ad80e41 commit 064d2b9
Show file tree
Hide file tree
Showing 60 changed files with 4 additions and 18,743 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@
/showcases/patternhub/pages/components/**
build-outputs/
build-showcases/
build-power-apps/
59 changes: 0 additions & 59 deletions .github/workflows/01-build-power-apps.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/03-publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ jobs:
name: db-ui-outputs
path: build-outputs

- name: ⬇ Download Power Apps zip
uses: ./.github/actions/download-tar-artifact
with:
name: db-ui-powerapps
path: build-power-apps/DBUI

- name: 📰 Publish to NPM Registries
run: |
chmod +rx ./.github/scripts/publish-npm.sh
Expand All @@ -50,18 +44,6 @@ jobs:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: ⬆ Upload Power Apps Release Asset
id: upload-release-asset
uses: actions/github-script@v7
with:
result-encoding: json
script: |
const { default: uploadAsset } = await import('${{ github.workspace }}/.github/scripts/upload-asset.js');
const release_id = context.payload.release.id;
const assetName = 'DBUI.zip';
const assetPath = '${{ github.workspace }}/build-power-apps/DBUI/bin/Release/DBUI.zip';
return await uploadAsset({github, context, release_id, assetName, assetPath});
- name: 💀 Killing me softly
uses: ./.github/actions/cancel-workflow
if: failure()
Expand Down
19 changes: 2 additions & 17 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,6 @@ jobs:
uses: ./.github/workflows/01-build-showcases.yml
needs: [build-packages]

build-power-apps:
uses: ./.github/workflows/01-build-power-apps.yml
needs: [build-packages]
secrets: inherit
with:
version: 0.0.0-test

test-showcases:
uses: ./.github/workflows/02-e2e-showcases.yml
needs: [build-showcases]
Expand All @@ -61,22 +54,14 @@ jobs:
resultBuildOutputs="${{ needs.build-outputs.result }}"
resultTestPackages="${{ needs.test-components.result }}"
resultTestShowcases="${{ needs.test-showcases.result }}"
resultBuildPowerApps="${{ needs.build-power-apps.result }}"
if [[ $resultTestShowcases == "success" && $resultBuildShowcases == "success" && $resultBuildOutputs == "success" && $resultTestPackages == "success" && $resultBuildPowerApps == "success" ]]; then
if [[ $resultTestShowcases == "success" && $resultBuildShowcases == "success" && $resultBuildOutputs == "success" && $resultTestPackages == "success" ]]; then
echo "🎉 All tests were successful."
exit 0
else
echo "Some tests were failing."
exit 1
fi
needs:
[
build-showcases,
build-outputs,
test-components,
test-showcases,
build-power-apps
]
needs: [build-showcases, build-outputs, test-components, test-showcases]

deploy:
uses: ./.github/workflows/03-deploy-gh-pages.yml
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ jobs:
uses: ./.github/workflows/02-e2e.yml
needs: [build-packages]

build-power-apps:
uses: ./.github/workflows/01-build-power-apps.yml
needs: [get-publish-version, build-packages]
secrets: inherit
with:
version: ${{ needs.get-publish-version.outputs.version }}

test-showcases:
uses: ./.github/workflows/02-e2e-showcases.yml
needs: [build-showcases]
Expand All @@ -57,14 +50,7 @@ jobs:
steps:
- name: 🎉 Checks done
run: echo "🎉 All builds were successful."
needs:
[
test-components,
build-outputs,
build-showcases,
test-showcases,
build-power-apps
]
needs: [test-components, build-outputs, build-showcases, test-showcases]

deploy:
uses: ./.github/workflows/03-deploy-gh-pages.yml
Expand Down
6 changes: 0 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ ctags.tmp
packages/components/src/**/*.css
packages/components/src/**/*.css.map

output/power-apps
/output/**/src
/output/**/dist
/output/**/.angular
Expand All @@ -37,11 +36,6 @@ output/power-apps
/build-outputs/
!/build-outputs/package.json

/build-power-apps/
!/build-power-apps/package.json
!/build-power-apps/package-lock.json
!/build-power-apps/DBUI/**
!/build-power-apps/**/strings/*.*.resx
.cache
**/playwright-report
/.parcel-cache/
Expand Down
1 change: 0 additions & 1 deletion .jscpd.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"**/public/**",
"**/dist/**",
"**/build-outputs/**",
"**/build-power-apps/**",
"**/build-showcases/**",
"**/output/**",
"**/node_modules/**",
Expand Down
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ build/
node_modules
output
build-outputs
build-power-apps
build-showcases
packages/foundations/scripts/generate-icon-fonts/styles/**
1 change: 0 additions & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
assets/fonts/**/sources
build/
build-outputs/
build-power-apps/
build-showcases/
dist/
out/
Expand Down
5 changes: 0 additions & 5 deletions build-power-apps/DBUI/.gitignore

This file was deleted.

68 changes: 0 additions & 68 deletions build-power-apps/DBUI/DBUI.cdsproj

This file was deleted.

18 changes: 0 additions & 18 deletions build-power-apps/DBUI/src/Other/Customizations.xml

This file was deleted.

2 changes: 0 additions & 2 deletions build-power-apps/DBUI/src/Other/Relationships.xml

This file was deleted.

Loading

0 comments on commit 064d2b9

Please sign in to comment.