Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .kapetanios/postsubmit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ spec:
- name: bazel_cache_service_account
type: PROJECT

- name: publish-piped-linux
- name: publish-linux-binaries
timeout: 15m
machine:
resource: medium
Expand All @@ -32,18 +32,20 @@ spec:
runner: gcr.io/pipecd/runner:1.0.0
commands:
- bazelisk --output_base=/workspace/bazel_out build --config=ci --config=linux --config=stamping //:copy_piped
- bazelisk --output_base=/workspace/bazel_out build --config=ci --config=linux --config=stamping //:copy_pipectl
secrets:
- name: bazel_cache_service_account
type: PROJECT
- description: Publish piped
runner: gcr.io/pipecd/asset-publisher:0.0.1
commands:
- /asset-publisher --asset-name-suffix=linux_amd64 --asset-file=bazel-bin/piped
- /asset-publisher --asset-name-suffix=linux_amd64 --asset-file=bazel-bin/pipectl
secrets:
- name: github_token
type: PROJECT

- name: publish-piped-darwin
- name: publish-darwin-binaries
timeout: 30m
machine:
resource: medium
Expand All @@ -54,13 +56,15 @@ spec:
runner: gcr.io/pipecd/runner:1.0.0
commands:
- bazelisk --output_base=/workspace/bazel_out build --config=ci --config=darwin --config=stamping //:copy_piped
- bazelisk --output_base=/workspace/bazel_out build --config=ci --config=darwin --config=stamping //:copy_pipectl
secrets:
- name: bazel_cache_service_account
type: PROJECT
- description: Publish piped
runner: gcr.io/pipecd/asset-publisher:0.0.1
commands:
- /asset-publisher --asset-name-suffix=darwin_amd64 --asset-file=bazel-bin/piped
- /asset-publisher --asset-name-suffix=darwin_amd64 --asset-file=bazel-bin/pipectl
secrets:
- name: github_token
type: PROJECT
Expand Down
6 changes: 6 additions & 0 deletions BUILD.bazel.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ genrule(
cmd = "cp $< $@",
)

genrule(
name = "copy_pipectl",
srcs = ["//cmd/pipectl"],
outs = ["pipectl"],
cmd = "cp $< $@",
)