プラットフォーム
platform
セクションを使用して、ターゲットオペレーティングシステムとアーキテクチャを構成し、パイプラインを適切なランナーにルーティングします。
Windowsパイプラインの例:
1 kind: pipeline
2 type: ssh
3 name: default
4
5 server:
6 host: 1.2.3.4
7 user: root
8 password:
9 from_secret: password
10
11 platform:
12 os: windows
13 arch: amd64
14
15 steps:
16 - name: build
17 commands:
18 - go build
19 - go test
サポートされているプラットフォーム
OS | ARCH |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|