Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
김진영
airflow-test
Commits
52e1a075
Commit
52e1a075
authored
May 23, 2022
by
김진영
Browse files
Update bc-mart.py
parent
fcece5f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
bc-mart.py
View file @
52e1a075
...
@@ -28,7 +28,7 @@ with DAG(
...
@@ -28,7 +28,7 @@ with DAG(
# (Task1) 헬스체크
# (Task1) 헬스체크
health_check
=
BashOperator
(
health_check
=
BashOperator
(
task_id
=
'health_check'
,
task_id
=
'health_check'
,
bash_command
=
"curl -X GET -v {api_url}/api/v1/core/health
\'
-H accept: application/json
\'
"
.
format
(
bash_command
=
"
sleep 30;
curl -X GET -v {api_url}/api/v1/core/health
\'
-H accept: application/json
\'
"
.
format
(
api_url
=
Variable
.
get
(
"INF_API_URL"
)
api_url
=
Variable
.
get
(
"INF_API_URL"
)
),
),
)
)
...
...
Write
Preview
Supports
Markdown
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!
Cancel
Please
register
or
sign in
to comment