Skip to content

Commit

Permalink
v0.0.6
Browse files Browse the repository at this point in the history
v0.0.6
  • Loading branch information
DestroyCom committed Sep 4, 2023
2 parents 6f1e668 + 79386b2 commit e325a7f
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 291 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/deploy_develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- develop
#- SERA-58
workflow_dispatch:

jobs:
Expand Down Expand Up @@ -54,24 +53,6 @@ jobs:
exit 1
fi
#- name: Check if the front does not have lint errors
#run: |
#docker run --rm \
#-u "$(id -u):$(id -g)" \
#-v $(pwd)/sera-front:/opt \
#-w /opt \
#node:lts \
#npm install && npm run lint-autofix

#- name: Execute composer install
#run: |
#docker run --rm \
#-u "$(id -u):$(id -g)" \
#-v $(pwd)/sera-back:/opt \
#-w /opt \
#laravelsail/php81-composer \
#composer install --ignore-platform-reqs

- name: Launch the containers
run: |
docker-compose -f ./develop.docker-compose.yml -p "develop-sera" up -d --build
Expand Down Expand Up @@ -99,8 +80,6 @@ jobs:
docker exec develop-sera-back-laravel-test php artisan l5-swagger:generate
- name: Run migrations
# get all my env from secrets.DEVELOP_LARAVEL_ENV_FILE

run: |
sleep 10
docker exec develop-sera-back-laravel-test php artisan config:cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
uses: ./.github/workflows/install_sera.yml
secrets: inherit
notify:
needs: update_sera_app
needs: [deploy_release, update_sera_app]
runs-on: ubuntu-latest
steps:
- name: Notify production build & published
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/install_sera.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,10 @@ jobs:
run: |
docker image prune -f
- name: Wait till the stack is created
run: |
sleep 2
- name: Writes the .env file
run: |
docker exec sera-server sh -c 'echo "${{ secrets.PROD_ENV_FILE }}" > .env'
- name: DEBUG LS REPO
run: |
ls -la
docker exec sera-server ls -la
- name: Execute laravel configs
run: |
docker exec sera-server php artisan cache:clear
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: Linting
on:
pull_request:
types: [opened, synchronize, reopened]
#push:
#branches:
#- develop
#workflow_call:
push:
branches: [develop]

jobs:
lint:
Expand Down
26 changes: 0 additions & 26 deletions archives/create_version.yml

This file was deleted.

96 changes: 0 additions & 96 deletions archives/deploy_working.yml

This file was deleted.

39 changes: 0 additions & 39 deletions archives/opencommit.yml

This file was deleted.

66 changes: 0 additions & 66 deletions sera-back/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions sera-front/dev.Dockerfile

This file was deleted.

3 changes: 0 additions & 3 deletions sera-front/prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ ARG VITE_ENV_MODE
ENV VITE_BACKEND_URL=${VITE_BACKEND_URL}
ENV VITE_ENV_MODE=${VITE_ENV_MODE}

RUN echo "$VITE_BACKEND_URL - $VITE_ENV_MODE"
RUN printenv VITE_BACKEND_URL && printenv VITE_ENV_MODE

# Copier les fichiers de configuration de l'application
COPY package.json .
COPY package-lock.json .
Expand Down
1 change: 0 additions & 1 deletion version.txt

This file was deleted.

0 comments on commit e325a7f

Please sign in to comment.