Skip to content

Yonple/git-push-retry-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Git Push Retry Action

Git ์ปค๋ฐ‹/ํ‘ธ์‹œ ์‹œ ์ถฉ๋Œ์ด ๋ฐœ์ƒํ•  ๊ฒฝ์šฐ, Exponential Backoff + Random Jitter ๋ฐฉ์‹์œผ๋กœ ์ตœ๋Œ€ N๋ฒˆ๊นŒ์ง€ ์žฌ์‹œ๋„ํ•˜๋Š” GitHub Action์ž…๋‹ˆ๋‹ค.
ํŠนํžˆ GitOps ์ €์žฅ์†Œ์— ์—ฌ๋Ÿฌ ์›Œํฌํ”Œ๋กœ์šฐ๊ฐ€ ๋™์‹œ์— ์ ‘๊ทผํ•  ๋•Œ ์œ ์šฉํ•ฉ๋‹ˆ๋‹ค.


โœจ ๊ธฐ๋Šฅ

  • git add, commit, push ์ž๋™ ์ฒ˜๋ฆฌ
  • push ์‹คํŒจ ์‹œ ์žฌ์‹œ๋„
  • ์ง€์ˆ˜ ์ฆ๊ฐ€(backoff) + ๋žœ๋ค ์ง€์—ฐ(jitter)๋กœ ์ถฉ๋Œ ํšŒํ”ผ
  • ๋ธŒ๋žœ์น˜, ์‹œ๋„ ํšŸ์ˆ˜, ๋”œ๋ ˆ์ด ์ž์œ  ์„ค์ •

๐Ÿ“ฆ ์‚ฌ์šฉ๋ฒ•

- uses: Yonple/git-push-retry-action@master
  with:
    file_path: "helm/values.yaml"
    commit_message: "๐Ÿ› ๏ธ deploy: update image"
    branch: "master" # (์„ ํƒ) ๊ธฐ๋ณธ: master
    retries: 2 # (์„ ํƒ) ๊ธฐ๋ณธ: 2
    base_delay: 2 # (์„ ํƒ) ๊ธฐ๋ณธ: 2์ดˆ

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages