Skip to content

Commit b1acd5d

Browse files
authored
Merge pull request #391 from kloudlite/feat/msvc-plugins
Feat/msvc plugins [Github PR](#391)
2 parents c89876b + 313797c commit b1acd5d

File tree

111 files changed

+52002
-40798
lines changed

Some content is hidden

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

111 files changed

+52002
-40798
lines changed

.github/workflows/building-with-nix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: auth-api
3838
- name: comms-api
3939
- name: console-api
40-
- name: container-registry-api
40+
# - name: container-registry-api
4141
- name: gateway-api
4242
- name: iam-api
4343
- name: infra-api
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: update-flake-lock
2+
on:
3+
workflow_dispatch: # allows manual triggering
4+
schedule:
5+
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
6+
7+
jobs:
8+
lockfile:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Install Nix
15+
uses: DeterminateSystems/nix-installer-action@main
16+
17+
- name: Update flake.lock
18+
uses: DeterminateSystems/update-flake-lock@main
19+
with:
20+
pr-title: "Updates flake.lock" # Title of PR to be created
21+
pr-labels: | # Labels to be set on the PR
22+
dependencies
23+
nix

.tools/nvim/__http__/console/configs.graphql.yml

Lines changed: 66 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,77 @@ global:
55

66
label: List Configs
77
query: |+ #graphql
8-
query Core_listConfigs($projectName: String!, $envName: String!) {
9-
core_listConfigs(projectName: $projectName, envName: $envName) {
10-
edges {
11-
cursor
12-
node {
13-
creationTime
14-
accountName
15-
apiVersion
16-
kind
17-
metadata {
18-
name
19-
namespace
20-
generation
21-
}
22-
syncStatus {
23-
state
24-
error
25-
recordVersion
26-
action
27-
lastSyncedAt
28-
}
29-
recordVersion
30-
}
8+
query Core_listConfigs($envName: String!) {
9+
core_listConfigs(envName: $envName) {
10+
edges {
11+
node {
12+
data
3113
}
32-
pageInfo {
33-
endCursor
34-
hasNextPage
35-
hasPreviousPage
36-
startCursor
37-
}
38-
totalCount
14+
}
3915
}
4016
}
4117
variables:
42-
projectName: "{{.projectName}}"
4318
envName: "{{.envName}}"
19+
20+
---
21+
---
22+
label: testing
23+
query: |+ #graphql
24+
query Core_getConfigValues(
25+
$envName: String!
26+
$configQueries: [ConfigKeyRefIn!]
27+
$secretQueries: [SecretKeyRefIn!]
28+
$mresQueries: [SecretKeyRefIn!]
29+
) {
30+
configs: core_getConfigValues(
31+
envName: $envName
32+
queries: $configQueries
33+
) {
34+
configName
35+
key
36+
value
37+
}
38+
secrets: core_getSecretValues(
39+
envName: $envName
40+
queries: $secretQueries
41+
) {
42+
key
43+
secretName
44+
value
45+
}
46+
mreses: core_getSecretValues(envName: $envName, queries: $mresQueries) {
47+
key
48+
secretName
49+
value
50+
}
51+
}
52+
variables:
53+
# envName: "{{ .envName }}"
54+
# envName: "nxt17-env-1"
55+
# configQueries:
56+
# - configName: cfg-1
57+
# key: k1
58+
# secretQueries:
59+
# - secretName: secret-1
60+
# key: k1
61+
# mresQueries: []
62+
{
63+
"configQueries": [
64+
{
65+
"configName": "cfg-1",
66+
"key": "k1"
67+
}
68+
],
69+
"envName": "nxt17-env-1",
70+
"mresQueries": null,
71+
"secretQueries": [
72+
{
73+
"key": "k1",
74+
"secretName": "secret-1"
75+
}
76+
]
77+
}
78+
4479
---
4580

4681
label: Create Config

.tools/nvim/__http__/console/environments.graphql.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ query: |+ #graphql
3232
mode
3333
}
3434
}
35+
status {
36+
isReady
37+
checkList {
38+
name
39+
}
40+
}
3541
syncStatus {
3642
state
3743
error
Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
---
2+
global:
3+
envName: nxt-1
4+
helmchartName: "sample-helm"
5+
---
6+
7+
label: List Helm Charts
8+
query: |+ #graphql
9+
query Core_listHelmCharts($envName: String!) {
10+
core_listHelmCharts(envName: $envName) {
11+
totalCount
12+
edges {
13+
node {
14+
kind
15+
metadata {
16+
name
17+
namespace
18+
}
19+
status {
20+
isReady
21+
checks
22+
}
23+
}
24+
}
25+
pageInfo {
26+
hasNextPage
27+
}
28+
}
29+
}
30+
variables:
31+
envName: "{{.envName}}"
32+
33+
---
34+
35+
label: Create Helm Chart
36+
query: |+ #graphql
37+
mutation Core_createHelmChart($envName: String!, $helmchart: HelmChartIn!) {
38+
core_createHelmChart(envName: $envName, helmchart: $helmchart) {
39+
accountName
40+
apiVersion
41+
createdBy {
42+
userEmail
43+
userId
44+
userName
45+
}
46+
creationTime
47+
displayName
48+
environmentName
49+
id
50+
kind
51+
lastUpdatedBy {
52+
userEmail
53+
userId
54+
userName
55+
}
56+
markedForDeletion
57+
metadata {
58+
annotations
59+
creationTimestamp
60+
deletionTimestamp
61+
generation
62+
labels
63+
name
64+
namespace
65+
}
66+
recordVersion
67+
spec {
68+
chartName
69+
chartRepoURL
70+
chartVersion
71+
jobVars {
72+
backOffLimit
73+
nodeSelector
74+
tolerations {
75+
effect
76+
key
77+
operator
78+
tolerationSeconds
79+
value
80+
}
81+
}
82+
postInstall
83+
postUninstall
84+
preInstall
85+
preUninstall
86+
releaseName
87+
values
88+
}
89+
status {
90+
checkList {
91+
debug
92+
description
93+
hide
94+
name
95+
title
96+
}
97+
checks
98+
isReady
99+
lastReadyGeneration
100+
lastReconcileTime
101+
message {
102+
RawMessage
103+
}
104+
releaseNotes
105+
releaseStatus
106+
resources {
107+
apiVersion
108+
kind
109+
name
110+
namespace
111+
}
112+
}
113+
syncStatus {
114+
action
115+
error
116+
lastSyncedAt
117+
recordVersion
118+
state
119+
syncScheduledAt
120+
}
121+
updateTime
122+
}
123+
}
124+
variables:
125+
envName: "{{.envName}}"
126+
helmchart:
127+
displayName: "sample helm"
128+
metadata:
129+
name: "sample-helm"
130+
spec:
131+
chartRepoURL: "https://nxtcoder17.github.io/helm-charts"
132+
chartVersion: v1.0.0
133+
chartName: playground
134+
values: {}
135+
---
136+
137+
label: Update Helm Chart
138+
query: |+ #graphql
139+
mutation Core_updateHelmChart($envName: String!, $helmchart: HelmChartIn!) {
140+
core_updateHelmChart(envName: $envName, helmchart: $helmchart) {
141+
spec {
142+
chartName
143+
chartRepoURL
144+
chartVersion
145+
146+
values
147+
}
148+
}
149+
}
150+
variables:
151+
envName: "{{.envName}}"
152+
helmchart:
153+
displayName: "udpated helm chart"
154+
metadata:
155+
name: "sample-helm"
156+
spec:
157+
chartRepoURL: "https://nxtcoder17.github.io/helm-charts"
158+
chartVersion: v1.0.0
159+
chartName: playground
160+
values:
161+
hi: hello
162+
163+
---
164+
165+
label: Delete Helm Chart
166+
query: |+ #graphql
167+
mutation Core_deleteHelmChart($envName: String!, $helmChartName: String!) {
168+
core_deleteHelmChart(envName: $envName, helmChartName: $helmChartName)
169+
}
170+
variables:
171+
envName: "{{.envName}}"
172+
helmChartName: "{{.helmchartName}}"
173+
174+
---
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
label: List Managed Service Plugins
3+
query: |+ #graphql
4+
mutation Core_listManagedServicePlugins {
5+
core_listManagedServicePlugins {
6+
category
7+
items {
8+
meta {
9+
logo
10+
}
11+
plugin
12+
spec {
13+
apiVersion
14+
services {
15+
active
16+
description
17+
inputs {
18+
defaultValue
19+
displayUnit
20+
type
21+
label
22+
max
23+
min
24+
multiplier
25+
input
26+
required
27+
unit
28+
}
29+
kind
30+
resources {
31+
description
32+
kind
33+
}
34+
}
35+
}
36+
}
37+
}
38+
}
39+
variables: {}
40+
---
41+

0 commit comments

Comments
 (0)