Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Airflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Margrenzo Gunawan
Airflow
Commits
789dbd8a
Commit
789dbd8a
authored
Feb 28, 2024
by
Timothy Ardha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove duplicate dag
parent
a140f2b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
1_t24_interface_monthly.py
1_t24_interface_monthly.py
+0
-4
No files found.
1_t24_interface_monthly.py
View file @
789dbd8a
...
...
@@ -141,10 +141,6 @@ with DAG("APJ_1_t24_interface_monthly",
task_id
=
"sftp_de_i_history"
,
bash_command
=
f"""sshpass -p
{
Variable
.
get
(
"SFTP_T24_PASSWORD"
)
}
sftp -o StrictHostKeyChecking=no -r
{
Variable
.
get
(
"SFTP_T24_USER"
)
}
@
{
Variable
.
get
(
"SFTP_T24_HOST"
)
}
:/DFE/
{
yesterday_nodash
}
/*
{
yesterday_nodash
}
.ST.DE.I.HISTORY.csv
{
Variable
.
get
(
"LOCAL_PATH"
)
}
t24/
{
yesterday_nodash
}
/"""
,
)
sftp_de_i_history
=
BashOperator
(
task_id
=
"sftp_de_i_history"
,
bash_command
=
f"""sshpass -p
{
Variable
.
get
(
"SFTP_T24_PASSWORD"
)
}
sftp -o StrictHostKeyChecking=no -r
{
Variable
.
get
(
"SFTP_T24_USER"
)
}
@
{
Variable
.
get
(
"SFTP_T24_HOST"
)
}
:/DFE/
{
yesterday_nodash
}
/*
{
yesterday_nodash
}
.ST.DE.I.HISTORY.csv
{
Variable
.
get
(
"LOCAL_PATH"
)
}
t24/
{
yesterday_nodash
}
/"""
,
)
sftp_fincloud
=
BashOperator
(
task_id
=
"sftp_fincloud"
,
bash_command
=
f"""sshpass -p
{
Variable
.
get
(
"SFTP_FINCLOUD_PASSWORD"
)
}
sftp -o StrictHostKeyChecking=no -r
{
Variable
.
get
(
"SFTP_FINCLOUD_USER"
)
}
@
{
Variable
.
get
(
"SFTP_FINCLOUD_HOST"
)
}
:/home/fincloud.user/dwh/
{
yesterday_nodash
}
/Laporan_PPAP_Akhir_Bulan.csv
{
Variable
.
get
(
"LOCAL_PATH"
)
}
t24/
{
yesterday_nodash
}
/"""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment