Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
tekton-postgresql
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
fa20c6e6
authored
2022-02-23 14:48:48 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Transformations do not have an explicit database to connect to.
1 parent
d89bc60b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
scripts/transformations.sh
scripts/transformations.sh
View file @
fa20c6e
...
...
@@ -16,12 +16,10 @@ for file in /workspace/transformations/*; do
[[
-e
$file
]]
||
continue
case
"
$file
"
in
(
*
.sql.gz
)
database
=
"
$(
basename
"
$file
"
.sql.gz
)
"
zcat
"
$file
"
| _import
"
$database
"
zcat
"
$file
"
| _import postgres
;;
(
*
.sql
)
database
=
"
$(
basename
"
$file
"
.sql
)
"
cat
"
$file
"
| _import
"
$database
"
cat
"
$file
"
| _import postgres
;;
(
*
.sh
)
"
$file
"
...
...
Please
register
or
sign in
to post a comment