docs: use INSTALLATION_NAME (#2552)
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
This commit is contained in:
		
							parent
							
								
									367ee46122
								
							
						
					
					
						commit
						f798cddca1
					
				|  | @ -68,7 +68,7 @@ In addition to the increased reliability of the automatic scaling, we have worke | ||||||
|     GITHUB_APP_ID="<GITHUB_APP_ID>" |     GITHUB_APP_ID="<GITHUB_APP_ID>" | ||||||
|     GITHUB_APP_INSTALLATION_ID="<GITHUB_APP_INSTALLATION_ID>" |     GITHUB_APP_INSTALLATION_ID="<GITHUB_APP_INSTALLATION_ID>" | ||||||
|     GITHUB_APP_PRIVATE_KEY="<GITHUB_APP_PRIVATE_KEY>" |     GITHUB_APP_PRIVATE_KEY="<GITHUB_APP_PRIVATE_KEY>" | ||||||
|     helm install arc-runner-set \ |     helm install "${INSTALLATION_NAME}" \ | ||||||
|         --namespace "${NAMESPACE}" \ |         --namespace "${NAMESPACE}" \ | ||||||
|         --create-namespace \ |         --create-namespace \ | ||||||
|         --set githubConfigUrl="${GITHUB_CONFIG_URL}" \ |         --set githubConfigUrl="${GITHUB_CONFIG_URL}" \ | ||||||
|  | @ -101,13 +101,12 @@ In addition to the increased reliability of the automatic scaling, we have worke | ||||||
|     ```yaml |     ```yaml | ||||||
|     name: Test workflow |     name: Test workflow | ||||||
|     on: |     on: | ||||||
|         workflow_dispatch: |       workflow_dispatch: | ||||||
| 
 |  | ||||||
|     jobs: |     jobs: | ||||||
|     test: |       test: | ||||||
|         runs-on: arc-runner-set |         runs-on: arc-runner-set | ||||||
|         steps: |           steps: | ||||||
|         - name: Hello world |           - name: Hello world | ||||||
|             run: echo "Hello world" |             run: echo "Hello world" | ||||||
|     ``` |     ``` | ||||||
| 
 | 
 | ||||||
|  | @ -209,10 +208,10 @@ To fix this, you can either: | ||||||
| 
 | 
 | ||||||
|     ```yaml |     ```yaml | ||||||
|     spec: |     spec: | ||||||
|         securityContext: |       securityContext: | ||||||
|             fsGroup: 123 |         fsGroup: 123 | ||||||
|         containers: |       containers: | ||||||
|         - name: runner |       - name: runner | ||||||
|         image: ghcr.io/actions/actions-runner:<VERSION> # Replace <VERSION> with the version you want to use |         image: ghcr.io/actions/actions-runner:<VERSION> # Replace <VERSION> with the version you want to use | ||||||
|         command: ["/home/runner/run.sh"] |         command: ["/home/runner/run.sh"] | ||||||
|     ``` |     ``` | ||||||
|  | @ -222,15 +221,15 @@ To fix this, you can either: | ||||||
|     ```yaml |     ```yaml | ||||||
|     template: |     template: | ||||||
|     spec: |     spec: | ||||||
|         initContainers: |       initContainers: | ||||||
|         - name: kube-init |       - name: kube-init | ||||||
|         image: ghcr.io/actions/actions-runner:latest |         image: ghcr.io/actions/actions-runner:latest | ||||||
|         command: ["sudo", "chown", "-R", "1001:123", "/home/runner/_work"] |         command: ["sudo", "chown", "-R", "1001:123", "/home/runner/_work"] | ||||||
|         volumeMounts: |         volumeMounts: | ||||||
|             - name: work |         - name: work | ||||||
|             mountPath: /home/runner/_work |           mountPath: /home/runner/_work | ||||||
|         containers: |       containers: | ||||||
|         - name: runner |       - name: runner | ||||||
|         image: ghcr.io/actions/actions-runner:latest |         image: ghcr.io/actions/actions-runner:latest | ||||||
|         command: ["/home/runner/run.sh"] |         command: ["/home/runner/run.sh"] | ||||||
|     ``` |     ``` | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue