Browse Source

Añado registry local al Makefile. Pongo que se ignoren ciertos errores el flake8

politica
Celestino Rey 1 year ago
parent
commit
fb4214658b
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      JugarAlPadel/Dockerfile
  2. +3
    -3
      JugarAlPadel/K8S/Makefile

+ 1
- 1
JugarAlPadel/Dockerfile View File

@ -20,7 +20,7 @@ RUN apt-get update && \
RUN pip install --upgrade pip
RUN pip install flake8==6.0.0
COPY . /app/
RUN flake8 --ignore=E501,F401,E126 .
RUN flake8 --ignore=E501,F401,E126,W391 .
COPY ./requirements.txt .


+ 3
- 3
JugarAlPadel/K8S/Makefile View File

@ -1,8 +1,8 @@
export ARQUITECTURA := $(shell lscpu |grep itectur | tr -d ' '| cut -f2 -d':')
#export REGISTRY=registry.cube.local
export REGISTRY=registry.reymota.es
export REGISTRY=localhost:5000
#export REGISTRY=registry.reymota.es
export IMG_VERSION = 0.04
export IMG_NGINX_VERSION = 2.1
export IMG_NGINX_VERSION = 2.3
# limpia todo
all: imagen clean install


Loading…
Cancel
Save