Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
controller
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
TFS
controller
Commits
041f8604
Commit
041f8604
authored
1 year ago
by
Lluis Gifre Renom
Browse files
Options
Downloads
Patches
Plain Diff
Deploy scripts:
- Code cleanup
parent
d4cf64ed
No related branches found
No related tags found
2 merge requests
!235
Release TeraFlowSDN 3.0
,
!216
Resolve "Automate end-to-end tests and integrate them in CI/CD pipeline"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
deploy/crdb.sh
+0
-2
0 additions, 2 deletions
deploy/crdb.sh
deploy/qdb.sh
+0
-3
0 additions, 3 deletions
deploy/qdb.sh
with
0 additions
and
5 deletions
deploy/crdb.sh
+
0
−
2
View file @
041f8604
...
@@ -168,8 +168,6 @@ function crdb_drop_database_single() {
...
@@ -168,8 +168,6 @@ function crdb_drop_database_single() {
CRDB_PORT
=
${
CRDB_EXT_PORT_SQL
}
CRDB_PORT
=
${
CRDB_EXT_PORT_SQL
}
fi
fi
echo
"CRDB_HOST=
${
CRDB_HOST
}
"
echo
"CRDB_PORT=
${
CRDB_PORT
}
"
CRDB_CLIENT_URL
=
"postgresql://
${
CRDB_USERNAME
}
:
${
CRDB_PASSWORD
}
@
${
CRDB_HOST
}
:
${
CRDB_PORT
}
/defaultdb?sslmode=require"
CRDB_CLIENT_URL
=
"postgresql://
${
CRDB_USERNAME
}
:
${
CRDB_PASSWORD
}
@
${
CRDB_HOST
}
:
${
CRDB_PORT
}
/defaultdb?sslmode=require"
echo
"CRDB_CLIENT_URL=
${
CRDB_CLIENT_URL
}
"
echo
"CRDB_CLIENT_URL=
${
CRDB_CLIENT_URL
}
"
kubectl
exec
-it
--namespace
${
CRDB_NAMESPACE
}
cockroachdb-0
--
\
kubectl
exec
-it
--namespace
${
CRDB_NAMESPACE
}
cockroachdb-0
--
\
...
...
This diff is collapsed.
Click to expand it.
deploy/qdb.sh
+
0
−
3
View file @
041f8604
...
@@ -171,9 +171,6 @@ function qdb_drop_tables() {
...
@@ -171,9 +171,6 @@ function qdb_drop_tables() {
QDB_PORT
=
${
QDB_EXT_PORT_HTTP
}
QDB_PORT
=
${
QDB_EXT_PORT_HTTP
}
fi
fi
echo
"QDB_HOST=
${
QDB_HOST
}
"
echo
"QDB_PORT=
${
QDB_PORT
}
"
curl
"http://
${
QDB_HOST
}
:
${
QDB_PORT
}
/exec?fmt=json&query=DROP+TABLE+IF+EXISTS+
${
QDB_TABLE_MONITORING_KPIS
}
+;"
curl
"http://
${
QDB_HOST
}
:
${
QDB_PORT
}
/exec?fmt=json&query=DROP+TABLE+IF+EXISTS+
${
QDB_TABLE_MONITORING_KPIS
}
+;"
echo
echo
curl
"http://
${
QDB_HOST
}
:
${
QDB_PORT
}
/exec?fmt=json&query=DROP+TABLE+IF+EXISTS+
${
QDB_TABLE_SLICE_GROUPS
}
+;"
curl
"http://
${
QDB_HOST
}
:
${
QDB_PORT
}
/exec?fmt=json&query=DROP+TABLE+IF+EXISTS+
${
QDB_TABLE_SLICE_GROUPS
}
+;"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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