Skip to content

Commit

Permalink
chore(migrate): remove legacy code and migrate new code (#1618)
Browse files Browse the repository at this point in the history
* chore(legacy): wipe legacy code

* chore(tavla): rename next-tavla -> tavla
  • Loading branch information
emilielr authored Aug 21, 2024
1 parent 0a01f7a commit 793bbcc
Show file tree
Hide file tree
Showing 810 changed files with 5,429 additions and 94,459 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/cd-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ on:
branches:
- master
paths:
- "next-tavla/**"
- "tavla/**"

jobs:
docker-push:
uses: entur/gha-docker/.github/workflows/[email protected]
with:
environment: prd
context: next-tavla
context: tavla
image_name: tavla/frontend

helm-deploy-dev:
needs: [docker-push]
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: dev
chart: next-tavla/helm/tavla
chart: tavla/helm/tavla
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}

approval-step:
Expand All @@ -39,5 +39,5 @@ jobs:
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: prd
chart: next-tavla/helm/tavla
chart: tavla/helm/tavla
image: ${{ needs.docker-push.outputs.image_name }}:${{ needs.docker-push.outputs.image_tag}}
10 changes: 5 additions & 5 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ on:
branches:
- master
paths:
- "next-tavla/**"
- "tavla/**"

jobs:
docker-lint:
uses: entur/gha-docker/.github/workflows/[email protected]
with:
dockerfile: next-tavla/Dockerfile
dockerfile: tavla/Dockerfile
ignore: DL3018,DL3019

helm-lint:
uses: entur/gha-helm/.github/workflows/[email protected]
with:
environment: prd
chart: next-tavla/helm/tavla
chart: tavla/helm/tavla

code-lint:
runs-on: ubuntu-24.04
Expand All @@ -37,10 +37,10 @@ jobs:
restore-keys: ${{ runner.os }}-yarn-
- name: install
if: steps.yarn-cache.outputs.cache-hit != 'true'
working-directory: next-tavla
working-directory: tavla
run: yarn install
- name: lint and typecheck
working-directory: next-tavla
working-directory: tavla
run: |
yarn lint
yarn typecheck
8 changes: 0 additions & 8 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ then
echo "Files changed in tavla"
cd tavla
yarn lint
cd ..
fi

if ! git diff --cached --exit-code -s next-tavla
then
echo "Files changed in next-tavla"
cd next-tavla
yarn lint
yarn typecheck
yarn prettier
cd ..
Expand Down
Loading

0 comments on commit 793bbcc

Please sign in to comment.