Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apollo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
apollo
Commits
78e058aa
Commit
78e058aa
authored
Oct 22, 2016
by
nobodyiam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapt for github deployment
parent
b1d719a1
Changes
8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
703 additions
and
4 deletions
+703
-4
apollo-adminservice/src/main/resources/application.yml
apollo-adminservice/src/main/resources/application.yml
+1
-1
apollo-assembly/src/main/resources/application.yml
apollo-assembly/src/main/resources/application.yml
+1
-1
apollo-configservice/src/main/resources/application.yml
apollo-configservice/src/main/resources/application.yml
+1
-1
apollo-core/pom.xml
apollo-core/pom.xml
+15
-0
apollo-portal/src/main/resources/application.yml
apollo-portal/src/main/resources/application.yml
+1
-1
scripts/build.sh
scripts/build.sh
+44
-0
scripts/sql/apolloconfigdb.sql
scripts/sql/apolloconfigdb.sql
+348
-0
scripts/sql/apolloportaldb.sql
scripts/sql/apolloportaldb.sql
+292
-0
No files found.
apollo-adminservice/src/main/resources/application.yml
View file @
78e058aa
...
...
@@ -2,7 +2,7 @@ spring:
application
:
name
:
apollo-adminservice
profiles
:
active
:
ctrip
active
:
${apollo_profile}
ctrip
:
appid
:
100003172
...
...
apollo-assembly/src/main/resources/application.yml
View file @
78e058aa
spring
:
profiles
:
active
:
ctrip
active
:
${apollo_profile}
logging
:
level
:
...
...
apollo-configservice/src/main/resources/application.yml
View file @
78e058aa
...
...
@@ -2,7 +2,7 @@ spring:
application
:
name
:
apollo-configservice
profiles
:
active
:
ctrip
active
:
${apollo_profile}
ctrip
:
appid
:
100003171
...
...
apollo-core/pom.xml
View file @
78e058aa
...
...
@@ -41,4 +41,19 @@
</dependency>
<!-- end of log -->
</dependencies>
<profiles>
<profile>
<id>
github
</id>
<properties>
<package.environment>
github
</package.environment>
</properties>
<dependencies>
<!-- disable cat for outside use -->
<dependency>
<groupId>
com.ctrip.framework.apollo
</groupId>
<artifactId>
apollo-buildtools
</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
</project>
apollo-portal/src/main/resources/application.yml
View file @
78e058aa
...
...
@@ -2,7 +2,7 @@ spring:
application
:
name
:
apollo-portal
profiles
:
active
:
ctrip
active
:
${apollo_profile}
ctrip
:
appid
:
100003173
...
...
scripts/build.sh
0 → 100755
View file @
78e058aa
#!/bin/sh
# apollo config db info
apollo_config_db_url
=
jdbc:mysql://localhost:3306/ApolloConfigDB?characterEncoding
=
utf8
apollo_config_db_username
=
root
apollo_config_db_password
=
# apollo portal db info
apollo_portal_db_url
=
jdbc:mysql://localhost:3306/ApolloPortalDB?characterEncoding
=
utf8
apollo_portal_db_username
=
root
apollo_portal_db_password
=
# meta server url
dev_meta
=
http://localhost:8080
fat_meta
=
http://localhost:8080
uat_meta
=
http://localhost:8080
pro_meta
=
http://localhost:8080
META_SERVERS_OPTS
=
"-Ddev_meta=
$dev_meta
-Dfat_meta=
$fat_meta
-Duat_meta=
$uat_meta
-Dpro_meta=
$pro_meta
"
# =============== Please do not modify the following content =============== #
cd
..
# package config-service and admin-service
echo
"==== starting to build config-service and admin-service ===="
mvn clean package
-DskipTests
-pl
apollo-configservice,apollo-adminservice
-am
-Pgithub
-Dapollo_profile
=
dev
-Dspring_datasource_url
=
$apollo_config_db_url
-Dspring_datasource_username
=
$apollo_config_db_username
-Dspring_datasource_password
=
$apollo_config_db_password
echo
"==== building config-service and admin-service finished ===="
echo
"==== starting to build portal ===="
mvn clean package
-DskipTests
-pl
apollo-portal
-am
-Pgithub
-Dapollo_profile
=
dev
-Dspring_datasource_url
=
$apollo_portal_db_url
-Dspring_datasource_username
=
$apollo_portal_db_username
-Dspring_datasource_password
=
$apollo_portal_db_password
$META_SERVERS_OPTS
echo
"==== building portal finished ===="
echo
"==== starting to build client ===="
mvn clean
install
-DskipTests
-pl
apollo-client
-am
-Pgithub
$META_SERVERS_OPTS
echo
"==== building portal finished ===="
scripts/sql/apolloconfigdb.sql
0 → 100644
View file @
78e058aa
This diff is collapsed.
Click to expand it.
scripts/sql/apolloportaldb.sql
0 → 100644
View file @
78e058aa
This diff is collapsed.
Click to expand it.
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