UNCLASSIFIED

Commit 9b3d6d02 authored by alexander.klepal's avatar alexander.klepal
Browse files

Merge branch 'minor-updates' into 'development'

minor updates to container

See merge request !10
parents 9de2c0b0 072ea8c1
Pipeline #361685 passed with stages
in 8 minutes and 3 seconds
...@@ -24,6 +24,7 @@ RUN tar xzf redis-cli.tar.gz \ ...@@ -24,6 +24,7 @@ RUN tar xzf redis-cli.tar.gz \
&& mv redis-cli /usr/local/bin/redis-cli \ && mv redis-cli /usr/local/bin/redis-cli \
&& tar xzf libs.tar.gz && rm libs.tar.gz \ && tar xzf libs.tar.gz && rm libs.tar.gz \
&& chown -R 1000 /app \ && chown -R 1000 /app \
&& chown -R 1000 /usr/src \
&& chmod 0555 /app/get-job.sh && chmod 0555 /app/get-job.sh
# Change to the gradle user. # Change to the gradle user.
......
...@@ -26,6 +26,7 @@ code snippets that were submitted from students through the LEARN application. ...@@ -26,6 +26,7 @@ code snippets that were submitted from students through the LEARN application.
### Required Environment Variables: ### Required Environment Variables:
- ```REDIS_HOST``` - The redis server host address. - ```REDIS_HOST``` - The redis server host address.
- ```REDIS_PORT``` - The redis port number.
## Local Development ## Local Development
......
...@@ -8,7 +8,7 @@ name: "galvanize/galvanize/java-code-evaluator" ...@@ -8,7 +8,7 @@ name: "galvanize/galvanize/java-code-evaluator"
# The most specific version should be the first tag and will be shown # The most specific version should be the first tag and will be shown
# on ironbank.dsop.io # on ironbank.dsop.io
tags: tags:
- "0.1.1" - "0.1.2"
- "latest" - "latest"
# Build args passed to Dockerfile ARGs # Build args passed to Dockerfile ARGs
...@@ -23,7 +23,7 @@ labels: ...@@ -23,7 +23,7 @@ labels:
org.opencontainers.image.licenses: "proprietary" org.opencontainers.image.licenses: "proprietary"
org.opencontainers.image.url: "https://www.galvanize.com" org.opencontainers.image.url: "https://www.galvanize.com"
org.opencontainers.image.vendor: "Galvanize" org.opencontainers.image.vendor: "Galvanize"
org.opencontainers.image.version: "0.1.1" org.opencontainers.image.version: "0.1.2"
mil.dso.ironbank.image.keywords: "lms,learn,galvanize,online,classes,remote,learning" mil.dso.ironbank.image.keywords: "lms,learn,galvanize,online,classes,remote,learning"
mil.dso.ironbank.image.type: "commercial" mil.dso.ironbank.image.type: "commercial"
mil.dso.ironbank.product.name: "Learn" mil.dso.ironbank.product.name: "Learn"
...@@ -34,20 +34,20 @@ resources: ...@@ -34,20 +34,20 @@ resources:
type: s3 type: s3
id: galvanize id: galvanize
region: us-gov-west-1 region: us-gov-west-1
url: s3://learn-dependencies/java-evaluator/redis-cli-0.1.1.tar.gz url: s3://learn-dependencies/java-evaluator/redis-cli-0.1.2.tar.gz
filename: redis-cli.tar.gz filename: redis-cli.tar.gz
validation: validation:
type: sha256 type: sha256
value: 83794cbb0627b49227529a3487cc89d663d6145487207be8afe703b243eb7a46 value: d1bbce51621f3f77065b9deed213f503fe887c722780ebcadd7d267ce2b5c948
- auth: - auth:
type: s3 type: s3
id: galvanize id: galvanize
region: us-gov-west-1 region: us-gov-west-1
url: s3://learn-dependencies/java-evaluator/libs-0.1.1.tar.gz url: s3://learn-dependencies/java-evaluator/libs-0.1.2.tar.gz
filename: libs.tar.gz filename: libs.tar.gz
validation: validation:
type: sha256 type: sha256
value: 8cda068a495ec2fba4b9f79af5f886db9da9b11d697f6e76eb615f54f829dac9 value: f07a36e8340771879de880752c736138ea64d3166cdb414ed5646473fd3ec1db
# List of project maintainers # List of project maintainers
maintainers: maintainers:
......
...@@ -17,7 +17,7 @@ while true ; do ...@@ -17,7 +17,7 @@ while true ; do
# apply the redis commands to block-pop # apply the redis commands to block-pop
# grep out the actual job payload, and # grep out the actual job payload, and
# write it to the json-object.json file # write it to the json-object.json file
redis-cli -h $REDIS_HOST < redis-cmds | \ redis-cli -h $REDIS_HOST -p $REDIS_PORT < redis-cmds | \
grep 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' > \ grep 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' > \
json-object.json json-object.json
......
...@@ -17,7 +17,7 @@ while true ; do ...@@ -17,7 +17,7 @@ while true ; do
# apply the redis commands to block-pop # apply the redis commands to block-pop
# grep out the actual job payload, and # grep out the actual job payload, and
# write it to the json-object.json file # write it to the json-object.json file
redis-cli -h localhost < redis-cmds | \ redis-cli -h localhost -p 6379 < redis-cmds | \
grep 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' > \ grep 'ActiveJob::QueueAdapters::SidekiqAdapter::JobWrapper' > \
json-object.json json-object.json
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment