fix: forzar LF en entrypoint.sh + environments postman + limpiar variables coleccion
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good

- .gitattributes: añadir '*.sh text eol=lf' para evitar CRLF en Windows
- deployments/entrypoint.sh: renormalizado a LF
- postman_environments.json: entornos LOCAL/DEV/PROD en un único fichero
- postman_collection.json: eliminadas variables por defecto (vienen del entorno)
This commit is contained in:
minguezsanzjuanjose
2026-04-17 23:01:36 +02:00
parent c692ce2a61
commit 590e18e994
3 changed files with 39 additions and 27 deletions

3
.gitattributes vendored
View File

@@ -1,2 +1,5 @@
# Auto detect text files and perform LF normalization
* text=auto
# Shell scripts: forzar LF siempre (evita CRLF en Windows que rompe Docker)
*.sh text eol=lf

View File

@@ -5,33 +5,7 @@
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
"_postman_id": "django-core-base-collection"
},
"variable": [
{
"key": "base_url",
"value": "http://localhost:8000",
"type": "string"
},
{
"key": "access_token",
"value": "",
"type": "string"
},
{
"key": "refresh_token",
"value": "",
"type": "string"
},
{
"key": "username",
"value": "admin",
"type": "string"
},
{
"key": "password",
"value": "admin",
"type": "string"
}
],
"variable": [],
"item": [
{
"name": "Auth",

35
postman_environments.json Normal file
View File

@@ -0,0 +1,35 @@
{
"local": {
"id": "ftt19d5vxuj",
"v": 2,
"name": "LOCAL",
"variables": [
{ "key": "base_url", "secret": false, "initialValue": "http://localhost:8000", "currentValue": "http://localhost:8000" },
{ "key": "username", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "password", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "access_token", "secret": false, "initialValue": "", "currentValue": "" }
]
},
"dev": {
"id": "x8jh10qysfo",
"v": 2,
"name": "DEV",
"variables": [
{ "key": "base_url", "secret": false, "initialValue": "https://dev.v-encore-lab.com", "currentValue": "https://dev.v-encore-lab.com" },
{ "key": "username", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "password", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "access_token", "secret": false, "initialValue": "", "currentValue": "" }
]
},
"prod": {
"id": "3ckrklvkf27",
"v": 2,
"name": "PROD",
"variables": [
{ "key": "base_url", "secret": false, "initialValue": "https://v-encore-lab.com", "currentValue": "https://v-encore-lab.com" },
{ "key": "username", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "password", "secret": false, "initialValue": "admin", "currentValue": "admin" },
{ "key": "access_token", "secret": false, "initialValue": "", "currentValue": "" }
]
}
}