Descargar hoja de atajos de React
This file contains hidden or 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
| apiVersion: networking.k8s.io/v1 | |
| kind: Ingress | |
| metadata: | |
| name: tienda-ingress | |
| spec: | |
| rules: | |
| - http: | |
| paths: | |
| - path: /* | |
| pathType: ImplementationSpecific |
This file contains hidden or 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
| steps: | |
| - name: 'gcr.io/cloud-builders/docker' | |
| entrypoint: 'bash' | |
| args: | |
| - -c | |
| - | | |
| docker build -t XXXXXX-docker.pkg.dev/project/image-registry/image-name -f dockerfile.prod --platform=linux/amd64 --build-arg ORDERS_DATABASE_URL=$$DATABASE_URL . | |
| secretEnv: ['DATABASE_URL'] | |
| - name: 'gcr.io/cloud-builders/docker' |
This file contains hidden or 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
| steps: | |
| - name: "gcr.io/cloud-builders/docker" | |
| args: | |
| [ | |
| "build", | |
| "-t", | |
| "XXXXX-docker.pkg.dev/project-name/registry/image-name", | |
| "-f", | |
| "dockerfile.prod", | |
| "--platform=linux/amd64", |
This file contains hidden or 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
| /** | |
| * @description Constituye un catálogo de errores de una API. | |
| * Un catálogo es un mapa en donde se asocia un código de error | |
| * con un mensaje describiendo el problema que se ha originado. | |
| * Por ejemplo: | |
| * { | |
| * 24323: 'Ha ocurrido un error consumiendo el servicio externo ABC', | |
| * 13424: 'No se encontraron coincidencias para la búsqueda' | |
| * } | |
| */ |
This file contains hidden or 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
| <h2>Reactivos: Básicos</h2> | |
| <hr> | |
| <div class="row"> | |
| <div class="col"> | |
| <form autocomplete="off"> | |
| <!-- Campo de producto --> | |
| <div class="mb-3 row"> |
This file contains hidden or 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
| # Install dependencies only when needed | |
| FROM node:18-alpine3.15 AS deps | |
| # Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed. | |
| RUN apk add --no-cache libc6-compat | |
| WORKDIR /app | |
| COPY package.json yarn.lock ./ | |
| RUN yarn install --frozen-lockfile | |
NewerOlder
