Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
slm-bi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
林锐标
slm-bi
Commits
d5c4a4be
Commit
d5c4a4be
authored
May 18, 2021
by
钟宇基
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI
parent
c7bc0241
Pipeline
#9027
failed with stages
in 1 minute 41 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
151 additions
and
4 deletions
+151
-4
.gitlab-ci.yml
.gitlab-ci.yml
+5
-4
Project_Default.xml
.idea/inspectionProfiles/Project_Default.xml
+37
-0
misc.xml
.idea/misc.xml
+14
-0
vcs.xml
.idea/vcs.xml
+7
-0
workspace.xml
.idea/workspace.xml
+88
-0
No files found.
.gitlab-ci.yml
View file @
d5c4a4be
...
@@ -32,7 +32,7 @@ maven test:
...
@@ -32,7 +32,7 @@ maven test:
-
mvn $MAVEN_OPTS clean test
-
mvn $MAVEN_OPTS clean test
#标签指定runner
#标签指定runner
tags
:
tags
:
-
s
lm-bi
_java
-
s
mas
_java
#只允许哪些分支
#只允许哪些分支
only
:
only
:
# web说明:手动创建一个流水线任务,逻辑结合了上面的MANUAL_ENV变量
# web说明:手动创建一个流水线任务,逻辑结合了上面的MANUAL_ENV变量
...
@@ -56,7 +56,7 @@ docker build and push:
...
@@ -56,7 +56,7 @@ docker build and push:
#- mvn $MAVEN_OPTS clean install -Dmaven.test.skip=true -Dspring.profiles.active=$SPRING_ACTIVE_PROFILE
#- mvn $MAVEN_OPTS clean install -Dmaven.test.skip=true -Dspring.profiles.active=$SPRING_ACTIVE_PROFILE
-
mvn $MAVEN_OPTS clean package -U -P$SPRING_ACTIVE_PROFILE -Dmaven.test.skip=true
-
mvn $MAVEN_OPTS clean package -U -P$SPRING_ACTIVE_PROFILE -Dmaven.test.skip=true
#这个脚本的目的是清除上一个镜像
#这个脚本的目的是清除上一个镜像
-
sh ./ci_env/sh/build.sh $DOCKER_REPO$
{CI_COMMIT_REF_NAME}
-
sh ./ci_env/sh/build.sh $DOCKER_REPO$
SPRING_ACTIVE_PROFILE
#docker登录远程镜像仓库
#docker登录远程镜像仓库
-
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD swr.cn-south-1.myhuaweicloud.com
-
docker login -u $DOCKER_USER -p $DOCKER_PASSWORD swr.cn-south-1.myhuaweicloud.com
-
echo docker buildx build --build-arg APP_NAME="$APP_NAME" --build-arg JAVA_OPTS="$JAVA_OPTS$SPRING_ACTIVE_PROFILE" --platform $CI_BUILD_ARCHS -t $DOCKER_REPO$SPRING_ACTIVE_PROFILE .
-
echo docker buildx build --build-arg APP_NAME="$APP_NAME" --build-arg JAVA_OPTS="$JAVA_OPTS$SPRING_ACTIVE_PROFILE" --platform $CI_BUILD_ARCHS -t $DOCKER_REPO$SPRING_ACTIVE_PROFILE .
...
@@ -68,7 +68,7 @@ docker build and push:
...
@@ -68,7 +68,7 @@ docker build and push:
#push完之后继续清除
#push完之后继续清除
-
sh ./ci_env/sh/build.sh $DOCKER_REPO$SPRING_ACTIVE_PROFILE
-
sh ./ci_env/sh/build.sh $DOCKER_REPO$SPRING_ACTIVE_PROFILE
tags
:
tags
:
-
s
lm-bi
_java
-
s
mas
_java
only
:
only
:
-
web
-
web
allow_failure
:
false
allow_failure
:
false
...
@@ -95,7 +95,7 @@ deploy:
...
@@ -95,7 +95,7 @@ deploy:
-
echo 远程指令 root@$SERVER_IP "sh /opt/docker-command/rm-app.sh $APP_NAME $DOCKER_REPO$SPRING_ACTIVE_PROFILE >>/opt/docker-command/rm-app.log; $SSH_COMMAND $HOSTS $DOCKER_REPO$SPRING_ACTIVE_PROFILE;"
-
echo 远程指令 root@$SERVER_IP "sh /opt/docker-command/rm-app.sh $APP_NAME $DOCKER_REPO$SPRING_ACTIVE_PROFILE >>/opt/docker-command/rm-app.log; $SSH_COMMAND $HOSTS $DOCKER_REPO$SPRING_ACTIVE_PROFILE;"
-
ssh root@$SERVER_IP "sh /opt/docker-command/rm-app.sh $APP_NAME $DOCKER_REPO$SPRING_ACTIVE_PROFILE >>/opt/docker-command/rm-app.log; $SSH_COMMAND $HOSTS $DOCKER_REPO$SPRING_ACTIVE_PROFILE;"
-
ssh root@$SERVER_IP "sh /opt/docker-command/rm-app.sh $APP_NAME $DOCKER_REPO$SPRING_ACTIVE_PROFILE >>/opt/docker-command/rm-app.log; $SSH_COMMAND $HOSTS $DOCKER_REPO$SPRING_ACTIVE_PROFILE;"
tags
:
tags
:
-
s
lm-bi
_java
-
s
mas
_java
only
:
only
:
-
web
-
web
allow_failure
:
false
allow_failure
:
false
\ No newline at end of file
.idea/inspectionProfiles/Project_Default.xml
0 → 100644
View file @
d5c4a4be
<component
name=
"InspectionProjectProfileManager"
>
<profile
version=
"1.0"
>
<option
name=
"myName"
value=
"Project Default"
/>
<inspection_tool
class=
"JavaDoc"
enabled=
"true"
level=
"WARNING"
enabled_by_default=
"true"
>
<option
name=
"TOP_LEVEL_CLASS_OPTIONS"
>
<value>
<option
name=
"ACCESS_JAVADOC_REQUIRED_FOR"
value=
"none"
/>
<option
name=
"REQUIRED_TAGS"
value=
""
/>
</value>
</option>
<option
name=
"INNER_CLASS_OPTIONS"
>
<value>
<option
name=
"ACCESS_JAVADOC_REQUIRED_FOR"
value=
"none"
/>
<option
name=
"REQUIRED_TAGS"
value=
""
/>
</value>
</option>
<option
name=
"METHOD_OPTIONS"
>
<value>
<option
name=
"ACCESS_JAVADOC_REQUIRED_FOR"
value=
"none"
/>
<option
name=
"REQUIRED_TAGS"
value=
"@return@param@throws or @exception"
/>
</value>
</option>
<option
name=
"FIELD_OPTIONS"
>
<value>
<option
name=
"ACCESS_JAVADOC_REQUIRED_FOR"
value=
"none"
/>
<option
name=
"REQUIRED_TAGS"
value=
""
/>
</value>
</option>
<option
name=
"IGNORE_DEPRECATED"
value=
"false"
/>
<option
name=
"IGNORE_JAVADOC_PERIOD"
value=
"true"
/>
<option
name=
"IGNORE_DUPLICATED_THROWS"
value=
"false"
/>
<option
name=
"IGNORE_POINT_TO_ITSELF"
value=
"false"
/>
<option
name=
"myAdditionalJavadocTags"
value=
"date"
/>
</inspection_tool>
</profile>
</component>
\ No newline at end of file
.idea/misc.xml
0 → 100644
View file @
d5c4a4be
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"MavenProjectsManager"
>
<option
name=
"originalFiles"
>
<list>
<option
value=
"$PROJECT_DIR$/pom.xml"
/>
</list>
</option>
</component>
<component
name=
"ProjectRootManager"
version=
"2"
project-jdk-name=
"12"
project-jdk-type=
"JavaSDK"
>
<output
url=
"file://$PROJECT_DIR$/classes"
/>
</component>
</project>
\ No newline at end of file
.idea/vcs.xml
0 → 100644
View file @
d5c4a4be
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"VcsDirectoryMappings"
>
<mapping
directory=
"$PROJECT_DIR$"
vcs=
"Git"
/>
</component>
</project>
\ No newline at end of file
.idea/workspace.xml
0 → 100644
View file @
d5c4a4be
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"MavenImportPreferences"
>
<option
name=
"generalSettings"
>
<MavenGeneralSettings>
<option
name=
"mavenHome"
value=
"D:/maven3.6.1"
/>
<option
name=
"userSettingsFile"
value=
"D:\maven3.6.1\conf\settings.xml"
/>
</MavenGeneralSettings>
</option>
</component>
<component
name=
"NodePackageJsonFileManager"
>
<packageJsonPaths
/>
</component>
<component
name=
"ProjectFrameBounds"
extendedState=
"6"
>
<option
name=
"x"
value=
"-219"
/>
<option
name=
"y"
value=
"609"
/>
<option
name=
"width"
value=
"2184"
/>
<option
name=
"height"
value=
"1353"
/>
</component>
<component
name=
"PropertiesComponent"
>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/../slm-report"
/>
<property
name=
"nodejs_interpreter_path.stuck_in_default_project"
value=
"undefined stuck path"
/>
<property
name=
"nodejs_npm_path_reset_for_default_project"
value=
"true"
/>
<property
name=
"settings.editor.selected.configurable"
value=
"editor.preferences.gutterIcons"
/>
</component>
<component
name=
"RunManager"
>
<configuration
default=
"true"
type=
"Application"
factoryName=
"Application"
>
<option
name=
"WORKING_DIRECTORY"
value=
"$PROJECT_DIR$"
/>
</configuration>
<configuration
default=
"true"
type=
"JUnit"
factoryName=
"JUnit"
>
<option
name=
"ALTERNATIVE_JRE_PATH_ENABLED"
value=
"false"
/>
<option
name=
"ALTERNATIVE_JRE_PATH"
/>
<option
name=
"PACKAGE_NAME"
/>
<option
name=
"MAIN_CLASS_NAME"
/>
<option
name=
"METHOD_NAME"
/>
<option
name=
"TEST_OBJECT"
value=
"class"
/>
<option
name=
"VM_PARAMETERS"
value=
"-ea"
/>
<option
name=
"PARAMETERS"
/>
<option
name=
"WORKING_DIRECTORY"
value=
"%MODULE_WORKING_DIR%"
/>
<option
name=
"PASS_PARENT_ENVS"
value=
"true"
/>
<option
name=
"TEST_SEARCH_SCOPE"
>
<value
defaultName=
"singleModule"
/>
</option>
<patterns
/>
</configuration>
<configuration
default=
"true"
type=
"TestNG"
factoryName=
"TestNG"
>
<option
name=
"ALTERNATIVE_JRE_PATH_ENABLED"
value=
"false"
/>
<option
name=
"ALTERNATIVE_JRE_PATH"
/>
<option
name=
"SUITE_NAME"
/>
<option
name=
"PACKAGE_NAME"
/>
<option
name=
"MAIN_CLASS_NAME"
/>
<option
name=
"METHOD_NAME"
/>
<option
name=
"GROUP_NAME"
/>
<option
name=
"TEST_OBJECT"
value=
"CLASS"
/>
<option
name=
"VM_PARAMETERS"
value=
"-ea"
/>
<option
name=
"PARAMETERS"
/>
<option
name=
"WORKING_DIRECTORY"
value=
"%MODULE_WORKING_DIR%"
/>
<option
name=
"OUTPUT_DIRECTORY"
/>
<option
name=
"PASS_PARENT_ENVS"
value=
"true"
/>
<option
name=
"TEST_SEARCH_SCOPE"
>
<value
defaultName=
"singleModule"
/>
</option>
<option
name=
"USE_DEFAULT_REPORTERS"
value=
"false"
/>
<option
name=
"PROPERTIES_FILE"
/>
<properties
/>
<listeners
/>
</configuration>
</component>
<component
name=
"masterDetails"
>
<states>
<state
key=
"ProjectJDKs.UI"
>
<settings>
<last-edited>
1.8
</last-edited>
<splitter-proportions>
<option
name=
"proportions"
>
<list>
<option
value=
"0.2"
/>
</list>
</option>
</splitter-proportions>
</settings>
</state>
</states>
</component>
</project>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment