fix: forzar LF en entrypoint.sh + environments postman + limpiar variables coleccion
All checks were successful
DEPLOY_MULTI_BRACH/pipeline/head This commit looks good
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:
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,2 +1,5 @@
|
|||||||
# Auto detect text files and perform LF normalization
|
# Auto detect text files and perform LF normalization
|
||||||
* text=auto
|
* text=auto
|
||||||
|
|
||||||
|
# Shell scripts: forzar LF siempre (evita CRLF en Windows que rompe Docker)
|
||||||
|
*.sh text eol=lf
|
||||||
|
|||||||
@@ -5,33 +5,7 @@
|
|||||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
|
||||||
"_postman_id": "django-core-base-collection"
|
"_postman_id": "django-core-base-collection"
|
||||||
},
|
},
|
||||||
"variable": [
|
"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"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"item": [
|
"item": [
|
||||||
{
|
{
|
||||||
"name": "Auth",
|
"name": "Auth",
|
||||||
|
|||||||
35
postman_environments.json
Normal file
35
postman_environments.json
Normal 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": "" }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user