Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
1229a73944
@ -132,6 +132,11 @@ docker-build-fe:
|
|||||||
script:
|
script:
|
||||||
- docker-compose build waecm_g4_fe
|
- docker-compose build waecm_g4_fe
|
||||||
- docker save -o waecm_g4_fe ${DOCKER_USER}/${ASSIGNMENT}-fe
|
- docker save -o waecm_g4_fe ${DOCKER_USER}/${ASSIGNMENT}-fe
|
||||||
|
cache:
|
||||||
|
key: $CI_COMMIT_REF_SLUG-$CI_PROJECT_DIR
|
||||||
|
paths:
|
||||||
|
- frontend/node_modules/
|
||||||
|
policy: pull
|
||||||
extends:
|
extends:
|
||||||
- .docker-build
|
- .docker-build
|
||||||
- .docker-setup
|
- .docker-setup
|
||||||
|
|||||||
@ -1,2 +1 @@
|
|||||||
dist
|
dist
|
||||||
node_modules
|
|
||||||
|
|||||||
@ -6,6 +6,6 @@ WORKDIR /app
|
|||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN npm install
|
RUN npm install && npm install chokidar --save
|
||||||
|
|
||||||
ENTRYPOINT npm run -- ng serve --host 0.0.0.0 --port 4200
|
ENTRYPOINT npm run -- ng serve --host 0.0.0.0 --port 4200
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
import {AbstractControl} from '@angular/forms';
|
import {AbstractControl} from '@angular/forms';
|
||||||
|
|
||||||
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
|
export function keywordsValidator(control: AbstractControl): { [key: string]: any } | null {
|
||||||
if (control.value === undefined) {
|
if (control.value === null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
let split: string[];
|
let split: string[];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user