Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
symspell
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nlpworkers
symspell
Commits
935b3b1f
Commit
935b3b1f
authored
3 years ago
by
Michał Pogoda
Browse files
Options
Downloads
Patches
Plain Diff
Use gitlab image repository with versioned image name
parent
0224e8d3
1 merge request
!2
Deployment
Pipeline
#3409
passed with stage
Stage:
in 34 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
.gitlab-ci.yml
config.ini
+1
-1
1 addition, 1 deletion
config.ini
deployment.yaml
+1
-1
1 addition, 1 deletion
deployment.yaml
with
6 additions
and
5 deletions
.gitlab-ci.yml
+
4
−
3
View file @
935b3b1f
...
...
@@ -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
This diff is collapsed.
Click to expand it.
config.ini
+
1
−
1
View file @
935b3b1f
[service]
tool
=
symspell
_test
tool
=
symspell
root
=
/samba/requests/
rabbit_host
=
$RABBIT_HOST
...
...
This diff is collapsed.
Click to expand it.
deployment.yaml
+
1
−
1
View file @
935b3b1f
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment