Skip to content

Commit

Permalink
Merge pull request #15 from slr71/main
Browse files Browse the repository at this point in the history
DD-17: added `ephemeral-storage` requests and limits.
  • Loading branch information
slr71 authored Mar 11, 2024
2 parents 163f9c3 + 7d97c89 commit 9b7390e
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 85 deletions.
35 changes: 0 additions & 35 deletions .github/workflows/build-prerelease.yml

This file was deleted.

34 changes: 0 additions & 34 deletions .github/workflows/build-release.yml

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/skaffold-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: skaffold-build

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+-rc[0-9]+"

jobs:
call-workflow-passing-data:
uses: cyverse-de/github-workflows/.github/workflows/[email protected]
with:
build-prerelease: ${{ contains(github.ref_name, '-rc') }}
secrets:
harbor-username: ${{ secrets.HARBOR_USERNAME }}
harbor-password: ${{ secrets.HARBOR_PASSWORD }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.eastwood
.idea
.lein*
dewey.iml
Expand Down
2 changes: 2 additions & 0 deletions k8s/dewey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ spec:
requests:
cpu: "480m"
memory: "512Mi"
ephemeral-storage: "1Gi"
limits:
cpu: "1600m"
memory: "2Gi"
ephemeral-storage: "1Gi"
args:
- --config
- /etc/iplant/de/dewey.properties
Expand Down
34 changes: 18 additions & 16 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,37 +16,39 @@
:manifest {"Git-Ref" ~(git-ref)}
:uberjar-name "dewey-standalone.jar"
:main ^:skip-aot dewey.core
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/tools.cli "0.3.1"]
[org.clojure/test.check "0.9.0"]
[cheshire "5.5.0"
:dependencies [[org.clojure/clojure "1.11.2"]
[org.clojure/tools.cli "1.1.230"]
[org.clojure/test.check "1.1.1"]
[cheshire "5.12.0"
:exclusions [[com.fasterxml.jackson.dataformat/jackson-dataformat-cbor]
[com.fasterxml.jackson.dataformat/jackson-dataformat-smile]
[com.fasterxml.jackson.core/jackson-annotations]
[com.fasterxml.jackson.core/jackson-databind]
[com.fasterxml.jackson.core/jackson-core]]]
[com.novemberain/langohr "3.5.1"]
[liberator "0.15.3"]
[compojure "1.1.8"]
[ring "1.4.0"]
[slingshot "0.10.3"]
[org.cyverse/clj-jargon "3.0.3"
[compojure "1.7.1"]
[ring "1.12.0"]
[slingshot "0.12.2"]
[org.cyverse/clj-jargon "3.1.0"
:exclusions [[org.slf4j/slf4j-log4j12]
[log4j]]]
[org.cyverse/clojure-commons "2.8.0"]
[org.cyverse/clojure-commons "3.0.7"]
[org.cyverse/common-cli "2.8.1"]
[org.cyverse/service-logging "2.8.2"]
[net.logstash.logback/logstash-logback-encoder "4.11"]
[org.cyverse/service-logging "2.8.3"]
[net.logstash.logback/logstash-logback-encoder "7.4"]
[org.cyverse/event-messages "0.0.1"]
[me.raynes/fs "1.4.6"]
[cc.qbits/spandex "0.7.11"]
[org.apache.httpcomponents/httpcore "4.4.11"] ]
[cc.qbits/spandex "0.8.2"]
[org.apache.httpcomponents/httpcore "4.4.16"]]
:eastwood {:exclude-namespaces [:test-paths]
:linters [:wrong-arity :wrong-ns-form :wrong-pre-post :wrong-tag :misplaced-docstrings]}
:plugins [[test2junit "1.1.3"]
[jonase/eastwood "0.2.3"]]
:plugins [[jonase/eastwood "1.4.2"]
[lein-ancient "0.7.0"]
[test2junit "1.1.3"]]
:resource-paths []
:profiles {:dev {:dependencies [[midje "1.6.3"]]
:profiles {:dev {:dependencies [[midje "1.10.10"]]
:jvm-opts ["-Dotel.javaagent.enabled=false"]
:resource-paths ["dev-resources"]}
:uberjar {:aot :all}}
:jvm-opts ["-Dlogback.configurationFile=/etc/iplant/de/logging/dewey-logging.xml" "-javaagent:./opentelemetry-javaagent.jar" "-Dotel.resource.attributes=service.name=dewey"])

0 comments on commit 9b7390e

Please sign in to comment.