Skip to content

Commit d4c79a0

Browse files
committed
Merge branch 'main' into feat/onboard-ufw
# Conflicts: # internal/cmd/root.go
2 parents 0da26a3 + 6db3480 commit d4c79a0

202 files changed

Lines changed: 6476 additions & 1577 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/labeler.yml‎

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,79 +2,79 @@
22
"domain:Access":
33
- changed-files:
44
- any-glob-to-any-file:
5-
- "internal/cmd/alb/*"
6-
- "internal/cmd/albwaf/*"
7-
- "internal/cmd/cdn/*"
8-
- "internal/cmd/certificates/*"
9-
- "internal/cmd/loadbalancer/*"
10-
- "internal/cmd/vpn/*"
5+
- "internal/cmd/alb/**"
6+
- "internal/cmd/albwaf/**"
7+
- "internal/cmd/cdn/**"
8+
- "internal/cmd/certificates/**"
9+
- "internal/cmd/loadbalancer/**"
10+
- "internal/cmd/vpn/**"
1111
# runtimes
1212
"domain:Runtimes":
1313
- changed-files:
1414
- any-glob-to-any-file:
15-
- "internal/cmd/ske/*"
16-
- "internal/cmd/scf/*"
17-
- "internal/cmd/edge/*"
15+
- "internal/cmd/ske/**"
16+
- "internal/cmd/scf/**"
17+
- "internal/cmd/edge/**"
1818
# support
1919
# no support domain sdk modules available yet
2020
# central services
2121
"domain:CentralServices":
2222
- changed-files:
2323
- any-glob-to-any-file:
24-
- "internal/cmd/dns/*"
25-
- "internal/cmd/git/*"
26-
- "internal/cmd/intake/*"
27-
- "internal/cmd/kms/*"
28-
- "internal/cmd/kms/*"
29-
- "internal/cmd/logs/*"
30-
- "internal/cmd/modelserving/*"
31-
- "internal/cmd/observability/*"
32-
- "internal/cmd/rabbitmq/*"
33-
- "internal/cmd/redis/*"
34-
- "internal/cmd/opensearch/*"
35-
- "internal/cmd/logme/*"
36-
- "internal/cmd/telemetryrouter/*"
37-
- "internal/cmd/telemetrylink/*"
38-
- "internal/cmd/secretsmanager/*"
39-
- "internal/cmd/dremio/*"
40-
- "internal/cmd/modelexperiments/*"
41-
- "internal/cmd/ufw/*"
42-
- "internal/cmd/workflows/*"
43-
- "internal/cmd/valkey/*"
24+
- "internal/cmd/dns/**"
25+
- "internal/cmd/git/**"
26+
- "internal/cmd/intake/**"
27+
- "internal/cmd/kms/**"
28+
- "internal/cmd/kms/**"
29+
- "internal/cmd/logs/**"
30+
- "internal/cmd/modelserving/**"
31+
- "internal/cmd/observability/**"
32+
- "internal/cmd/rabbitmq/**"
33+
- "internal/cmd/redis/**"
34+
- "internal/cmd/opensearch/**"
35+
- "internal/cmd/logme/**"
36+
- "internal/cmd/telemetryrouter/**"
37+
- "internal/cmd/telemetrylink/**"
38+
- "internal/cmd/secretsmanager/**"
39+
- "internal/cmd/dremio/**"
40+
- "internal/cmd/modelexperiments/**"
41+
- "internal/cmd/ufw/**"
42+
- "internal/cmd/workflows/**"
43+
- "internal/cmd/valkey/**"
4444
# databases
4545
"domain:Databases":
4646
- changed-files:
4747
- any-glob-to-any-file:
48-
- "internal/cmd/mongodbflex/*"
49-
- "internal/cmd/mariadb/*"
50-
- "internal/cmd/sqlserverflex/*"
51-
- "internal/cmd/postgresflex/*"
48+
- "internal/cmd/mongodbflex/**"
49+
- "internal/cmd/mariadb/**"
50+
- "internal/cmd/sqlserverflex/**"
51+
- "internal/cmd/postgresflex/**"
5252
# IaaS
5353
"domain:IaaS":
5454
- changed-files:
5555
- any-glob-to-any-file:
56-
- "internal/cmd/network-area/*"
57-
- "internal/cmd/network/*"
58-
- "internal/cmd/network-interface/*"
59-
- "internal/cmd/public-ip/*"
60-
- "internal/cmd/server/*"
61-
- "internal/cmd/volume/*"
62-
- "internal/cmd/security-group/*"
63-
- "internal/cmd/image/*"
64-
- "internal/cmd/objectstorage/*"
65-
- "internal/cmd/runcommand/*"
66-
- "internal/cmd/serverbackup/*"
67-
- "internal/cmd/serverupdate/*"
68-
- "internal/cmd/sfs/*"
69-
- "internal/cmd/automation/*"
56+
- "internal/cmd/network-area/**"
57+
- "internal/cmd/network/**"
58+
- "internal/cmd/network-interface/**"
59+
- "internal/cmd/public-ip/**"
60+
- "internal/cmd/server/**"
61+
- "internal/cmd/volume/**"
62+
- "internal/cmd/security-group/**"
63+
- "internal/cmd/image/**"
64+
- "internal/cmd/objectstorage/**"
65+
- "internal/cmd/runcommand/**"
66+
- "internal/cmd/serverbackup/**"
67+
- "internal/cmd/serverupdate/**"
68+
- "internal/cmd/sfs/**"
69+
- "internal/cmd/automation/**"
7070
# core platform
7171
"domain:CorePlatform":
7272
- changed-files:
7373
- any-glob-to-any-file:
74-
- "internal/cmd/auditlog/*"
75-
- "internal/cmd/authorization/*"
76-
- "internal/cmd/organization/*"
77-
- "internal/cmd/project/*"
78-
- "internal/cmd/serviceaccount/*"
79-
- "internal/cmd/serviceenablement/*"
80-
- "internal/cmd/cost/*"
74+
- "internal/cmd/auditlog/**"
75+
- "internal/cmd/authorization/**"
76+
- "internal/cmd/organization/**"
77+
- "internal/cmd/project/**"
78+
- "internal/cmd/serviceaccount/**"
79+
- "internal/cmd/serviceenablement/**"
80+
- "internal/cmd/cost/**"

