Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

[ Image Removed |../../index.htm#lansa/vldtooldevops_0320.htm]
現在地:

...

Wiki Markupまずは、GitLab Runner をダウンロードして構成する必要があります。

以下は公式のドキュメントです。次のインストール・セクションのすべてのステップに従ってください。

4 のリンクを含む、[<span style="color: #0000ee"><span style="text-decoration: underline; ">Install GitLab Runner on Windows</span></span>|https://docs.gitlab.com/runner/install/windows.html] (Windows に GitLab Runner をインストール) の手順Runner を登録します。 注: Runner 登録時は、以下のコマンド・ラインを使用します。  のリンクを含む、Install GitLab Runner on Windows (Windows に GitLab Runner をインストール) の手順Runner を登録します。

Note

注: Runner 登録時は、以下のコマンド・ラインを使用します。
.\gitlab-runner.exe

...

register

...

--non-interactive

...

--url

...

"https://gitlab.com"

...

--registration-token

...

"<your

...

project

...

token"

...

--executor

...

"shell"

...

--shell

...

"powershell"

...

--tag-list

...

"master,test-tag,prod-tag"

...

--run-untagged

...

GitLab

...

の設定

GitLab のリポジトリで "Settings > CI/CD" にアクセスして、"Runners settings" を展開すると、自身のプロジェクトにすでに割り当てられているランナーを確認できます。緑の丸が表示されていない場合は、ターゲット・システムで Runner が開始されていないことが考えられます。 !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! Specific Runners セクションの横にある \[Disable shared Runners\] をクリックします。 !が開始されていないことが考えられます。

Image Added





Specific Runners セクションの横にある [Disable shared Runners] をクリックします。

Image Added


そして、"Settings > worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! そして、"Settings > CI/CD" Variables を展開し、以下の変数を設定します。

GIT_STRATEGY = none は、Runner そのものがどの Git 操作も行わないようにします。このタスクはジョブに任されます。LANSA は、独自のディレクトリ構造内で Web サイトなどが正しく設定された状態で Git 操作を実行する必要があります。

LANSA_APPL_NAME インストールされたアプリケーションの名前です。

LANSA_ROOT_PATH は、アプリケーションをインストールするディレクトリです。 !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! [ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! |../../index.htm#lansa/vldtooldevops_0320.htm]は、アプリケーションをインストールするディレクトリです。

Image Added