UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
G
Galvanize
galvanize
java-code-evaluator
Commits
9b3d6d02
Commit
9b3d6d02
authored
May 21, 2021
by
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
Changes
5
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
8 deletions
+10
-8
Dockerfile
Dockerfile
+1
-0
README.md
README.md
+1
-0
hardening_manifest.yaml
hardening_manifest.yaml
+6
-6
scripts/get-job.sh
scripts/get-job.sh
+1
-1
scripts/run-local-loop.sh
scripts/run-local-loop.sh
+1
-1
No files found.
Dockerfile
View file @
9b3d6d02
...
@@ -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.
...
...
README.md
View file @
9b3d6d02
...
@@ -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
...
...
hardening_manifest.yaml
View file @
9b3d6d02
...
@@ -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
:
...
...
scripts/get-job.sh
View file @
9b3d6d02
...
@@ -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
...
...
scripts/run-local-loop.sh
View file @
9b3d6d02
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment