This commit is contained in:
Anton Romanov 2018-05-04 17:54:46 +04:00
parent fa94b60cef
commit 0a2a8c503c
4 changed files with 36 additions and 14 deletions

View File

@ -1,11 +1,31 @@
pages: image: gradle:alpine
stage: deploy
script: cache:
- mkdir .public key: "$CI_PROJECT_ID"
- cp -r * .public paths:
- mv .public public - .gradle/
artifacts:
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false"
#before_script:
build:
stage: build
script: gradle --build-cache assemble
cache:
key: "$CI_PROJECT_ID"
policy: push
paths: paths:
- public - build
only: - .gradle
- master
#test:
# stage: test
# script: gradle check
# cache:
# key: "$CI_PROJECT_ID"
# policy: pull
# paths:
# - build
# - .gradle

View File

@ -1 +1,3 @@
landing landing
--ng-tracker.dev-mode=true

View File

@ -33,4 +33,5 @@ liquibase.enabled=true
liquibase.change-log=classpath:db/changelog-master.xml liquibase.change-log=classpath:db/changelog-master.xml
# Application Settings # Application Settings
ng-tracker.base-url=https://127.0.0.1:8443 ng-tracker.base-url=https://127.0.0.1:8443
ng-tracker.undead-user-login=admin ng-tracker.undead-user-login=admin
ng-tracker.dev-mode=true

View File

@ -1,8 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en" <html lang="en"
xmlns:th="http://www.thymeleaf.org" xmlns:th="http://www.thymeleaf.org"
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout">
layout:decorator="default">
<head> <head>
</head> </head>
<body> <body>