Skip to content

Commit a9d7ef0

Browse files
committed
Merge branch 'develop' of github.com:devtron-labs/dashboard into feat/grouped-filter-select-picker
2 parents e2f0b76 + 33acdb0 commit a9d7ef0

File tree

133 files changed

+4549
-3938
lines changed

Some content is hidden

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

133 files changed

+4549
-3938
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,5 @@ FEATURE_MANAGE_TRAFFIC_ENABLE=false
7474
FEATURE_REDFISH_NODE_ENABLE=false
7575
FEATURE_INFRA_PROVISION_INFO_BLOCK_HIDE=false
7676
FEATURE_GROUPED_APP_LIST_FILTERS_ENABLE=false
77+
FEATURE_FLUX_DEPLOYMENTS_ENABLE=false
78+
FEATURE_LINK_EXTERNAL_FLUX_ENABLE=false

.eslintignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ src/components/common/hooks/__tests__/FileReader.test.tsx
238238
src/components/common/icons/Icons.tsx
239239
src/components/common/lineChart/lineChart.tsx
240240
src/components/common/navigation/Navigation.tsx
241-
src/components/common/navigation/NavigationRoutes.tsx
242241
src/components/dockerRegistry/Docker.tsx
243242
src/components/dockerRegistry/ManageRegistry.tsx
244243
src/components/dockerRegistry/service.tsx

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ RUN yarn install --immutable --network-timeout 600000
1515

1616
COPY . .
1717

18-
RUN echo `git rev-parse --short HEAD` > health.html && \
18+
RUN echo `git rev-parse --short=9 HEAD` > health.html && \
1919
echo "" >> .env && \
20-
echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short HEAD)" >> .env && \
20+
echo "SENTRY_RELEASE_VERSION=dashboard@$(git rev-parse --short=9 HEAD)" >> .env && \
2121
yarn build
2222

2323
FROM fholzer/nginx-brotli:v1.26.2
@@ -33,7 +33,6 @@ COPY ./nginx-default.conf /etc/nginx/conf.d/default.conf
3333

3434
WORKDIR /usr/share/nginx/html
3535

36-
3736
COPY --from=builder /app/env.sh .
3837
COPY --from=builder /app/.env .
3938
COPY --from=builder /app/health.html .

config.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,7 @@
5050
| FEATURE_USER_DEFINED_GITOPS_REPO_ENABLE | false | If enabled user can pass the manual gitops repo |
5151
| SENTRY_RELEASE_VERSION | | Sentry release Version |
5252
| LOGIN_PAGE_IMAGE | | Login page image url |
53+
| FEATURE_FLUX_DEPLOYMENTS_ENABLE | false | Enables flux cd deployment type for devtron apps and devtron charts |
54+
| FEATURE_LINK_EXTERNAL_FLUX_ENABLE | false | Enables external flux cd migration |
5355

5456
# DASHBOARD CONFIG SECRET

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
display: flex;
3939
justify-content: center;
4040
align-items: center;
41+
/* cannot use --bg-primary here, so using rgb */
42+
background: rgb(30, 31, 40);
4143
"
4244
>
4345
<svg width="80" height="80" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">

nginx.conf

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ http {
2020
#tcp_nopush on;
2121
keepalive_timeout 65;
2222

23-
# gzip compression
2423
gzip on;
2524
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
2625
gzip_vary on;
@@ -29,10 +28,9 @@ http {
2928
gzip_comp_level 6;
3029
gzip_static on;
3130

32-
# btrotli compression
33-
brotli on;
31+
brotli off;
3432
brotli_comp_level 6;
35-
brotli_static on;
33+
brotli_static on; # enabling this will ensure to serve pre-compressed file only
3634
brotli_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript image/svg+xml;
3735

3836
include /etc/nginx/conf.d/*.conf;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"homepage": "/dashboard",
66
"dependencies": {
7-
"@devtron-labs/devtron-fe-common-lib": "1.16.0-pre-2",
7+
"@devtron-labs/devtron-fe-common-lib": "1.17.0-pre-0",
88
"@esbuild-plugins/node-globals-polyfill": "0.2.3",
99
"@rjsf/core": "^5.13.3",
1010
"@rjsf/utils": "^5.13.3",

src/App.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ const App = () => {
178178
<div className={customThemeClassName}>
179179
<Suspense fallback={null}>
180180
{validating ? (
181-
<div className="full-height-width">
182-
<DevtronProgressing parentClasses="h-100 flex bg__primary" classes="icon-dim-80" />
183-
</div>
181+
<DevtronProgressing parentClasses="full-height-width flex bg__primary" classes="icon-dim-80" />
184182
) : (
185183
renderRoutesWithErrorBoundary()
186184
)}

src/Pages/App/Configurations/WorkflowEditor/CDPipelineDeploymentAppType/CDPipelineDeploymentAppType.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ export const CDPipelineDeploymentAppType = ({
3434
isGitOpsRepoNotConfigured={isGitOpsRepoNotConfigured}
3535
gitOpsRepoConfigInfoBar={gitOpsRepoConfigInfoBar}
3636
areGitopsCredentialsConfigured={!isGitOpsInstalledButNotConfigured}
37+
// Want to show this when gitops module is installed, does not matter if it is configured or not
38+
showGitOpsOption={!noGitOpsModuleInstalledAndConfigured || isGitOpsInstalledButNotConfigured}
3739
/>
3840
</div>
3941
)

src/Pages/App/Configurations/WorkflowEditor/CreateCICDPipeline/CreateCICDPipeline.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export const CreateCICDPipeline = ({
113113
}
114114
}
115115

116-
if (deploymentAppType === DeploymentAppTypes.GITOPS && isGitOpsInstalledButNotConfigured) {
116+
if (deploymentAppType === DeploymentAppTypes.ARGO && isGitOpsInstalledButNotConfigured) {
117117
ToastManager.showToast({
118118
variant: ToastVariantType.error,
119119
title: 'GitOps credentials not configured',

0 commit comments

Comments
 (0)