‎.github/workflows/ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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.4.0
68+
uses: fgrosse/go-coverage-report@v1.5.0
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/labeler.yaml‎

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,49 @@ on:
88
- cron: '0 * * * *'
99

1010
jobs:
11-
labeler:
11+
# this job runs when the workflow was triggered by the 'pull_request' event
12+
pr-labeler:
1213
permissions:
1314
contents: read
1415
pull-requests: write
1516
issues: write
1617
# don't run on PRs from forks (token has no write permissions)
17-
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
18+
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository }}
1819
name: "Labeler"
1920
runs-on: ubuntu-latest
2021
steps:
2122
- name: Labeler action
2223
uses: actions/labeler@v7
2324
with:
2425
sync-labels: false
26+
27+
# This job runs when the workflow was triggered by the 'workflow_dispatch' or the 'schedule' event.
28+
# This is neccessary because for PRs from forks the default short-lived GitHub token has no write permissions
29+
# and can not add labels to the PR therefore. This means we have to label all PRs from forks using the 'schedule' event.
30+
scheduled-labeler:
31+
permissions:
32+
contents: read
33+
pull-requests: write
34+
issues: write
35+
# don't run on PRs from forks (token has no write permissions)
36+
if: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
37+
name: "Label all open PRs"
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Fetch open PR numbers
41+
id: fetch-prs
42+
run: |
43+
{
44+
echo 'numbers<<EOF'
45+
gh pr list --repo ${{ github.repository }} --state open --limit 500 --json number --jq '.[].number'
46+
echo EOF
47+
} >> "$GITHUB_OUTPUT"
48+
env:
49+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
50+
51+
- name: Labeler action
52+
if: ${{ steps.fetch-prs.outputs.numbers != '' }}
53+
uses: actions/labeler@v7
54+
with:
55+
sync-labels: false
56+
pr-number: ${{ steps.fetch-prs.outputs.numbers }}

‎.github/workflows/stale.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
paths: [".github/workflows/stale.yaml"]
1010

1111
env:
12-
DAYS_BEFORE_PR_STALE: 7
13-
DAYS_BEFORE_PR_CLOSE: 7
12+
DAYS_BEFORE_PR_STALE: 14
13+
DAYS_BEFORE_PR_CLOSE: 14
1414
EXEMPT_PR_LABELS: "ignore-stale"
1515

1616
permissions:

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ Below you can find a list of the STACKIT services already available in the CLI (
7474
| Authorization | `project`, `organization` | :white_check_mark: |
7575
| DNS | `dns` | :white_check_mark: |
7676
| Edge Cloud | `beta edge-cloud` | :white_check_mark: (beta) |
77+
| File Storage (SFS) | `sfs` | :white_check_mark: |
7778
| Git | `git` | :white_check_mark: |
7879
| Infrastructure as a Service (IaaS) | `affinity-group` <br/> `image` <br/> `key-pair` <br/> `network` <br/> `network-area` <br/> `network-interface` <br/> `public-ip` <br/> `quota` <br/> `security-group` <br/> `server` <br/> `volume` | :white_check_mark: |
7980
| Intake | `beta intake` | :white_check_mark: (beta) |
@@ -95,7 +96,6 @@ Below you can find a list of the STACKIT services already available in the CLI (
9596
| Server Command (Run Command) | `server command` | :white_check_mark: |
9697
| Service Account | `service-account` | :white_check_mark: |
9798
| SQLServer Flex | `sqlserverflex` | :white_check_mark: |
98-
| File Storage (SFS) | `beta sfs` | :white_check_mark: (beta) |
9999

100100
## Authentication
101101

‎docs/stackit.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ stackit [flags]
2727
### SEE ALSO
2828

2929
* [stackit affinity-group](./stackit_affinity-group.md) - Manage server affinity groups
30+
* [stackit alpha](./stackit_alpha.md) - Contains alpha STACKIT CLI commands
3031
* [stackit auth](./stackit_auth.md) - Authenticates the STACKIT CLI
3132
* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
3233
* [stackit config](./stackit_config.md) - Provides functionality for CLI configuration options
@@ -57,6 +58,7 @@ stackit [flags]
5758
* [stackit security-group](./stackit_security-group.md) - Manage security groups
5859
* [stackit server](./stackit_server.md) - Provides functionality for servers
5960
* [stackit service-account](./stackit_service-account.md) - Provides functionality for service accounts
61+
* [stackit sfs](./stackit_sfs.md) - Provides functionality for SFS (STACKIT File Storage)
6062
* [stackit ske](./stackit_ske.md) - Provides functionality for SKE
6163
* [stackit sqlserverflex](./stackit_sqlserverflex.md) - Provides functionality for SQLServer Flex
6264
* [stackit ufw](./stackit_ufw.md) - Provides functionality for UFW

‎docs/stackit_alpha.md‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
## stackit alpha
2+
3+
Contains alpha STACKIT CLI commands
4+
5+
### Synopsis
6+
7+
Contains alpha STACKIT CLI commands.
8+
The commands under this group are still in an alpha state, and functionality may be incomplete or have breaking changes.
9+
10+
```
11+
stackit alpha [flags]
12+
```
13+
14+
### Examples
15+
16+
```
17+
See the currently available alpha commands
18+
$ stackit alpha --help
19+
20+
Execute an alpha command
21+
$ stackit alpha MY_COMMAND
22+
```
23+
24+
### Options
25+
26+
```
27+
-h, --help Help for "stackit alpha"
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
36+
-p, --project-id string Project ID
37+
--region string Target region for region-specific requests
38+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
44+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
45+

‎docs/stackit_alpha_vpc.md‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
## stackit alpha vpc
2+
3+
Manages vpcs
4+
5+
### Synopsis
6+
7+
Manages the lifecycle of vpcs.
8+
9+
```
10+
stackit alpha vpc [flags]
11+
```
12+
13+
### Options
14+
15+
```
16+
-h, --help Help for "stackit alpha vpc"
17+
```
18+
19+
### Options inherited from parent commands
20+
21+
```
22+
-y, --assume-yes If set, skips all confirmation prompts
23+
--async If set, runs the command asynchronously
24+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
25+
-p, --project-id string Project ID
26+
--region string Target region for region-specific requests
27+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
28+
```
29+
30+
### SEE ALSO
31+
32+
* [stackit alpha](./stackit_alpha.md) - Contains alpha STACKIT CLI commands
33+
* [stackit alpha vpc create](./stackit_alpha_vpc_create.md) - Creates a VPC
34+
* [stackit alpha vpc delete](./stackit_alpha_vpc_delete.md) - Deletes a VPC
35+
* [stackit alpha vpc describe](./stackit_alpha_vpc_describe.md) - Shows details of a VPC
36+
* [stackit alpha vpc list](./stackit_alpha_vpc_list.md) - Lists all VPC of a project
37+
* [stackit alpha vpc region](./stackit_alpha_vpc_region.md) - Manages regional configurations of a VPC
38+
* [stackit alpha vpc update](./stackit_alpha_vpc_update.md) - Updates a VPC
39+

‎docs/stackit_alpha_vpc_create.md‎

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
## stackit alpha vpc create
2+
3+
Creates a VPC
4+
5+
### Synopsis
6+
7+
Creates a VPC.
8+
VPC can only be used in projects with enabled VPC.
9+
10+
```
11+
stackit alpha vpc create [flags]
12+
```
13+
14+
### Examples
15+
16+
```
17+
Create a vpc with name "my-vpc"
18+
$ stackit alpha vpc create --name my-vpc
19+
```
20+
21+
### Options
22+
23+
```
24+
--description string Description of the VPC
25+
-h, --help Help for "stackit alpha vpc create"
26+
--labels stringToString Comma separated list of labels of the VPC (default [])
27+
--name string Name of the VPC
28+
```
29+
30+
### Options inherited from parent commands
31+
32+
```
33+
-y, --assume-yes If set, skips all confirmation prompts
34+
--async If set, runs the command asynchronously
35+
-o, --output-format string Output format, (one of: [json, pretty, none, yaml])
36+
-p, --project-id string Project ID
37+
--region string Target region for region-specific requests
38+
--verbosity string Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")
39+
```
40+
41+
### SEE ALSO
42+
43+
* [stackit alpha vpc](./stackit_alpha_vpc.md) - Manages vpcs
44+

0 commit comments

Comments
 (0)