Easton Man
ae3e5dbf2c
fix: fix DomainName not retreived properly
...
Co-Authored-By: idawnlight <idawn@live.com>
2 years ago
Easton Man
1f777a94a7
fix: change some debug comments
2 years ago
Easton Man
7560c64f46
fix: fix typo
2 years ago
Easton Man
bddde60522
fix: use update instead of remove then add
2 years ago
Easton Man
e9366f8c76
fix: fix huaweicloud existing record 400
2 years ago
Easton Man
4dba84d09e
fix: fix shfmt
2 years ago
Easton Man
0cce2d6098
fix: fix shellcheck
2 years ago
Easton Man
acbd8bce21
feat: add retry count for removing record set
...
This avoids infinite loop when something went wrong and throws a error
2 years ago
nil
a46e51e8db
Update format code.
2 years ago
nil
789ebb8990
Fix dns_huaweicloud provider
...
1. Fix huaweicloud api use iam account get token fail.
2. Default use ap-southeast-1 project name, don't need query project id.
2 years ago
Yuan Ming
9088c8741a
Fix dns_huaweicloud subshell return
...
Replace pipe read with line count loop, fix useless return in subshell.
3 years ago
Yuan Ming
9d2ee2127d
dns_huaweicloud debug info adjust
...
_secure_debug for sensitive token.
3 years ago
Yuan Ming
e49ece8793
dns_huaweicloud.sh minor bug fixes
...
1. Match zone name in response in case multiple items return.
2. Use string '"id"' (single quotation marks added) to check if zone/record exist in _get_zoneid() & _get_recordset_id(). Fix domain can't contain string "id".
(Sensitive _debug Access Token Commented out, For CICD Run)
3 years ago
Easton Man
86639dbc02
feat: add huaweicloud error handling
4 years ago
Easton Man
fd511966a7
fix: revert adding tr to replace sed
4 years ago
Easton Man
c4ddddd434
refactor: remove dirty debug code
...
- add tr to replace sed for robusty
- add comments
4 years ago
Easton Man
83a4db3b31
fix: remove sed before grep, but lead to less robusty
4 years ago
Easton Man
e35ef75949
fix: fix solaris sed and grep issue
4 years ago
Easton Man
5d0657c49a
fix: fix adding record before removing
4 years ago
Easton Man
f6f6550bfb
feat: add very tricky method to adapt to non-intuitive huaweicloud api
4 years ago
Easton Man
e01fb50359
feat: add env var check
4 years ago
Easton Man
28ce1c1249
fix: fix wrong debug output
4 years ago
Easton Man
7db592d27a
fix: fix failing ci test
4 years ago
Easton Man
b8e5c0d898
feat: Add huaweicloud intl dnsapi
4 years ago