Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pipeline-scripts
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
OCF
pipeline-scripts
Commits
8b31fa2d
Commit
8b31fa2d
authored
1 month ago
by
Andres Anaya Amariels
Browse files
Options
Downloads
Patches
Plain Diff
NAMESPACE_DEV_TO_STAGING
parent
bd8a4e18
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+4
-3
4 additions, 3 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
with
4 additions
and
3 deletions
capif/templates/cd-deploy-ocf.gitlab-ci.yml
+
4
−
3
View file @
8b31fa2d
...
...
@@ -109,11 +109,12 @@ deploy_ocf_staging:
done
export CI_ENV_ENDPOINT=$(cat cd_env_endpoint.txt)
export NAMESPACE_DEV_TO_STAGING=$(echo $CI_ENV_ENDPOINT)
echo "### download dependencies###"
helm dependency build helm/capif
echo "### updating capif###"
helm upgrade --install -n $NAMESPACE_DEV ocf-pre-staging helm/capif/ \
helm upgrade --install -n $NAMESPACE_DEV
_TO_STAGING
ocf-pre-staging helm/capif/ \
--set grafana.enabled=true \
--set grafana.ingress.enabled=true \
--set grafana.ingress.hosts[0].host=ocf-mon-$CI_ENV_ENDPOINT.$DOMAIN_DEV \
...
...
@@ -237,8 +238,8 @@ delete_ocf_staging:
<<
:
*staging_common
script
:
-
echo "### deleting environment $NAMESPACE_STAGING###"
-
helm uninstall -n $NAMESPACE_DEV ocf-pre-staging
-
kubectl delete ns $NAMESPACE_DEV --force
-
helm uninstall -n $NAMESPACE_DEV
_TO_STAGING
ocf-pre-staging
-
kubectl delete ns $NAMESPACE_DEV
_TO_STAGING
--force
when
:
manual
environment
:
name
:
review/dev_to_staging
...
...
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