Skip to content

Commit

Permalink
Feat: APP-2279 - Use @aragon/ods library, remove multi-package setup (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
cgero-eth authored Jul 17, 2023
1 parent 2dc8390 commit e24fb18
Show file tree
Hide file tree
Showing 720 changed files with 1,505 additions and 23,632 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 0 additions & 7 deletions .github/labeler.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .github/workflows/preview_delete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,26 +40,3 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
})
- name: Find Previous UI-Components Deployment
uses: peter-evans/find-comment@v2
id: fcui
with:
issue-number: ${{ github.event.pull_request.number }}
body-includes: 'Storybook IPFS Hash: '
- name: Unpin UI-Components
if: steps.fcui.outputs.comment-id != 0
run: |
COMMENT='${{ steps.fcui.outputs.comment-body }}'
IFS=" " read -ra array <<< "$COMMENT"
hash=${array[3]}
./ipfs-cluster-ctl/ipfs-cluster-ctl --basic-auth '${{ secrets.IPFS_BASIC_AUTH }}' --host '${{ secrets.IPFS_HOST }}' pin rm $hash
- name: Delete Comment
uses: actions/github-script@v6
if: steps.fcui.outputs.comment-id != 0
with:
script: |
github.rest.issues.deleteComment({
comment_id: ${{ steps.fcui.outputs.comment-id }},
owner: context.repo.owner,
repo: context.repo.repo,
})
12 changes: 0 additions & 12 deletions .github/workflows/pull_request_labeler.yml

This file was deleted.

77 changes: 0 additions & 77 deletions .github/workflows/pull_request_storybook_preview.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .github/workflows/pull_request_webapp_preview.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
name: Pull Request WebApp Preview
on:
pull_request:
paths:
- 'packages/web-app/**'
types:
- labeled
- synchronize
jobs:
webapp-preview:
if: contains(github.event.pull_request.labels.*.name, 'preview')
runs-on: ubuntu-latest
defaults:
run:
working-directory: packages/web-app
steps:
- name: Find a PR comment
uses: peter-evans/find-comment@v2
Expand Down Expand Up @@ -40,10 +35,6 @@ jobs:
cache: 'yarn'
- name: Install depdendencies
run: yarn install --pure-lockfile
- name: Build ui-components
run: |
cd ../ui-components
yarn build
- name: Lint
run: yarn lint
- name: Build
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/storybook-deploy.yml

This file was deleted.

46 changes: 0 additions & 46 deletions .github/workflows/ui-components-publish.yml

This file was deleted.

74 changes: 0 additions & 74 deletions .github/workflows/ui-components-release.yml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/ui-components-test.yml

This file was deleted.

14 changes: 2 additions & 12 deletions .github/workflows/webapp-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: WebApp Deploy DEV (no Fleek)
on:
workflow_dispatch:
push:
paths:
- 'packages/web-app/**'
#- '!.github/**'
branches:
- 'develop'
- 'DOPS-*' ## temporal branch for testing only
Expand Down Expand Up @@ -83,15 +80,8 @@ jobs:
- name: Install depdendencies
run: yarn install --pure-lockfile

- name: Build ui-components
run: |
cd packages/ui-components
yarn build
- name: Build web-app
run: |
cd packages/web-app
yarn build
run: yarn build
env:
VITE_REACT_APP_DEPLOY_VERSION: ${{ github.sha }}
VITE_REACT_APP_DEPLOY_ENVIRONMENT: ${{ needs.setup-env-vars.outputs.environment }}
Expand Down Expand Up @@ -161,7 +151,7 @@ jobs:
env:
COMMIT_SHA: ${{ github.sha }}
run: |
for f in $(find ./packages/web-app/dist/assets/ -name *.js.map) ; do
for f in $(find ./dist/assets/ -name *.js.map) ; do
curl -X POST "https://kibana-sourcemaps.aragon.org/api/apm/sourcemaps" \
-H 'Content-Type: multipart/form-data' \
-H 'kbn-xsrf: true' \
Expand Down
Loading

0 comments on commit e24fb18

Please sign in to comment.