Skip to content

Commit 088bd57

Browse files
Merge branch 'main' into feat/STACKITCLI-414-sqlserverflex-v3-encryption
2 parents c734107 + da1f464 commit 088bd57

208 files changed

Lines changed: 5161 additions & 8485 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout
20-
uses: actions/checkout@v7.0.0
20+
uses: actions/checkout@v7.0.1
2121

2222
- name: Install go
2323
uses: actions/setup-go@v7.0.0
@@ -47,7 +47,7 @@ jobs:
4747
runs-on: ubuntu-latest
4848
steps:
4949
- name: Checkout
50-
uses: actions/checkout@v7.0.0
50+
uses: actions/checkout@v7.0.1
5151

5252
- name: Check GoReleaser
5353
uses: goreleaser/goreleaser-action@v7.2.3
@@ -65,7 +65,7 @@ jobs:
6565
pull-requests: write # write permission needed to comment on PR
6666
steps:
6767
- name: Check new code coverage
68-
uses: fgrosse/go-coverage-report@v1.3.0
68+
uses: fgrosse/go-coverage-report@v1.3.1
6969
continue-on-error: true # Add this line to prevent pipeline failures in forks
7070
with:
7171
coverage-artifact-name: ${{ env.CODE_COVERAGE_ARTIFACT_NAME }}

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v7.0.0
26+
uses: actions/checkout@v7.0.1
2727
with:
2828
# Allow goreleaser to access older tag information.
2929
fetch-depth: 0
@@ -106,7 +106,7 @@ jobs:
106106
AWS_SECRET_ACCESS_KEY: ${{ secrets.OBJECT_STORAGE_SECRET_ACCESS_KEY }}
107107
steps:
108108
- name: Checkout
109-
uses: actions/checkout@v7.0.0
109+
uses: actions/checkout@v7.0.1
110110

111111
# use the artifacts from the "goreleaser" job
112112
- name: Download artifacts from workflow
@@ -144,7 +144,7 @@ jobs:
144144
AWS_ENDPOINT_URL: https://object.storage.eu01.onstackit.cloud
145145
steps:
146146
- name: Checkout
147-
uses: actions/checkout@v7.0.0
147+
uses: actions/checkout@v7.0.1
148148

149149
- name: Download artifacts from workflow
150150
uses: actions/download-artifact@v8

.github/workflows/stale.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
timeout-minutes: 10
2525
steps:
2626
- name: "Mark old PRs as stale"
27-
uses: actions/stale@v10.4.0
27+
uses: actions/stale@v11.0.0
2828
with:
2929
repo-token: ${{ secrets.GITHUB_TOKEN }}
3030
stale-pr-message: "This PR was marked as stale after ${{ env.DAYS_BEFORE_PR_STALE }} days of inactivity and will be closed after another ${{ env.DAYS_BEFORE_PR_CLOSE }} days of further inactivity. If this PR should be kept open, just add a comment, remove the stale label or push new commits to it."

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ go.work.sum
1616
# Test coverage reports
1717
coverage.out
1818
coverage.html
19+
20+
# Shell completions
21+
completions/

.goreleaser.yaml

Lines changed: 22 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ version: 2
33
before:
44
hooks:
55
- go mod tidy
6+
# Shell completion files
7+
- mkdir -p ./completions
8+
- sh -c 'go run ./main.go completion zsh > ./completions/stackit.zsh'
9+
- sh -c 'go run ./main.go completion bash > ./completions/stackit.bash'
10+
- sh -c 'go run ./main.go completion fish > ./completions/stackit.fish'
611

712
builds:
813
- id: linux-builds
@@ -47,11 +52,6 @@ builds:
4752
output: true
4853
- cmd: spctl -a -t open --context context:primary-signature -v dist/{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}.dmg
4954
output: true
50-
# Completion files
51-
- cmd: mkdir -p dist/completions
52-
- cmd: sh -c 'go run main.go completion zsh > ./dist/completions/stackit.zsh'
53-
- cmd: sh -c 'go run main.go completion bash > ./dist/completions/stackit.bash'
54-
- cmd: sh -c 'go run main.go completion fish > ./dist/completions/stackit.fish'
5555

5656
- id: freebsd-builds
5757
env:
@@ -74,7 +74,7 @@ archives:
7474
- freebsd-builds
7575
formats: [ 'tar.gz' ]
7676
files:
77-
- src: ./dist/completions/*
77+
- src: ./completions/*
7878
dst: completions
7979
- LICENSE.md
8080
- README.md
@@ -108,6 +108,18 @@ nfpms:
108108
dst: /usr/share/doc/stackit/copyright
109109
file_info:
110110
mode: 0644
111+
- src: ./completions/stackit.bash
112+
dst: /usr/share/bash-completion/completions/stackit
113+
file_info:
114+
mode: 0644
115+
- src: ./completions/stackit.zsh
116+
dst: /usr/share/zsh/vendor-completions/_stackit
117+
file_info:
118+
mode: 0644
119+
- src: ./completions/stackit.fish
120+
dst: /usr/share/fish/vendor_completions.d/stackit.fish
121+
file_info:
122+
mode: 0644
111123
formats:
112124
- deb
113125
- rpm
@@ -155,25 +167,7 @@ snapcrafts:
155167
grade: stable
156168
# Whether to publish the Snap to the store
157169
publish: true
158-
159-
winget:
160-
- name: stackit
161-
publisher: stackitcloud
162-
short_description: A command-line interface to manage STACKIT resources.
163-
license: Apache-2.0
164-
publisher_support_url: "https://github.com/stackitcloud/stackit-cli/issues"
165-
package_identifier: stackitcloud.stackit
166-
homepage: "https://github.com/stackitcloud/stackit-cli"
167-
# If set to auto, the release will not be uploaded to the homebrew tap repo
168-
# if the tag has a prerelease indicator (e.g. v0.0.1-alpha1)
169-
# Temporarily not skipping prereleases to test integration with Winget
170-
# skip_upload: auto
171-
repository:
172-
owner: stackitcloud
173-
name: winget-pkgs
174-
pull_request:
175-
enabled: true
176-
base:
177-
owner: microsoft
178-
name: winget-pkgs
179-
branch: master
170+
apps:
171+
stackit:
172+
command: stackit
173+
completer: completions/stackit.bash

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[![Go Report Card](https://goreportcard.com/badge/github.com/stackitcloud/stackit-cli)](https://goreportcard.com/report/github.com/stackitcloud/stackit-cli) ![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/stackitcloud/stackit-cli) [![GitHub License](https://img.shields.io/github/license/stackitcloud/stackit-cli)](https://www.apache.org/licenses/LICENSE-2.0)
1111

12-
Welcome to the STACKIT CLI, a command-line interface for [STACKIT - The sovereign cloud for Europe](https://www.stackit.de/en).
12+
Welcome to the STACKIT CLI, a command-line interface for [STACKIT - The sovereign cloud for Europe](https://www.stackit.com/).
1313

1414
The STACKIT CLI allows you to manage your STACKIT services and resources as well as perform operations using the command-line or in scripts or automation, such as:
1515

@@ -206,7 +206,7 @@ Apache 2.0
206206

207207
- [STACKIT Portal](https://portal.stackit.cloud/)
208208

209-
- [STACKIT](https://www.stackit.de/en/)
209+
- [STACKIT](https://www.stackit.com/)
210210

211211
- [STACKIT Docs](https://docs.stackit.cloud/)
212212

SECURITY.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs/stackit_beta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ stackit beta [flags]
4343
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
4444
* [stackit beta alb](./stackit_beta_alb.md) - Manages application loadbalancers
4545
* [stackit beta cdn](./stackit_beta_cdn.md) - Manage CDN resources
46-
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for edge services.
46+
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
4747
* [stackit beta intake](./stackit_beta_intake.md) - Provides functionality for intake
4848
* [stackit beta sfs](./stackit_beta_sfs.md) - Provides functionality for SFS (STACKIT File Storage)
4949
* [stackit beta sqlserverflex](./stackit_beta_sqlserverflex.md) - Provides functionality for SQLServer Flex

docs/stackit_beta_edge-cloud.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## stackit beta edge-cloud
22

3-
Provides functionality for edge services.
3+
Provides functionality for Edge Cloud services.
44

55
### Synopsis
66

@@ -30,8 +30,8 @@ stackit beta edge-cloud [flags]
3030
### SEE ALSO
3131

3232
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
33-
* [stackit beta edge-cloud instance](./stackit_beta_edge-cloud_instance.md) - Provides functionality for edge instances.
34-
* [stackit beta edge-cloud kubeconfig](./stackit_beta_edge-cloud_kubeconfig.md) - Provides functionality for edge kubeconfig.
35-
* [stackit beta edge-cloud plans](./stackit_beta_edge-cloud_plans.md) - Provides functionality for edge service plans.
36-
* [stackit beta edge-cloud token](./stackit_beta_edge-cloud_token.md) - Provides functionality for edge service token.
33+
* [stackit beta edge-cloud instance](./stackit_beta_edge-cloud_instance.md) - Provides functionality for Edge Cloud instances.
34+
* [stackit beta edge-cloud kubeconfig](./stackit_beta_edge-cloud_kubeconfig.md) - Provides functionality for Edge Cloud kubeconfig.
35+
* [stackit beta edge-cloud plans](./stackit_beta_edge-cloud_plans.md) - Provides functionality for Edge Cloud service plans.
36+
* [stackit beta edge-cloud token](./stackit_beta_edge-cloud_token.md) - Provides functionality for Edge Cloud service token.
3737

docs/stackit_beta_edge-cloud_instance.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## stackit beta edge-cloud instance
22

3-
Provides functionality for edge instances.
3+
Provides functionality for Edge Cloud instances.
44

55
### Synopsis
66

@@ -29,10 +29,10 @@ stackit beta edge-cloud instance [flags]
2929

3030
### SEE ALSO
3131

32-
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for edge services.
33-
* [stackit beta edge-cloud instance create](./stackit_beta_edge-cloud_instance_create.md) - Creates an edge instance
34-
* [stackit beta edge-cloud instance delete](./stackit_beta_edge-cloud_instance_delete.md) - Deletes an edge instance
35-
* [stackit beta edge-cloud instance describe](./stackit_beta_edge-cloud_instance_describe.md) - Describes an edge instance
36-
* [stackit beta edge-cloud instance list](./stackit_beta_edge-cloud_instance_list.md) - Lists edge instances
37-
* [stackit beta edge-cloud instance update](./stackit_beta_edge-cloud_instance_update.md) - Updates an edge instance
32+
* [stackit beta edge-cloud](./stackit_beta_edge-cloud.md) - Provides functionality for Edge Cloud services.
33+
* [stackit beta edge-cloud instance create](./stackit_beta_edge-cloud_instance_create.md) - Creates an Edge Cloud instance
34+
* [stackit beta edge-cloud instance delete](./stackit_beta_edge-cloud_instance_delete.md) - Deletes an Edge Cloud instance
35+
* [stackit beta edge-cloud instance describe](./stackit_beta_edge-cloud_instance_describe.md) - Describes an Edge Cloud instance
36+
* [stackit beta edge-cloud instance list](./stackit_beta_edge-cloud_instance_list.md) - Lists Edge Cloud instances
37+
* [stackit beta edge-cloud instance update](./stackit_beta_edge-cloud_instance_update.md) - Updates an Edge Cloud instance
3838

0 commit comments

Comments
 (0)