Note: GitHub Actions was available for GitHub Enterprise Server 2.22 as a limited beta. The beta has ended. GitHub Actions is now generally available in GitHub Enterprise Server 3.0 or later. For more information, see the GitHub Enterprise Server 3.0 release notes.
- For more information about upgrading to GitHub Enterprise Server 3.0 or later, see "Upgrading GitHub Enterprise Server."
- For more information about configuring GitHub Actions after you upgrade, see the documentation for GitHub Enterprise Server 3.0.
Note: GitHub-hosted runners are not currently supported on GitHub Enterprise Server. You can see more information about planned future support on the GitHub public roadmap.
リポジトリからのランナーの削除
ノート: この手順は、セルフホストランナーを恒久的に削除します。 一時的にランナーへのジョブの割り当てを停止したいだけなら、そのマシンをシャットダウンするか、run
アプリケーションを停止させることができます。 ランナーは"Offline(オフライン)"状態で割り当てされたままになり、run
アプリケーションを使ってランナーを再起動するまでは、ジョブを実行しません。
セルフホストランナーは、GitHub Actionsに30日以上接続されないと、GitHub Enterprise Serverから自動的に削除されます。
ユーザリポジトリからセルフホストランナーを削除するには、リポジトリのオーナーでなければなりません。 Organizationのリポジトリの場合は、Organizationのオーナーであるか、そのリポジトリの管理アクセスを持っていなければなりません。 セルフホストランナーのマシンへもアクセスできるようにしておくことをおすすめします。
Alternatively, if you don't have access to the repository, organization, or enterprise on GitHub Enterprise Server to remove a runner, but you would like to re-use the runner machine, then you can delete the .runner
file inside the self-hosted runner application directory. This allows the runner to be registered without having to re-download the self-hosted runner application.
-
GitHub Enterprise Serverで、リポジトリのメインページにアクセスしてください。
-
リポジトリ名の下で Settings(設定)をクリックしてください。
-
サイドバーでActions(アクション)をクリックしてください。
-
Under Self-hosted runners, locate the runner in the list. If your runner is in a group, click to expand the list.
-
Click next to the runner you want to remove, then click Remove.
-
セルフホストランナーの削除手順が表示されます。 ランナーがアクセスできる状態にあるかによって、ランナーを削除するための以下のステップのいずれかを実行してください。
-
ランナーマシンにアクセスできる場合: マシンのオペレーティングシステムの画面上の指示に従って、削除コマンドを実行してください。 この指示には、必須のURLと自動的に生成された期間限定のトークンが含まれます。
この削除コマンドは、以下のタスクを実行します。
- GitHub Enterprise Serverからのランナーの削除。
- マシン上のセルフホストランナーアプリケーションの設定ファイルの削除。
- インタラクティブモードで動作していないのであれば設定されているサービスの削除。
-
マシンにアクセスできない場合: Yes, force remove this runner(はい、強制的にこのランナーを削除します)をクリックして、強制的にGitHub Enterprise Serverにランナーを削除させます。
-
Organizationからのランナーの削除
ノート: この手順は、セルフホストランナーを恒久的に削除します。 一時的にランナーへのジョブの割り当てを停止したいだけなら、そのマシンをシャットダウンするか、run
アプリケーションを停止させることができます。 ランナーは"Offline(オフライン)"状態で割り当てされたままになり、run
アプリケーションを使ってランナーを再起動するまでは、ジョブを実行しません。
セルフホストランナーは、GitHub Actionsに30日以上接続されないと、GitHub Enterprise Serverから自動的に削除されます。
Organizationからセルフホストランナーを削除するには、Organizationのオーナーでなければなりません。 セルフホストランナーのマシンへもアクセスできるようにしておくことをおすすめします。
Alternatively, if you don't have access to the repository, organization, or enterprise on GitHub Enterprise Server to remove a runner, but you would like to re-use the runner machine, then you can delete the .runner
file inside the self-hosted runner application directory. This allows the runner to be registered without having to re-download the self-hosted runner application.
-
GitHub Enterprise Serverで、Organizationのメインページにアクセスしてください。
-
Organization名の下で、Settings(設定)をクリックしてください。
-
サイドバーでActions(アクション)をクリックしてください。
-
Under Self-hosted runners, locate the runner in the list. If your runner is in a group, click to expand the list.
-
Click next to the runner you want to remove, then click Remove.
-
セルフホストランナーの削除手順が表示されます。 ランナーがアクセスできる状態にあるかによって、ランナーを削除するための以下のステップのいずれかを実行してください。
-
ランナーマシンにアクセスできる場合: マシンのオペレーティングシステムの画面上の指示に従って、削除コマンドを実行してください。 この指示には、必須のURLと自動的に生成された期間限定のトークンが含まれます。
この削除コマンドは、以下のタスクを実行します。
- GitHub Enterprise Serverからのランナーの削除。
- マシン上のセルフホストランナーアプリケーションの設定ファイルの削除。
- インタラクティブモードで動作していないのであれば設定されているサービスの削除。
-
マシンにアクセスできない場合: Yes, force remove this runner(はい、強制的にこのランナーを削除します)をクリックして、強制的にGitHub Enterprise Serverにランナーを削除させます。
-
Enterprise からランナーを削除する
ノート: この手順は、セルフホストランナーを恒久的に削除します。 一時的にランナーへのジョブの割り当てを停止したいだけなら、そのマシンをシャットダウンするか、run
アプリケーションを停止させることができます。 ランナーは"Offline(オフライン)"状態で割り当てされたままになり、run
アプリケーションを使ってランナーを再起動するまでは、ジョブを実行しません。
セルフホストランナーは、GitHub Actionsに30日以上接続されないと、GitHub Enterprise Serverから自動的に削除されます。
セルフホストランナーを your GitHub Enterprise Server instance の Enterprise レベルで削除するには、サイト管理者である必要があります。 セルフホストランナーのマシンへもアクセスできるようにしておくことをおすすめします。
Alternatively, if you don't have access to the repository, organization, or enterprise on GitHub Enterprise Server to remove a runner, but you would like to re-use the runner machine, then you can delete the .runner
file inside the self-hosted runner application directory. This allows the runner to be registered without having to re-download the self-hosted runner application.
-
In the top-right corner of GitHub Enterprise Server, click your profile photo, then click Enterprise settings.
-
Enterpriseアカウントのサイドバーで、 Policies(ポリシー)をクリックしてください。
-
Under " Policies", click Actions.
-
Under Self-hosted runners, locate the runner in the list. If your runner is in a group, click to expand the list.
-
Click next to the runner you want to remove, then click Remove.
-
セルフホストランナーの削除手順が表示されます。 ランナーがアクセスできる状態にあるかによって、ランナーを削除するための以下のステップのいずれかを実行してください。
-
ランナーマシンにアクセスできる場合: マシンのオペレーティングシステムの画面上の指示に従って、削除コマンドを実行してください。 この指示には、必須のURLと自動的に生成された期間限定のトークンが含まれます。
この削除コマンドは、以下のタスクを実行します。
- GitHub Enterprise Serverからのランナーの削除。
- マシン上のセルフホストランナーアプリケーションの設定ファイルの削除。
- インタラクティブモードで動作していないのであれば設定されているサービスの削除。
-
マシンにアクセスできない場合: Yes, force remove this runner(はい、強制的にこのランナーを削除します)をクリックして、強制的にGitHub Enterprise Serverにランナーを削除させます。
-