-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from PnX-SI/dev
v1.3.0 pre-release
- Loading branch information
Showing
275 changed files
with
25,725 additions
and
16,512 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,87 @@ | ||
name: Docker Build and Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- dev | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
build_and_publish: | ||
name: Build and Publish Docker Images | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
|
||
- name: Login to GitHub Packages | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Generate metadata for backend image | ||
id: meta-backend | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ghcr.io/${{ github.repository_owner }}/geopaysages_backend | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=tag | ||
- name: Build and push backend Docker image | ||
id: build-backend | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./backend | ||
file: ./backend/Dockerfile | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-backend.outputs.tags }} | ||
labels: ${{ steps.meta-backend.outputs.labels }} | ||
|
||
- name: Generate metadata for admin image | ||
id: meta-admin | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ghcr.io/${{ github.repository_owner }}/geopaysages_admin | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=tag | ||
- name: Build and push admin Docker image | ||
id: build-admin | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./admin | ||
file: ./admin/Dockerfile | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-admin.outputs.tags }} | ||
labels: ${{ steps.meta-admin.outputs.labels }} | ||
|
||
- name: Generate metadata for db image | ||
id: meta-db | ||
uses: docker/metadata-action@v4 | ||
with: | ||
images: ghcr.io/${{ github.repository_owner }}/geopaysages_db | ||
tags: | | ||
type=ref,event=branch | ||
type=ref,event=tag | ||
- name: Build and push db Docker image | ||
id: build-db | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: ./db | ||
file: ./db/Dockerfile | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta-db.outputs.tags }} | ||
labels: ${{ steps.meta-db.outputs.labels }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,75 @@ | ||
backend/static/custom/images/sample.png | ||
backend/static/custom/css/custom-style.css | ||
backend/static/custom/css/page-style.css | ||
backend/static/custom/logo/logo_txt_blanc.png | ||
backend/static/custom/logo/logo_txt_color.png | ||
backend/static/custom/logo/favicon.ico | ||
|
||
messages.pot | ||
messages.po | ||
messages.mo | ||
|
||
src/favicon.ico | ||
|
||
|
||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
jsconfig.json | ||
|
||
# IDE - VSCode | ||
.vscode/* | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
*.pyc | ||
*.pyo | ||
*.swp | ||
|
||
# Conf | ||
*config.py | ||
*config.ts | ||
|
||
# Typings file. | ||
typings/ | ||
pylintrc | ||
|
||
# Node | ||
.npm | ||
node_modules | ||
npm-debug.log | ||
coverage/ | ||
node_modules/ | ||
tmp/ | ||
npm-debug.log* | ||
yarn-error.log* | ||
.ng_pkg_build/ | ||
|
||
# venv | ||
venv | ||
|
||
# Outputs | ||
bazel-* | ||
test-project-host-* | ||
dist/ | ||
dist-schema/ | ||
var/ | ||
|
||
|
||
#doc | ||
documentation | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_200_400.jpg~ | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_300_500.jpg~ | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_400_600.jpg~ | ||
geopaysagesftpclient/config.ini | ||
geopaysagesftpclient/pytest.ini | ||
geopaysagesftpclient/.vscode/ | ||
geopaysagesftpclient/geopaysagesftpclient.egg-info/ | ||
geopaysagesftpclient/output/ | ||
geopaysagesftpclient/env/ | ||
backend/static/custom/* | ||
backend/static/upload/* | ||
!backend/static/upload/.gitkeep | ||
|
||
#messages.pot | ||
#messages.po | ||
#messages.mo | ||
|
||
src/favicon.ico | ||
|
||
|
||
|
||
# IDEs and editors | ||
/.idea | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
jsconfig.json | ||
|
||
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
*.pyc | ||
*.pyo | ||
*.swp | ||
|
||
# Conf | ||
*config.ts | ||
docker/.env-demo | ||
docker/docker-compose.override.yml | ||
|
||
# Typings file. | ||
typings/ | ||
pylintrc | ||
|
||
# Node | ||
.npm | ||
node_modules | ||
npm-debug.log | ||
coverage/ | ||
node_modules/ | ||
tmp/ | ||
npm-debug.log* | ||
yarn-error.log* | ||
.ng_pkg_build/ | ||
|
||
# venv | ||
venv | ||
|
||
# Outputs | ||
bazel-* | ||
test-project-host-* | ||
dist/ | ||
dist-schema/ | ||
var/ | ||
|
||
|
||
#doc | ||
documentation | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_200_400.jpg~ | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_300_500.jpg~ | ||
geopaysagesftpclient/geopaysagesftpclient/tests/pt_400_600.jpg~ | ||
geopaysagesftpclient/config.ini | ||
geopaysagesftpclient/pytest.ini | ||
geopaysagesftpclient/.vscode/ | ||
geopaysagesftpclient/geopaysagesftpclient.egg-info/ | ||
geopaysagesftpclient/output/ | ||
geopaysagesftpclient/env/ | ||
|
||
custom | ||
.vscode/settings.json | ||
docker/.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.2.1 | ||
1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist/ | ||
node_modules/ |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"singleQuote": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM node:12.22.12-slim as build-stage | ||
WORKDIR /app | ||
COPY ./package*.json ./ | ||
RUN npm install | ||
COPY . . | ||
RUN npm run build -- --base-href /admin/ | ||
|
||
FROM nginx as production-stage | ||
RUN mkdir /app | ||
COPY --from=build-stage /app/dist/admin /app/admin | ||
COPY ./install_resources/nginx.conf /etc/nginx/conf.d/default.conf |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.