Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
Xdmod Data Transfer
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
rc
Xdmod Data Transfer
Commits
b78cba35
Commit
b78cba35
authored
1 year ago
by
Eesaan Atluri
Browse files
Options
Downloads
Patches
Plain Diff
Change naming for dir where files done with processing are placed
parent
71b3193d
No related branches found
Branches containing commit
No related tags found
1 merge request
!1
Draft: xdmod data transfer and management
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
data-ingestion.cfg
+2
-2
2 additions, 2 deletions
data-ingestion.cfg
data-ingestion.sh
+1
-1
1 addition, 1 deletion
data-ingestion.sh
with
3 additions
and
3 deletions
data-ingestion.cfg
+
2
−
2
View file @
b78cba35
#!/bin/bash
input_dir="/home/centos/
consume
_queue"
confirmati
on_dir="/home/centos/
c
on
firm
_queue"
input_dir="/home/centos/
input
_queue"
d
on
e
_dir="/home/centos/
d
on
e
_queue"
This diff is collapsed.
Click to expand it.
data-ingestion.sh
+
1
−
1
View file @
b78cba35
...
...
@@ -12,7 +12,7 @@ for each_file in $input_dir/*; do
if
[
$?
-eq
0
]
;
then
# Move file on succesful ingestion
echo
"moving file
$each_file
to
$confirmation_dir
"
mv
$each_file
"
$
confirmati
on_dir
/
$each_file
.done"
mv
$each_file
"
$
d
on
e
_dir
/
$each_file
.done"
else
echo
"File ingestion failed:"
#some error handling here.
fi
...
...
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