Skip to content

Commit

Permalink
reorganize repo
Browse files Browse the repository at this point in the history
  • Loading branch information
adgud authored and placek committed Feb 1, 2024
1 parent 57dc727 commit ffc6d17
Show file tree
Hide file tree
Showing 402 changed files with 247 additions and 248 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -53,7 +53,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -80,7 +80,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_USER: "postgres"
Expand Down Expand Up @@ -186,7 +186,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
env:
DBSYNC_POSTGRES_DB: "cexplorer"
DBSYNC_POSTGRES_USER: "postgres"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend_sonar_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: SonarQube Static Analysis
on:
push:
paths:
- src/vva-fe/**
- govtool/frontend/**
- .github/workflows/frontend_sonar_scan.yml

jobs:
Expand All @@ -17,7 +17,7 @@ jobs:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@master
with:
projectBaseDir: src/vva-fe
projectBaseDir: govtool/frontend
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Lighthouse
on:
push:
paths:
- src/vva-fe/**
- govtool/frontend/**
- .github/workflows/lighthouse.yml

jobs:
Expand All @@ -19,22 +19,22 @@ jobs:

- name: Install dependencies
run: npm install
working-directory: ./src/vva-fe
working-directory: ./govtool/frontend

- name: Cache npm dependencies
id: npm-cache
uses: actions/cache@v3
with:
path: |
~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('src/vva-fe/package-lock.json', 'tests/vva-fe/package-lock.json') }}
key: ${{ runner.os }}-npm-${{ hashFiles('govtool/frontend/package-lock.json', 'tests/vva-fe/package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- run: npm install -g @lhci/[email protected]

- name: Run build and lighthouse task
working-directory: ./src/vva-fe
working-directory: ./govtool/frontend
run: |
npm install
VITE_BASE_URL=https://staging.govtool.byron.network/api npm run build
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Publish reports
working-directory: ./src/vva-fe
working-directory: ./govtool/frontend
if: github.repository_owner == 'IntersectMBO'
run: |
lhci assert --preset lighthouse:recommended || echo "LightHouse Assertion error ignored ..."
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: Storybook Test
on:
push:
paths:
- src/vva-fe/**
- govtool/frontend/**
- .github/workflows/test_storybook.yml

defaults:
run:
working-directory: ./src/vva-fe
working-directory: ./govtool/frontend

jobs:
storybook:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/toggle-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -52,7 +52,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./src
working-directory: ./scripts/govtool
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ treefmt.toml
local/

# used by haskell
src/vva-be/dist-newstyle/
govtool/backend/dist-newstyle/

# target environment config dir
src/config/target
scripts/govtool/config/target

# terraform
src/terraform/.terraform*
infra/terraform/.terraform*

# local env files
.env
Expand Down
12 changes: 5 additions & 7 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,19 @@
* @Ryun1 @kickloop

# Frontend assets templates
src/vva-fe/* @Sworzen1 @JanJaroszczak @kickloop
govtool/frontend/* @Sworzen1 @JanJaroszczak @kickloop
*.tsx @Sworzen1 @JanJaroszczak @kickloop
*.ts @Sworzen1 @JanJaroszczak @kickloop
*.css @Sworzen1 @JanJaroszczak @kickloop

# Backend
src/vva-be/* @jankun4 @kickloop
govtool/backend/* @jankun4 @kickloop

# DevOps
.github/workflows/* @adgud @kickloop
src/config/* @adgud @kickloop
src/scripts/* @adgud @kickloop
src/terraform/* @adgud @kickloop
config/govtool/* @adgud @kickloop
infra/terraform/* @adgud @kickloop

# Testing
src/load-testing/* @IntersectMBO/govtool-test @kickloop
src/governance-action-loader/* @IntersectMBO/govtool-test @kickloop
gov-action-loader/* @IntersectMBO/govtool-test @kickloop
tests/* @IntersectMBO/govtool-test @kickloop
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/vva-be/.gitignore β†’ govtool/backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# other
.vscode
# other
.vscode
dev-config.json
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[ZoneTransfer]
ZoneId=3
HostUrl=https://files.slack.com/files-pri/T02GP5QUP-F05KTJ0MV5Z/download/schema2.sql?origin_team=T02GP5QUP
[ZoneTransfer]
ZoneId=3
HostUrl=https://files.slack.com/files-pri/T02GP5QUP-F05KTJ0MV5Z/download/schema2.sql?origin_team=T02GP5QUP
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit ffc6d17

Please sign in to comment.