Skip to content
Snippets Groups Projects
Commit e5369e30 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

get mem

parent e38ae50d
No related branches found
No related tags found
2 merge requests!755Production Release | nshmp-haz,!754NSHM Unit tests
......@@ -208,7 +208,6 @@ Container Registry:
Build Project:
script:
- cat /proc/meminfo
- ./gradlew assemble
stage: build
......@@ -240,9 +239,7 @@ NSHM Tests:
- CMD: testConus2023
- CMD: testHawaii2021
script:
- yum install procps -y
- memory="$(free -g | awk '/^Mem:/{print $2}')";
- export CI_RUNNER_MEMORY="$(printf "%.f" "$(echo "${memory} * 0.90" | bc)")g";
- export CI_RUNNER_MEMORY="$(awk '/MemTotal/ {printf( "%d\n", $2 / 1024 / 1024 * .90 )}' /proc/meminfo)"
- echo "${CI_RUNNER_MEMORY}"
- ./gradlew ${CMD}
- cat ${JACOCO_HTML_DIR}/index.html
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment