Skip to content

Refactor download (file) #12299

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from

Hack around local_release_dir for localhost

f82c321
Select commit
Loading
Failed to load commit list.
Draft

Refactor download (file) #12299

Hack around local_release_dir for localhost
f82c321
Select commit
Loading
Failed to load commit list.
Kubespray CI / Gitlab SYNC succeeded Jul 10, 2025 in 15s

Syncing CI pipeline to Gitlab

Push commits to Gitlab and trigger CI pipeline

Details

Sync

[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "POST /app/installations/482339/access_tokens HTTP/1.1" 201 374
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "POST /repos/kubernetes-sigs/kubespray/check-runs HTTP/1.1" 201 2624
[INFO] Cancelling previous checks...
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "GET /repos/kubernetes-sigs/kubespray/commits/f82c321011f738af96838347c178d25442f9014e/check-runs HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/45732323228 HTTP/1.1" 200 None
[INFO] Cloning repo /tmp/tmpy0ti1_re/repo
[DEBUG] Popen(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmpy0ti1_re/repo'], cwd=/app, stdin=None, shell=False, universal_newlines=True)
[DEBUG] Cmd(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmpy0ti1_re/repo'])'s unused stdout:
[DEBUG] Popen(['git', 'config', 'http.postBuffer', '1524288000'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.name', 'FailFast-ci Bot'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.email', '[email protected]'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'fetch', 'origin', 'pull/12299/head:pr-12299'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'checkout', 'pr-12299'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'rev-parse', 'HEAD'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] ...Cloned repo /tmp/tmpy0ti1_re/repo
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/45732323228 HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/kargo-ci%2Fkubernetes-sigs-kubespray HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/repository/branches/master HTTP/1.1" 200 None
[INFO] Initialized project: 9659330, kargo-ci/kubernetes-sigs-kubespray
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/45732323228 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'remote', 'add', 'target', 'https://:@gitlab.com/kargo-ci/kubernetes-sigs-kubespray.git'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/variables/GITHUB_INSTALLATION_ID HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/variables/GITHUB_REPO HTTP/1.1" 200 None
[INFO] Setting variables: {'PR_LABELS': 'kind/bug,cncf-cla: yes,size/XL,approved,release-note-action-required,kind/feature,do-not-merge/work-in-progress', 'EVENT': 'pull_request', 'PR_ID': '12299', 'SHA': 'f82c321011f738af96838347c178d25442f9014e', 'SHA8': 'f82c3210', 'FAILFASTCI_STATUS_API': 'https://ffci.kubespray.com/api/v1/github_status', 'SOURCE_REF': 'cleanup/sane_download', 'REF_NAME': 'cleanup/sane_download', 'CI_REF': 'pr-12299-cleanup/sane_download', 'GITHUB_REPO': 'kubernetes-sigs/kubespray', 'GITHUB_BASE_REF': 'master'}
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/45732323228 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'push', 'target', 'HEAD:pr-12299-cleanup/sane_download', '-f', '-o', 'ci.skip'], cwd=/tmp/tmpy0ti1_re/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] Pushed to gitlab: pr-12299-cleanup/sane_download
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/pipelines?ref=pr-12299-cleanup%2Fsane_download HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1919115514/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1919115304/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1914049516/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1914049319/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1914022284/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1914022113/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913855361/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913855274/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913810731/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913810619/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913422164/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1913422044/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1872808480/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1872808383/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1870691469/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1870691454/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1866905454/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1866905407/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1866893263/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipelines/1866893232/cancel HTTP/1.1" 200 None
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "POST /api/v4/projects/9659330/pipeline HTTP/1.1" 201 1214
[INFO] Pipeline triggered: 1919138536