Skip to content

Commit

Permalink
Fix doc for upsert strategy (#4)
Browse files Browse the repository at this point in the history
* Fix doc for upsert strategy
  • Loading branch information
guido9j authored Sep 11, 2022
1 parent 2eb4d25 commit 14ac823
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: goreleaser
name: goreleaser-snapshot

on:
push:
Expand All @@ -9,17 +9,17 @@ on:
- master

jobs:
goreleaser:
goreleaser-snapshot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.14
go-version-file: 'go.mod'
- name: Test
run: go test ./...
- name: Import GPG key
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Unshallow
run: git fetch --prune --unshallow
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.14
go-version-file: 'go.mod'
- name: Test
run: go test ./...
- name: Import GPG key
Expand Down
1 change: 1 addition & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ builds:
- darwin
goarch:
- amd64
# - arm64 # TO-DO: needs higher version of golang
ignore:
- goos: darwin
goarch: "386"
Expand Down
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ The following arguments are supported. Defaults to Env variables if not specifie

- `server`: (Required) URL for Gate (Default: Env `GATE_URL`)
- `config`: (Optional) Path to Gate config file. See the [Spin CLI](https://github.com/spinnaker/spin/blob/master/config/example.yaml) for an example config. (Default: Env `SPINNAKER_CONFIG_PATH`)
- `upsert_strategy`: (Optional) When creating pipelines, update pipeline if it already exists. (Default: `true`)
- `ignore_cert_errors`: (Optional) Ignore certificate errors from Gate (Default: `false`)
- `https_proxy`: (Optional) HTTPS proxy to connect to Gate (Default: `""`)
- `default_headers`: (Optional) A comma separated set of key value pairs to set default headers for the gate client when sending requests to your gate endpoint e.g. "header1=value1,header2=value2". (Default: `""`)

0 comments on commit 14ac823

Please sign in to comment.