Skip to content
Snippets Groups Projects
Commit 935b3b1f authored by Michał Pogoda's avatar Michał Pogoda
Browse files

Use gitlab image repository with versioned image name

parent 0224e8d3
1 merge request!2Deployment
Pipeline #3409 passed with stage
in 34 seconds
......@@ -48,6 +48,7 @@ deploy:
only:
- master
script:
- envsubst < config.ini > temp.ini
- kubectl --kubeconfig=$KUBECONFIG --namespace=nlpworkers create configmap symspell-config-ini --from-file=config.ini=temp.ini --dry-run -o yaml | kubectl apply -f -
- kubectl --kubeconfig=$KUBECONFIG --namespace=nlpworkers apply -f deployment.yaml
- envsubst < config.ini > config.temp.ini
- envsubst < deployment.yaml > deployment.temp.yaml
- kubectl --kubeconfig=$KUBECONFIG --namespace=nlpworkers create configmap symspell-config-ini --from-file=config.ini=config.temp.ini --dry-run -o yaml | kubectl apply -f -
- kubectl --kubeconfig=$KUBECONFIG --namespace=nlpworkers apply -f deployment.temp.yaml
[service]
tool = symspell_test
tool = symspell
root = /samba/requests/
rabbit_host = $RABBIT_HOST
......
......@@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: symspell
image: clarinpl/symspell
image: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
volumeMounts:
- mountPath: /samba
name: samba
......
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