CI: Simplify running playbooks as collection + various CI Fixes #12295
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 2608
[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/6f3d8fc96f0dccebae9737f8bdbf4cdb07685677/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/43979214315 HTTP/1.1" 200 None
[INFO] Cloning repo /tmp/tmphlt___7p/repo
[DEBUG] Popen(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmphlt___7p/repo'], cwd=/app, stdin=None, shell=False, universal_newlines=True)
[DEBUG] Cmd(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmphlt___7p/repo'])'s unused stdout:
[DEBUG] Popen(['git', 'config', 'http.postBuffer', '1524288000'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.name', 'FailFast-ci Bot'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.email', '[email protected]'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'fetch', 'origin', 'pull/12295/head:pr-12295'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'checkout', 'pr-12295'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'rev-parse', 'HEAD'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] ...Cloned repo /tmp/tmphlt___7p/repo
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/43979214315 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/43979214315 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'remote', 'add', 'target', 'https://:@gitlab.com/kargo-ci/kubernetes-sigs-kubespray.git'], cwd=/tmp/tmphlt___7p/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': 'cncf-cla: yes,size/XL,approved,kind/cleanup,release-note-none,tide/merge-method-merge', 'EVENT': 'pull_request', 'PR_ID': '12295', 'SHA': '6f3d8fc96f0dccebae9737f8bdbf4cdb07685677', 'SHA8': '6f3d8fc9', 'FAILFASTCI_STATUS_API': 'https://ffci.kubespray.com/api/v1/github_status', 'SOURCE_REF': 'ci/collection', 'REF_NAME': 'ci/collection', 'CI_REF': 'pr-12295-ci/collection', '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/43979214315 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'push', 'target', 'HEAD:pr-12295-ci/collection', '-f', '-o', 'ci.skip'], cwd=/tmp/tmphlt___7p/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] Pushed to gitlab: pr-12295-ci/collection
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/pipelines?ref=pr-12295-ci%2Fcollection 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/1866797334/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/1866797092/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/1866509440/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/1866509285/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/1866301255/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/1866301133/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/1866266814/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/1866266710/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/1866255364/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/1866255249/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/1866217026/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/1866216558/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/1866213669/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/1866213574/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/1866188878/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/1866188836/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/1866148775/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/1866148736/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/1866113591/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/1866113554/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 1206
[INFO] Pipeline triggered: 1866855813