Skip to content

Commit 803668c

Browse files
authored
Merge pull request #105 from OpenVoxProject/dep_updates
Update dependencies
2 parents 00e2055 + 78105ec commit 803668c

File tree

4 files changed

+18
-31
lines changed

4 files changed

+18
-31
lines changed

.github/workflows/pr-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: ./dev-setup
5050
- name: clojure tests
5151
run: lein -U ${{ matrix.javaargs }} test ${{ matrix.filter }}
52-
timeout-minutes: 30
52+
timeout-minutes: 120
5353

5454
rspec-tests:
5555
name: Rspec Tests - Java ${{ matrix.java }} Ruby ${{ matrix.ruby }}

.github/workflows/release.yaml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
---
2-
name: Release
2+
name: Release and publish package to clojars.org
3+
4+
permissions:
5+
contents: write
6+
packages: write
37

48
on:
5-
push:
6-
tags:
7-
- '*'
9+
workflow_dispatch:
810

911
jobs:
1012
release:
11-
name: Release
12-
runs-on: ubuntu-24.04
13-
# Optional but recommended to use a specific environment
14-
environment: release
15-
# Prevent releases from forked repositories
16-
if: github.repository_owner == 'OpenVoxProject' && !startsWith(github.ref_name, '99.')
17-
18-
permissions:
19-
contents: write
20-
21-
steps:
22-
- name: Create Release Page
23-
shell: bash
24-
env:
25-
GH_TOKEN: ${{ github.token }}
26-
run: gh release create --repo ${{ github.repository }} ${{ github.ref_name }} --generate-notes
13+
uses: 'openvoxproject/shared-actions/.github/workflows/clojure_release.yml@main'
14+
secrets:
15+
github_pat: ${{ secrets.OPENVOXBOT_COMMIT_AND_PRS }}
16+
ssh_private_key: ${{ secrets.OPENVOXBOT_SSH_PRIVATE_KEY }}
17+
clojars_username: ${{ secrets.CLOJARS_USERNAME }}
18+
clojars_password: ${{ secrets.CLOJARS_PASSWORD }}

project.clj

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
:min-lein-version "2.9.1"
2525

26-
:parent-project {:coords [org.openvoxproject/clj-parent "7.5.1"]
26+
:parent-project {:coords [org.openvoxproject/clj-parent "7.6.4"]
2727
:inherit [:managed-dependencies]}
2828

2929
:dependencies [[org.clojure/clojure]
@@ -83,8 +83,7 @@
8383
[jonase/eastwood "1.4.3" :exclusions [org.clojure/clojure]]
8484
;; We have to have this, and it needs to agree with clj-parent
8585
;; until/unless you can have managed plugin dependencies.
86-
[org.openvoxproject/i18n "0.9.4" :hooks false]]
87-
86+
[org.openvoxproject/i18n "1.0.2" :hooks false]]
8887
:uberjar-name "puppet-server-release.jar"
8988
:lein-ezbake {:vars {:user "puppet"
9089
:group "puppet"
@@ -133,10 +132,6 @@
133132
{:major major
134133
:minor minor})]
135134
(condp = (java.lang.Integer/parseInt major)
136-
1 (if (= 8 (java.lang.Integer/parseInt minor))
137-
["-Djava.security.properties==./dev-resources/java.security.jdk8-fips"]
138-
(throw unsupported-ex))
139-
11 ["-Djava.security.properties==./dev-resources/java.security.jdk11on-fips"]
140135
17 ["-Djava.security.properties==./dev-resources/java.security.jdk11on-fips"]
141136
21 ["-Djava.security.properties==./dev-resources/java.security.jdk11on-fips"]
142137
(do)))}
@@ -150,7 +145,7 @@
150145
;; use core.async and need more than eight threads to run
151146
;; properly; this setting overrides the default value. Without
152147
;; it the metrics tests will hang.
153-
:jvm-opts ["-Dclojure.core.async.pool-size=50"]
148+
:jvm-opts ["-Dclojure.core.async.pool-size=50", "-Xms4g", "-Xmx4g"]
154149
;; Use humane test output so you can actually see what the problem is
155150
;; when a test fails.
156151
:dependencies [[pjstadig/humane-test-output "0.11.0"]]

tasks/build.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ DEP_BUILD_ORDER = [
3131
'jruby-deps',
3232
'trapperkeeper',
3333
'trapperkeeper-filesystem-watcher',
34+
'clj-http-client',
3435
'trapperkeeper-webserver-jetty10',
3536
'ring-middleware',
3637
'jruby-utils',
3738
'clj-shell-utils',
38-
'clj-http-client',
3939
'dujour-version-check',
4040
'clj-rbac-client',
4141
'trapperkeeper-authorization',
@@ -140,7 +140,7 @@ namespace :vox do
140140
fips = !ENV['FIPS'].nil?
141141
puts "Building openvox-server"
142142
ezbake_version_var = ENV['EZBAKE_VERSION'] ? "EZBAKE_VERSION=#{ENV['EZBAKE_VERSION']}" : ''
143-
run("cd /code && rm -rf ruby && rm -rf output && bundle install --without test && lein install")
143+
run("cd /code && rm -rf output && bundle install --without test && lein install")
144144
run("cd /code && COW=\"#{@debs}\" MOCK=\"#{@rpms}\" GEM_SOURCE='https://rubygems.org' #{ezbake_version_var} EZBAKE_ALLOW_UNREPRODUCIBLE_BUILDS=true EZBAKE_NODEPLOY=true LEIN_PROFILES=ezbake lein with-profile #{fips ? 'fips,' : ''}user,ezbake,provided,internal ezbake local-build")
145145
run_command("sudo chown -R $USER output", print_command: true)
146146
Dir.glob('output/**/*i386*').each { |f| FileUtils.rm_rf(f) }

0 commit comments

Comments
 (0)