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

Update create_job.sh

parent 845c2e83
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
BUILD_ENV=$1 BUILD_ENV=$1
OP=$2 OP=$2
SWIFT_FILE=$3
cat <<EOT >> simplejob.yml cat <<EOT >> simplejob.yml
apiVersion: batch/v1 apiVersion: batch/v1
...@@ -27,7 +28,7 @@ spec: ...@@ -27,7 +28,7 @@ spec:
volumeMounts: volumeMounts:
- name: sharedbin - name: sharedbin
mountPath: /srv mountPath: /srv
command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV", "$OP"] command: ["/usr/local/bin/deploy-build-env.sh", "$BUILD_ENV", "$OP", "$SWIFT_FILE"]
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