sk_fems_ems commit

This commit is contained in:
unknown
2025-07-12 15:12:00 +09:00
commit e3691a84df
295 changed files with 54563 additions and 0 deletions

39
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,39 @@
services:
- docker:19.03.7-dind
stages:
- build_jar
- build_docker_image
build:
image: maven:3.6.3-jdk-11-slim
stage: build_jar
only:
- master
script:
# maven build
- echo "=====maven build start====="
- mvn clean install
- echo "=====maven build end====="
tags:
- test
docker-build:
variables:
# do not clone again
GIT_STRATEGY: none
stage: build_docker_image
only:
- master
script:
# make docker image and push to local docker
- echo "=====make docker image and push to local docker start====="
- sudo docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- sudo docker build -t $CI_REGISTRY/root/registry/skfems/ems .
- echo "=====make docker image and push to local docker end====="
# push local image to local registry
- echo "=====push local image to local registry start====="
- sudo docker push $CI_REGISTRY/root/registry/skfems/ems
- sudo docker rmi $CI_REGISTRY/root/registry/skfems/ems
- echo "=====push local image to local registry end====="
tags:
- test