Skip to content
Snippets Groups Projects
Commit 498bde02 authored by Athanasios Karmas's avatar Athanasios Karmas
Browse files

Update create_job.sh

parent dd6f0e23
No related branches found
No related tags found
No related merge requests found
Pipeline #3137 canceled with stage
in 2 seconds
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
# #
BUILD_ENV=$1 BUILD_ENV=$1
OP=$2
cat <<EOT >> simplejob.yml cat <<EOT >> simplejob.yml
apiVersion: batch/v1 apiVersion: batch/v1
...@@ -26,7 +27,7 @@ spec: ...@@ -26,7 +27,7 @@ spec:
volumeMounts: volumeMounts:
- name: sharedbin - name: sharedbin
mountPath: /srv mountPath: /srv
command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV"] command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV", "$OP"]
volumes: volumes:
- name: sharedbin - name: sharedbin
persistentVolumeClaim: persistentVolumeClaim:
......
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