Skip to content

Commit 7ae4af6

Browse files
committed
Fix CI
1 parent 1201b06 commit 7ae4af6

File tree

4 files changed

+23
-200
lines changed

4 files changed

+23
-200
lines changed

test/spec/ci_spec.rb

Lines changed: 5 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -10,33 +10,6 @@
1010
expect(clean_output(test_run.output)).to eq(<<~OUTPUT)
1111
-----> Clojure (Leiningen 2) app detected
1212
-----> Installing Azul Zulu OpenJDK $VERSION
13-
-----> Installing rlwrap...
14-
Get:$NUM $PACKAGE [$SIZE]
15-
Get:$NUM $PACKAGE [$SIZE]
16-
Get:$NUM $PACKAGE [$SIZE]
17-
Get:$NUM $PACKAGE [$SIZE]
18-
Get:$NUM $PACKAGE [$SIZE]
19-
Get:$NUM $PACKAGE [$SIZE]
20-
Get:$NUM $PACKAGE [$SIZE]
21-
Get:$NUM $PACKAGE [$SIZE]
22-
Get:$NUM $PACKAGE [$SIZE]
23-
Get:$NUM $PACKAGE [$SIZE]
24-
Get:$NUM $PACKAGE [$SIZE]
25-
Get:$NUM $PACKAGE [$SIZE]
26-
Get:$NUM $PACKAGE [$SIZE]
27-
Get:$NUM $PACKAGE [$SIZE]
28-
Fetched $SIZE in $TIME ($SPEED)
29-
Reading package lists...
30-
Reading package lists...
31-
Building dependency tree...
32-
The following NEW packages will be installed:
33-
rlwrap
34-
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
35-
Need to get 107 kB of archives.
36-
After this operation, 328 kB of additional disk space will be used.
37-
Get:$NUM $PACKAGE [$SIZE]
38-
Fetched $SIZE in $TIME ($SPEED)
39-
Download complete and in download only mode
4013
-----> Installing Clojure 1.10.0.411 CLI tools
4114
Downloading and expanding tar
4215
Installing libs into /app/.heroku/clj/lib/clojure
@@ -47,12 +20,9 @@
4720
-----> Installing Leiningen
4821
Downloading: leiningen-2.9.1-standalone.jar
4922
Writing: lein script
50-
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
5123
-----> Building with Leiningen
5224
Running: lein deps
5325
Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
54-
$CURL_PROGRESS_OUTPUT
55-
5626
Retrieving $DEPENDENCY from $REPO
5727
Retrieving $DEPENDENCY from $REPO
5828
Retrieving $DEPENDENCY from $REPO
@@ -179,21 +149,6 @@
179149
expect(clean_output(test_run.output)).to eq(<<~OUTPUT)
180150
-----> Clojure (Leiningen 2) app detected
181151
-----> Installing Azul Zulu OpenJDK $VERSION
182-
-----> Installing rlwrap...
183-
Hit:$NUM $REPO InRelease
184-
Hit:$NUM $REPO InRelease
185-
Hit:$NUM $REPO InRelease
186-
Hit:$NUM $REPO InRelease
187-
Hit:$NUM $REPO InRelease
188-
Reading package lists...
189-
Reading package lists...
190-
Building dependency tree...
191-
The following NEW packages will be installed:
192-
rlwrap
193-
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
194-
Need to get 0 B/107 kB of archives.
195-
After this operation, 328 kB of additional disk space will be used.
196-
Download complete and in download only mode
197152
-----> Installing Clojure 1.10.0.411 CLI tools
198153
Downloading and expanding tar
199154
Installing libs into /app/.heroku/clj/lib/clojure
@@ -203,12 +158,14 @@
203158
Use clj -h for help.
204159
-----> Using cached Leiningen 2.9.1
205160
Writing: lein script
206-
cp: warning: behavior of -n is non-portable and may change in future; use --update=none instead
207161
-----> Building with Leiningen
208162
Running: lein deps
209163
Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
210-
$CURL_PROGRESS_OUTPUT
211-
164+
-----> No test-setup command provided. Skipping.
165+
-----> Running Clojure (Leiningen 2) buildpack tests...
166+
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -XX:MaxRAM=2684354560 -XX:MaxRAMPercentage=80.0
167+
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
168+
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -XX:MaxRAM=2684354560 -XX:MaxRAMPercentage=80.0
212169
Compiling com.heroku.ci.core
213170
$TIMESTAMP:INFO::main: Logging initialized @$TIMEms to org.eclipse.jetty.util.log.StdErrLog
214171
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 -XX:MaxRAM=2684354560 -XX:MaxRAMPercentage=80.0

test/spec/compile_spec.rb

Lines changed: 6 additions & 94 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,6 @@
99
expect(clean_output(app.output)).to eq(<<~OUTPUT)
1010
remote: -----> Clojure (Leiningen 2) app detected
1111
remote: -----> Installing Azul Zulu OpenJDK $VERSION
12-
remote: -----> Installing rlwrap...
13-
remote: Get:$NUM $PACKAGE [$SIZE]
14-
remote: Get:$NUM $PACKAGE [$SIZE]
15-
remote: Get:$NUM $PACKAGE [$SIZE]
16-
remote: Get:$NUM $PACKAGE [$SIZE]
17-
remote: Get:$NUM $PACKAGE [$SIZE]
18-
remote: Get:$NUM $PACKAGE [$SIZE]
19-
remote: Get:$NUM $PACKAGE [$SIZE]
20-
remote: Get:$NUM $PACKAGE [$SIZE]
21-
remote: Get:$NUM $PACKAGE [$SIZE]
22-
remote: Get:$NUM $PACKAGE [$SIZE]
23-
remote: Get:$NUM $PACKAGE [$SIZE]
24-
remote: rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
25-
remote: Fetched $SIZE in $TIME ($SPEED)
26-
remote: Reading package lists...
27-
remote: W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
28-
remote: Reading package lists...
29-
remote: Building dependency tree...
30-
remote: The following NEW packages will be installed:
31-
remote: rlwrap
32-
remote: $NUM upgraded, $NUM newly installed, $NUM to remove and $NUM not upgraded.
33-
remote: Need to get $SIZE of archives.
34-
remote: After this operation, $SIZE of additional disk space will be used.
35-
remote: Get:$NUM $PACKAGE [$SIZE]
36-
remote: Fetched $SIZE in $TIME ($SPEED)
37-
remote: Download complete and in download only mode
3812
remote: -----> Installing Clojure 1.10.0.411 CLI tools
3913
remote: Downloading and expanding tar
4014
remote: Installing libs into $BUILD_DIR/.heroku/clj/lib/clojure
@@ -48,7 +22,6 @@
4822
remote: -----> Building with Leiningen
4923
remote: Running: lein uberjar
5024
remote: Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
51-
remote: $CURL_PROGRESS_OUTPUT
5225
remote: Retrieving $DEPENDENCY from $REPO
5326
remote: Retrieving $DEPENDENCY from $REPO
5427
remote: Retrieving $DEPENDENCY from $REPO
@@ -156,9 +129,9 @@
156129
remote: -----> Discovering process types
157130
remote: Procfile declares types -> (none)
158131
remote: Default types for buildpack -> web
159-
132+
160133
remote: -----> Compressing...
161-
remote: Done: 115.5M
134+
remote: Done: 115.4M
162135
OUTPUT
163136

164137
app.commit!
@@ -168,22 +141,6 @@
168141
expect(clean_output(app.output)).to eq(<<~OUTPUT)
169142
remote: -----> Clojure (Leiningen 2) app detected
170143
remote: -----> Installing Azul Zulu OpenJDK $VERSION
171-
remote: -----> Installing rlwrap...
172-
remote: Hit:$NUM $REPO InRelease
173-
remote: Hit:$NUM $REPO InRelease
174-
remote: Hit:$NUM $REPO InRelease
175-
remote: Hit:$NUM $REPO InRelease
176-
remote: Hit:$NUM $REPO InRelease
177-
remote: rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
178-
remote: Reading package lists...
179-
remote: Reading package lists...
180-
remote: Building dependency tree...
181-
remote: The following NEW packages will be installed:
182-
remote: rlwrap
183-
remote: 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
184-
remote: Need to get 0 B/107 kB of archives.
185-
remote: After this operation, 328 kB of additional disk space will be used.
186-
remote: Download complete and in download only mode
187144
remote: -----> Installing Clojure 1.10.0.411 CLI tools
188145
remote: Downloading and expanding tar
189146
remote: Installing libs into $BUILD_DIR/.heroku/clj/lib/clojure
@@ -196,7 +153,6 @@
196153
remote: -----> Building with Leiningen
197154
remote: Running: lein uberjar
198155
remote: Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
199-
remote: $CURL_PROGRESS_OUTPUT
200156
remote: Compiling com.heroku.ci.core
201157
remote: $TIMESTAMP:INFO::main: Logging initialized @$TIMEms to org.eclipse.jetty.util.log.StdErrLog
202158
remote: Compiling com.heroku.ci.core
@@ -205,9 +161,9 @@
205161
remote: -----> Discovering process types
206162
remote: Procfile declares types -> (none)
207163
remote: Default types for buildpack -> web
208-
164+
209165
remote: -----> Compressing...
210-
remote: Done: 115.5M
166+
remote: Done: 115.4M
211167
OUTPUT
212168
end
213169
end
@@ -219,32 +175,6 @@
219175
expect(clean_output(app.output)).to eq(<<~OUTPUT)
220176
remote: -----> Clojure (Leiningen 2) app detected
221177
remote: -----> Installing Azul Zulu OpenJDK $VERSION
222-
remote: -----> Installing rlwrap...
223-
remote: Get:$NUM $PACKAGE [$SIZE]
224-
remote: Get:$NUM $PACKAGE [$SIZE]
225-
remote: Get:$NUM $PACKAGE [$SIZE]
226-
remote: Get:$NUM $PACKAGE [$SIZE]
227-
remote: Get:$NUM $PACKAGE [$SIZE]
228-
remote: Get:$NUM $PACKAGE [$SIZE]
229-
remote: Get:$NUM $PACKAGE [$SIZE]
230-
remote: Get:$NUM $PACKAGE [$SIZE]
231-
remote: Get:$NUM $PACKAGE [$SIZE]
232-
remote: Get:$NUM $PACKAGE [$SIZE]
233-
remote: Get:$NUM $PACKAGE [$SIZE]
234-
remote: rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
235-
remote: Fetched $SIZE in $TIME ($SPEED)
236-
remote: Reading package lists...
237-
remote: W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
238-
remote: Reading package lists...
239-
remote: Building dependency tree...
240-
remote: The following NEW packages will be installed:
241-
remote: rlwrap
242-
remote: $NUM upgraded, $NUM newly installed, $NUM to remove and $NUM not upgraded.
243-
remote: Need to get $SIZE of archives.
244-
remote: After this operation, $SIZE of additional disk space will be used.
245-
remote: Get:$NUM $PACKAGE [$SIZE]
246-
remote: Fetched $SIZE in $TIME ($SPEED)
247-
remote: Download complete and in download only mode
248178
remote: -----> Installing Clojure 1.10.0.411 CLI tools
249179
remote: Downloading and expanding tar
250180
remote: Installing libs into $BUILD_DIR/.heroku/clj/lib/clojure
@@ -258,7 +188,6 @@
258188
remote: -----> Building with Leiningen
259189
remote: Running: lein with-profile production compile :all
260190
remote: Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
261-
remote: $CURL_PROGRESS_OUTPUT
262191
remote: Retrieving $DEPENDENCY from $REPO
263192
remote: Retrieving $DEPENDENCY from $REPO
264193
remote: Retrieving $DEPENDENCY from $REPO
@@ -365,7 +294,7 @@
365294
remote: Default types for buildpack -> web
366295
367296
remote: -----> Compressing...
368-
remote: Done: 125.6M
297+
remote: Done: 125.5M
369298
OUTPUT
370299

371300
app.commit!
@@ -375,22 +304,6 @@
375304
expect(clean_output(app.output)).to eq(<<~OUTPUT)
376305
remote: -----> Clojure (Leiningen 2) app detected
377306
remote: -----> Installing Azul Zulu OpenJDK $VERSION
378-
remote: -----> Installing rlwrap...
379-
remote: Hit:$NUM $REPO InRelease
380-
remote: Hit:$NUM $REPO InRelease
381-
remote: Hit:$NUM $REPO InRelease
382-
remote: Hit:$NUM $REPO InRelease
383-
remote: Hit:$NUM $REPO InRelease
384-
remote: rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
385-
remote: Reading package lists...
386-
remote: Reading package lists...
387-
remote: Building dependency tree...
388-
remote: The following NEW packages will be installed:
389-
remote: rlwrap
390-
remote: 0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
391-
remote: Need to get 0 B/107 kB of archives.
392-
remote: After this operation, 328 kB of additional disk space will be used.
393-
remote: Download complete and in download only mode
394307
remote: -----> Installing Clojure 1.10.0.411 CLI tools
395308
remote: Downloading and expanding tar
396309
remote: Installing libs into $BUILD_DIR/.heroku/clj/lib/clojure
@@ -403,15 +316,14 @@
403316
remote: -----> Building with Leiningen
404317
remote: Running: lein with-profile production compile :all
405318
remote: Downloading Leiningen to /app/.lein/self-installs/leiningen-2.9.1-standalone.jar now...
406-
remote: $CURL_PROGRESS_OUTPUT
407319
remote: Compiling com.heroku.ci.core
408320
remote: $TIMESTAMP:INFO::main: Logging initialized @$TIMEms to org.eclipse.jetty.util.log.StdErrLog
409321
remote: -----> Discovering process types
410322
remote: Procfile declares types -> (none)
411323
remote: Default types for buildpack -> web
412324
413325
remote: -----> Compressing...
414-
remote: Done: 125.6M
326+
remote: Done: 125.5M
415327
OUTPUT
416328
end
417329
end

test/spec/lein_1_spec.rb

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -9,43 +9,17 @@
99
expect(clean_output(app.output)).to eq(<<~OUTPUT)
1010
remote: -----> Clojure app detected
1111
remote: -----> Installing Azul Zulu OpenJDK $VERSION
12-
remote: -----> Installing rlwrap...
13-
remote: Get:$NUM $PACKAGE [$SIZE]
14-
remote: Get:$NUM $PACKAGE [$SIZE]
15-
remote: Get:$NUM $PACKAGE [$SIZE]
16-
remote: Get:$NUM $PACKAGE [$SIZE]
17-
remote: Get:$NUM $PACKAGE [$SIZE]
18-
remote: Get:$NUM $PACKAGE [$SIZE]
19-
remote: Get:$NUM $PACKAGE [$SIZE]
20-
remote: Get:$NUM $PACKAGE [$SIZE]
21-
remote: Get:$NUM $PACKAGE [$SIZE]
22-
remote: Get:$NUM $PACKAGE [$SIZE]
23-
remote: Get:$NUM $PACKAGE [$SIZE]
24-
remote: rm: cannot remove '/var/cache/apt/archives/partial/*.deb': Permission denied
25-
remote: Fetched $SIZE in $TIME ($SPEED)
26-
remote: Reading package lists...
27-
remote: W: http://apt.postgresql.org/pub/repos/apt/dists/jammy-pgdg/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
28-
remote: Reading package lists...
29-
remote: Building dependency tree...
30-
remote: The following NEW packages will be installed:
31-
remote: rlwrap
32-
remote: $NUM upgraded, $NUM newly installed, $NUM to remove and $NUM not upgraded.
33-
remote: Need to get $SIZE of archives.
34-
remote: After this operation, $SIZE of additional disk space will be used.
35-
remote: Get:$NUM $PACKAGE [$SIZE]
36-
remote: Fetched $SIZE in $TIME ($SPEED)
37-
remote: Download complete and in download only mode
3812
remote: -----> Installing Clojure 1.10.0.411 CLI tools
3913
remote: Downloading and expanding tar
4014
remote: Installing libs into $BUILD_DIR/.heroku/clj/lib/clojure
4115
remote: Installing clojure and clj into $BUILD_DIR/.heroku/clj/bin
4216
remote: Installing man pages into $BUILD_DIR/.heroku/clj/share/man/man1
4317
remote: Removing download
4418
remote: Use clj -h for help.
45-
19+
4620
remote: ! WARNING: No :min-lein-version found in project.clj; using 1.7.1.
4721
remote: You probably don't want this!
48-
22+
4923
remote: -----> Installing Leiningen
5024
remote: Downloading: leiningen-1.7.1-standalone.jar
5125
remote: To use Leiningen 2.x, add this to project.clj: :min-lein-version "2.0.0"
@@ -60,9 +34,9 @@
6034
remote: -----> Discovering process types
6135
remote: Procfile declares types -> (none)
6236
remote: Default types for buildpack -> web
63-
37+
6438
remote: -----> Compressing...
65-
remote: Done: 82.2M
39+
remote: Done: 82.1M
6640
OUTPUT
6741
end
6842
end

0 commit comments

Comments
 (0)