refactor: unify inconsistent variables in apiserver endpoint #12897
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 2632
[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/ff949d36c15d8c992bc05ba6fea9280828556b6f/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/63789524188 HTTP/1.1" 200 None
[INFO] Cloning repo /tmp/tmp9sivhojm/repo
[DEBUG] Popen(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmp9sivhojm/repo'], cwd=/app, stdin=None, shell=False, universal_newlines=True)
[DEBUG] Cmd(['git', 'clone', '-v', '--', 'https://:@github.com/kubernetes-sigs/kubespray.git', '/tmp/tmp9sivhojm/repo'])'s unused stdout:
[DEBUG] Popen(['git', 'config', 'http.postBuffer', '1524288000'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.name', 'FailFast-ci Bot'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'config', '--local', 'user.email', 'failfastci-bot@failfast-ci.io'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'fetch', 'origin', 'pull/12897/head:pr-12897'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'checkout', 'pr-12897'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[DEBUG] Popen(['git', 'rev-parse', 'HEAD'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] ...Cloned repo /tmp/tmp9sivhojm/repo
[DEBUG] Starting new HTTPS connection (1): api.github.com:443
[DEBUG] https://api.github.com:443 "PATCH /repos/kubernetes-sigs/kubespray/check-runs/63789524188 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/63789524188 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'remote', 'add', 'target', 'https://:@gitlab.com/kargo-ci/kubernetes-sigs-kubespray.git'], cwd=/tmp/tmp9sivhojm/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/L,ok-to-test,kind/cleanup,release-note-none', 'EVENT': 'pull_request', 'PR_ID': '12897', 'SHA': 'ff949d36c15d8c992bc05ba6fea9280828556b6f', 'SHA8': 'ff949d36', 'FAILFASTCI_STATUS_API': 'https://ffci.kubespray.com/api/v1/github_status', 'SOURCE_REF': 'unify-apiserver-endpoints', 'REF_NAME': 'unify-apiserver-endpoints', 'CI_REF': 'pr-12897-unify-apiserver-endpoints', '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/63789524188 HTTP/1.1" 200 None
[DEBUG] Popen(['git', 'push', 'target', 'HEAD:pr-12897-unify-apiserver-endpoints', '-f', '-o', 'ci.skip'], cwd=/tmp/tmp9sivhojm/repo, stdin=None, shell=False, universal_newlines=False)
[INFO] Pushed to gitlab: pr-12897-unify-apiserver-endpoints
[DEBUG] Starting new HTTPS connection (1): gitlab.com:443
[DEBUG] https://gitlab.com:443 "GET /api/v4/projects/9659330/pipelines?ref=pr-12897-unify-apiserver-endpoints 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/2329782363/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/2329782272/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/2329658657/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/2329658522/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/2329579747/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/2329579541/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/2329451970/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/2329451446/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/2329295897/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/2329295732/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/2328836268/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/2328836081/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/2325184437/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/2325184426/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/2325138567/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/2325138408/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/2324539304/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/2324539086/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/2324531924/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/2324531854/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 1235
[INFO] Pipeline triggered: 2329801486