[enhancement] glrunner: send the runner setup and Podman pulls through the proxy
メンテナーはふだん 3 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, linux, macos
- 領域
- backend, devops, infrastructure
調査の方向性
Start by tracing how --glrunner-http-proxy, --glrunner-no-proxy, and the Env field from #966 reach runner setup, then inspect the runner installation snippets and service configuration for Linux, macOS, and Windows. Check the related proposals in #953 and #966; define completion by verifying the stated acceptance case: the runner registers, comes online, and successfully pulls an image through the proxy.
索引モデルが issue の本文から書いたものです。
説明
Problem
#966 (for #953) passes --glrunner-http-proxy and --glrunner-no-proxy to the runner's job environment only. On a host that can only reach the internet through that proxy, setup fails before any job runs:
- The runner binary download (
curlinsnippet-linux.shandsnippet-darwin.sh,Invoke-WebRequestinsnippet-windows.ps1). gitlab-runner register, which calls the GitLab API.- The
gitlab-runnerservice, which polls GitLab for jobs. - Image pulls by Podman through
podman.sock, for examplefedora:latest. Podman runs as its own service and does not see the[[runners]]environment.
Proposal
- Export the proxy variables before the download and
registersteps, or passcurl --proxy/Invoke-WebRequest -Proxy. - On Linux, add a systemd drop-in with
Environment=forgitlab-runner.serviceandpodman.service, or set[engine] envincontainers.conf. - Work out the equivalents for the macOS LaunchDaemon and the Windows service.
- Add a repeatable
--glrunner-env KEY=VALUEflag, item 1 of the proposal in #953. TheEnvfield from #966 already carries the values, and it covers CA bundles such asSSL_CERT_FILEandREQUESTS_CA_BUNDLE.
Acceptance
- On a host whose only egress is the proxy,
mapt aws fedora createwith--glrunner-http-proxyproduces a registered, online runner, and a job that pulls an image succeeds.
- 主要言語
- Go
- スター
- 26
- フォーク
- 41
- 平均マージ
- 3日 14時間
- マージ済み PR(30日)
- 27
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
redhat-developer/mapt のほかの issue
-
kind: v0.14.7 control-plane readiness block reads the wrong kubeconfig path (provision always fails)オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
redhat-developer/mapt#997 ·
メンテナーはふだん 3 日以内に返信
-
Host/username secret values contain trailing newlines, sanitization fix breaks SSH key再び着手できるかも @abdulazeem-tk4vr が 167 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redhat-developer/mapt#817 · コメント 12 件 ·
メンテナーはふだん 3 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
redhat-developer/mapt#991 ·
メンテナーはふだん 3 日以内に返信
-
enhancement provider/AWS provider/IBMCLOUD target/openshift-snc
難易度 4/5 3〜5日 初心者へのやさしさ 57/100
redhat-developer/mapt#990 ·
メンテナーはふだん 3 日以内に返信
-
openshift-snc: align cluster ingress domain with the nip.io access domain (crc.testing split-brain)オープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
redhat-developer/mapt#968 · リアクション 1 件 ·
メンテナーはふだん 3 日以内に返信
redhat-developer/mapt の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
stefanpejcic/OpenPanel#1415 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
status:needs-review type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Gentleman-Programming/engram#2512 ·
メンテナーはふだん 1 日以内に返信