Skip to content

Commit d395806

Browse files
committed
Move to using gradle
* get rid of all builder and maven code * migrate to fpm for linux installers * simplify pre/post install/uninstall scripts * no more backward compatibility with `cruise-{agent,server}` * migrate all installer code into builder (except solaris) * put in a simpler replacement for TLB * migrate rails tasks * asset precompile * running rspec * running jasmine specs * add verification tasks to assert jars packaged inside all distributables
1 parent 09e763e commit d395806

File tree

1,187 files changed

+4840
-155752
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,187 files changed

+4840
-155752
lines changed

.gitignore

Lines changed: 90 additions & 203 deletions
Original file line numberDiff line numberDiff line change
@@ -1,233 +1,120 @@
1-
#*************************GO-LICENSE-START********************************
2-
# Copyright 2014 ThoughtWorks, Inc.
1+
##########################################################################
2+
# Copyright 2016 ThoughtWorks, Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
88
# http://www.apache.org/licenses/LICENSE-2.0
99
#
10-
# Unless required by applicable law or a-qgreed to in writing, software
10+
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
1212
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
15-
#*************************GO-LICENSE-END**********************************
15+
##########################################################################
1616

17-
manual-testing/multiple/wd
18-
manual-testing/multiple/project1-wd
19-
.svn
20-
.DS_Store
17+
# intellij
18+
.idea/
19+
!.idea/copyright/
2120

22-
agent-bootstrapper/testdata/agent-launcher.jar
23-
agent-bootstrapper/testdata/test-agent.jar
24-
server/testdata/test-agent.jar
25-
server/go-plugins.zip
26-
server/agent-launcher.jar
27-
server/testdata/agent-launcher.jar
28-
agent-launcher/testdata/test-agent.jar
29-
agent/testdata/test-agent.jar
30-
agent-bootstrapper/.tmp.file.list
31-
agent-bootstrapper/agent-plugins.zip
32-
agent/agent-plugins.zip
33-
agent/agent.jar
34-
server/extracted-dependencies
35-
agent-bootstrapper/extracted-dependencies
21+
*.iml
3622

37-
.emacs_project
38-
cce_*.log
39-
cruise-server.log
40-
db/hsqldb.zip
41-
db/h2db.zip
42-
db/config.git
23+
# eclipse
24+
.project
25+
.classpath
26+
.settings/
4327

44-
server/db/migrate/generated
45-
server/db/hsqldb/cruise.*
46-
server/db/h2db
47-
server/db/deltas
48-
server/db/h2deltas
49-
server/db/postgresql
50-
server/db/pgsqldeltas
51-
server/db/config.git
52-
server/jsunit/logs
53-
server/*.log
54-
server/pipelines
28+
# vim swap files
29+
[._]*.s[a-w][a-z]
30+
[._]s[a-w][a-z]
5531

56-
localivy/cruisecontrol
57-
localivy/h2/*-sources.jar
58-
localivy/common
59-
localivy/util
60-
localivy/test-utils
61-
localivy/agent
62-
localivy/agent-bootstrapper
63-
localivy/upgrade
32+
# auto-generated tag files
33+
tags
6434

65-
common/logs
66-
server/tdb
67-
server/webapp/WEB-INF/rails/tdb
68-
cruise-*.properties
69-
testkeystore
70-
*.swp
35+
# temporary files from vim and emacs
7136
*~
72-
server/jsunit/tests/sample.json
73-
helper/build
74-
helper/resources/images/screenshots.graffle/QuickLook
75-
*.log
76-
*.pid
77-
manual-testing/ant_hg/dummy
78-
manual-testing/ant_hg/second
79-
manual-testing/multiple/repo
80-
manual-testing/multiple/project1
81-
manual-testing/bjcruise/h2db
82-
common/config/guid.txt
83-
common/pipelines/pipeline1/cruise-output/log.xml
84-
common/run-ant.ser
85-
test.sh
86-
Thumbs.db
87-
server/lucene.index
88-
*.pyc
89-
performance/profiler/out/*
90-
performance/ec2/cruise-perf/*.jar
91-
performance/ec2/tmp/*
92-
performance/config/cruise-config.xml
93-
._*
94-
.smell_cache.yaml
95-
TAGS
96-
spike/twist-detector/out
97-
cruise-twist-new/bin
98-
tools/jes-2.0-beta2/logs
99-
tools/jes-2.0-beta2/conf.run
100-
tools/jes-2.0-beta2/nohup.out
10137

102-
server/webapp/javascripts/shine.js
38+
# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)
39+
!gradle-wrapper.jar
10340

104-
**/.rakeTasks
105-
server/webapp/WEB-INF/rails/vendor/plugins/shine
106-
server/webapp/WEB-INF/rails/historical_jars
107-
server/webapp/WEB-INF/rails/db/config.git
41+
.gradle/
10842

109-
server/webapp/WEB-INF/rails.new/vendor/plugins/shine
110-
server/webapp/WEB-INF/rails.new/historical_jars
111-
server/webapp/WEB-INF/rails.new/db/config.git
112-
server/webapp/WEB-INF/rails.new/config/cipher
43+
# gradle cache of project
44+
.gradletasknamecache
11345

114-
server/config/agentkeystore
115-
server/config/keystore
116-
server/config/shine_store.jks
117-
server/config/truststore
118-
server/config/cruise-config.xml.*
119-
server/config/go.feature.toggles
120-
server/db/shine/cache
121-
rack_hack/projectFilesBackup/*
122-
agent/config/agent.jks
123-
agent/config/trust.jks
124-
agent/pipelines
125-
server/config/shine_truststore.jks
126-
**/config/gadget_truststore.jks
127-
server/db/shine/rdf-files
128-
server/logs/
129-
server/go-server.log*
130-
server/webapp/stylesheets/patterns/patterns.css
131-
server/webapp/stylesheets/plugins/plugins.css
132-
server/webapp/stylesheets/views/views.css
133-
server/webapp/stylesheets/vm/vm.css
134-
server/webapp/stylesheets/all.css
135-
performance/scripts/output*
136-
performance/output/
137-
performance/config/cruise-config.xml.template
138-
performance/metrics/output/
139-
performance/metrics/test_db/cruise.trace.db
140-
performance/metrics/target/
141-
performance/config/approved-agents.xml
142-
performance/process_status
143-
server/webapp/WEB-INF/rails/.er/ignores
144-
server/webapp/WEB-INF/rails/tmtags
145-
server/felix-cache
146-
server/config/go-luau-key-store.jks
147-
server/config/go-luau-trust-store.jks
148-
agent/go-agent*log*
149-
server/config/cruise-config.xml.invalid.*
150-
felix-cache
151-
job_version_file
152-
server/webapp/WEB-INF/rails/vendor/plugins/luau/target
153-
server/webapp/WEB-INF/rails/tmp
154-
server/db/command_repository
155-
nohup.out
156-
go-command-repo/
157-
server/webapp/stylesheets/css_sass/
158-
*.scssc
159-
agent/config
160-
reports/
161-
junitvmwatcher*.properties
162-
config/target/
163-
tw-go-plugins/dist/*
164-
server/plugins_bundles/*
165-
server/plugins-new/*
166-
server/plugins/*
167-
server/plugins_work/*
168-
config/cipher
169-
localivy/postgresql/postgresql-jdbc-9.2-1003.src/
170-
*.sassc
171-
config/config-server/config/
172-
server/descriptor-aware-test-plugin.jar/
173-
sample-plugins/built-plugins/*
174-
sample-plugins/go-plugin-api/*
175-
sample-plugins/sample_plugin.keystore
176-
server/webapp/test_out/*
177-
agent/plugins/*
178-
agent/plugins_work/*
179-
agent/log4j.properties
180-
plugin-infra/plugins/out
181-
plugin-infra/sample-plugins/built-plugins/
182-
plugin-infra/sample-plugins/go-plugin-api/
183-
plugin-infra/sample-plugins/sample_plugin.keystore
184-
plugin-infra/sample-plugins/out/
46+
# virtual machine crash logs
47+
hs_err_pid*
18548

186-
# target
187-
/target
18849
addon-api/database/target/
189-
addon-api/licensing/target/
190-
addon-api/target/*
50+
agent-bootstrapper/.agent-bootstrapper.running
51+
agent-bootstrapper/.tmp.file.list
52+
agent-bootstrapper/*.log
53+
agent-bootstrapper/*agent-launcher.jar
54+
agent-bootstrapper/agent-launcher.jar
55+
agent-bootstrapper/agent.jar
56+
agent-bootstrapper/exploded_agent_launcher_dependencies/
57+
agent-bootstrapper/target/
58+
agent-bootstrapper/testdata/agent-launcher.jar
59+
agent-bootstrapper/testdata/test-agent.jar
19160
agent-common/target/
192-
test-agent/target/
61+
agent-common/testdata/
62+
agent-launcher/target/
63+
agent-process-launcher/target/
64+
agent-process-launcher/testdata/agent-launcher.jar
65+
agent-process-launcher/testdata/test-agent.jar
66+
agent/*.log
67+
agent/config/
68+
agent/log4j.properties
69+
agent/pipelines/
70+
agent/plugins_work/
71+
agent/target/
72+
app-server/target/
73+
base/target/
74+
buildSrc/.gradle/
75+
buildSrc/build/
76+
common/*.log
77+
common/target/
19378
config/config-api/target/
19479
config/config-server/target/
19580
db/target/
81+
development-utility/development-agent/target/
82+
development-utility/development-server/target/
83+
installers/target/
84+
jetty9/target/
85+
plugin-infra/go-plugin-access/target/
86+
plugin-infra/go-plugin-activator/target/
87+
plugin-infra/go-plugin-api-internal/target/
88+
plugin-infra/go-plugin-api/target/
89+
plugin-infra/go-plugin-infra/target/
90+
rack_hack/target/
91+
release/target/
92+
server-launcher/target/
93+
server/*.log
94+
server/artifactsDir/
95+
server/config/agentkeystore
96+
server/config/gadget_truststore.jks
97+
server/config/keystore
98+
server/config/truststore
99+
server/data/
100+
server/db/config.git/
101+
server/db/h2db/
102+
server/db/h2deltas/
103+
server/db/shine/
104+
server/logs/
105+
server/pipelines/
106+
server/plugins_work/
107+
server/plugins/
108+
server/target/
109+
server/test-addons/
110+
server/testdata/test-agent.jar
111+
server/webapp/WEB-INF/rails.new/db/config.git/
112+
server/webapp/WEB-INF/rails.new/log/
113+
server/webapp/WEB-INF/rails.new/logs/
114+
server/webapp/WEB-INF/rails.new/public/assets/
115+
test-addon/target/
116+
test-agent/target/
196117
test-utils/target/
197-
util/target/
198118
tfs-impl/target/
199-
common/target/
200-
agent-bootstrapper/target
201-
agent-launcher/target/
202-
agent/target/
203-
server/target/
204-
base/target/
205-
server/webapp/WEB-INF/classes/
206-
server/addons/
207-
rack_hack/target
208-
development-utility/target/
209-
server-launcher/target/
210-
211-
# intellij
212-
.idea/
213-
intellij-out/
214-
*.ipr
215-
*.iml
216-
*.iws
217-
218-
# eclipse
219-
.settings/
220-
.classpath
221-
.project
222-
223-
server/webapp/WEB-INF/rails/spec/javascripts/test_out/*
224-
server/webapp/WEB-INF/rails/spec/javascripts/node_modules/*
225-
**/*/target/*
226-
server/webapp/WEB-INF/rails.new/public/assets/*
227-
server/webapp/WEB-INF/rails.new/config/cipher
228-
229-
app-server/target/*
230-
jetty6/target/*
231-
jetty9/target/*
232-
233-
.generators
119+
tw-go-plugins/dist/
120+
util/target/

.idea/copyright/Apache_2_0.xml

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/copyright/profiles_settings.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

addon-api/database/build.gradle

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/*
2+
* Copyright 2016 ThoughtWorks, Inc.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
description = 'GoCD Database Interface'

0 commit comments

Comments
 (0)