Skip to content

Commit bc51f0b

Browse files
authored
Merge branch 'main' into statefulchart-fix
2 parents e8cc75e + e6626aa commit bc51f0b

26 files changed

+1595
-1465
lines changed

CHANGELOG/release-notes-v1.8.2.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## v1.8.2
2+
3+
## Enhancements
4+
- feat: linked ci should have artifacts of parent ci (#6836)
5+
## Bugs
6+
- fix: clear cached reference charts for Deployment chart versions 4.18.0, 4.19.0, 1.0.0, and 1.1.0 (#6841)
7+
- fix: Custom chart with dependencies are not working in Devtron Applications (#6834)
8+
- fix: Terraform plugin fix in v1.0.1 (#6830)
9+
## Others
10+
- misc: Api specs and validations added (#6807)
11+
12+

charts/devtron/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: devtron-operator
3-
appVersion: 1.8.1
3+
appVersion: 1.8.2
44
description: Chart to configure and install Devtron. Devtron is a Kubernetes Orchestration system.
55
keywords:
66
- Devtron
@@ -11,7 +11,7 @@ keywords:
1111
- argocd
1212
- Hyperion
1313
engine: gotpl
14-
version: 0.22.97
14+
version: 0.22.98
1515
sources:
1616
- https://github.com/devtron-labs/charts
1717
dependencies:

charts/devtron/devtron-bom.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ global:
1515
PG_DATABASE: orchestrator
1616
extraManifests: []
1717
installer:
18-
release: "v1.8.1"
18+
release: "v1.8.2"
1919
registry: ""
2020
image: "inception"
2121
tag: "473deaa4-185-21582"
@@ -41,13 +41,13 @@ components:
4141
FEATURE_CODE_MIRROR_ENABLE: "true"
4242
FEATURE_GROUPED_APP_LIST_FILTERS_ENABLE: "true"
4343
registry: ""
44-
image: "dashboard:6618ce43-690-36167"
44+
image: "dashboard:b00aa204-690-36533"
4545
imagePullPolicy: IfNotPresent
4646
healthPort: 8080
4747
devtron:
4848
registry: ""
49-
image: "hyperion:1ae65fbb-280-36074"
50-
cicdImage: "devtron:1ae65fbb-434-36069"
49+
image: "hyperion:261df88d-280-36531"
50+
cicdImage: "devtron:261df88d-434-36530"
5151
imagePullPolicy: IfNotPresent
5252
customOverrides: {}
5353
podSecurityContext:
@@ -117,7 +117,7 @@ components:
117117
image: postgres_exporter:v0.10.1
118118
gitsensor:
119119
registry: ""
120-
image: "git-sensor:880420ac-200-36032"
120+
image: "git-sensor:b82f5fdb-200-36532"
121121
imagePullPolicy: IfNotPresent
122122
serviceMonitor:
123123
enabled: false

charts/devtron/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ nfs:
4242
extraManifests: []
4343
installer:
4444
repo: "devtron-labs/devtron"
45-
release: "v1.8.1"
45+
release: "v1.8.2"
4646
registry: ""
4747
image: inception
4848
tag: 473deaa4-185-21582
@@ -97,13 +97,13 @@ components:
9797
FEATURE_CODE_MIRROR_ENABLE: "true"
9898
FEATURE_GROUPED_APP_LIST_FILTERS_ENABLE: "true"
9999
registry: ""
100-
image: "dashboard:6618ce43-690-36167"
100+
image: "dashboard:b00aa204-690-36533"
101101
imagePullPolicy: IfNotPresent
102102
healthPort: 8080
103103
devtron:
104104
registry: ""
105-
image: "hyperion:1ae65fbb-280-36074"
106-
cicdImage: "devtron:1ae65fbb-434-36069"
105+
image: "hyperion:261df88d-280-36531"
106+
cicdImage: "devtron:261df88d-434-36530"
107107
imagePullPolicy: IfNotPresent
108108
customOverrides: {}
109109
healthPort: 8080
@@ -200,7 +200,7 @@ components:
200200
volumeSize: "20Gi"
201201
gitsensor:
202202
registry: ""
203-
image: "git-sensor:880420ac-200-36032"
203+
image: "git-sensor:b82f5fdb-200-36532"
204204
imagePullPolicy: IfNotPresent
205205
serviceMonitor:
206206
enabled: false

devtron-images.txt.source

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ quay.io/devtron/chart-sync:880420ac-836-36037
1111
quay.io/devtron/ci-runner:880420ac-138-36030
1212
quay.io/devtron/clair:4.3.6
1313
quay.io/devtron/curl:7.73.0
14-
quay.io/devtron/dashboard:6618ce43-690-36167
14+
quay.io/devtron/dashboard:b00aa204-690-36533
1515
quay.io/devtron/devtron-utils:dup-chart-repo-v1.1.0
16-
quay.io/devtron/devtron:1ae65fbb-434-36069
16+
quay.io/devtron/devtron:261df88d-434-36530
1717
quay.io/devtron/dex:v2.30.2
18-
quay.io/devtron/git-sensor:880420ac-200-36032
18+
quay.io/devtron/git-sensor:b82f5fdb-200-36532
1919
quay.io/devtron/grafana:7.3.1
20-
quay.io/devtron/hyperion:1ae65fbb-280-36074
20+
quay.io/devtron/hyperion:261df88d-280-36531
2121
quay.io/devtron/image-scanner:f21e02cb-141-34534
2222
quay.io/devtron/inception:473deaa4-185-21582
2323
quay.io/devtron/k8s-sidecar:1.1.0

env_gen.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

env_gen.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@
187187
| ECR_REPO_NAME_PREFIX | string |test/ | Prefix for ECR repo to be created in does not exist | | false |
188188
| ENABLE_ASYNC_ARGO_CD_INSTALL_DEVTRON_CHART | bool |false | To enable async installation of gitops application | | false |
189189
| ENABLE_ASYNC_INSTALL_DEVTRON_CHART | bool |false | To enable async installation of no-gitops application | | false |
190+
| ENABLE_LINKED_CI_ARTIFACT_COPY | bool |false | Enable copying artifacts from parent CI pipeline to linked CI pipeline during creation | | false |
190191
| EPHEMERAL_SERVER_VERSION_REGEX | string |v[1-9]\.\b(2[3-9]\|[3-9][0-9])\b.* | ephemeral containers support version regex that is compared with k8sServerVersion | | false |
191192
| EVENT_URL | string |http://localhost:3000/notify | Notifier service url | | false |
192193
| EXECUTE_WIRE_NIL_CHECKER | bool |false | checks for any nil pointer in wire.go | | false |
@@ -225,6 +226,7 @@
225226
| LENS_URL | string |http://lens-milandevtron-service:80 | Lens micro-service URL | | false |
226227
| LIMIT_CI_CPU | string |0.5 | | | false |
227228
| LIMIT_CI_MEM | string |3G | | | false |
229+
| LINKED_CI_ARTIFACT_COPY_LIMIT | int |10 | Maximum number of artifacts to copy from parent CI pipeline to linked CI pipeline | | false |
228230
| LOGGER_DEV_MODE | bool |false | Enables a different logger theme. | | false |
229231
| LOG_LEVEL | int |-1 | | | false |
230232
| MAX_SESSION_PER_USER | int |5 | max no of cluster terminal pods can be created by an user | | false |

internal/sql/repository/CiArtifactRepository.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ type CiArtifactRepository interface {
124124
GetArtifactsByCDPipelineAndRunnerType(cdPipelineId int, runnerType bean.WorkflowType) ([]CiArtifact, error)
125125
SaveAll(artifacts []*CiArtifact) ([]*CiArtifact, error)
126126
GetArtifactsByCiPipelineId(ciPipelineId int) ([]CiArtifact, error)
127+
GetLatestArtifactsByCiPipelineId(ciPipelineId, limit int) ([]CiArtifact, error)
127128
GetArtifactsByCiPipelineIds(ciPipelineIds []int) ([]CiArtifact, error)
128129
FinDByParentCiArtifactAndCiId(parentCiArtifact int, ciPipelineIds []int) ([]*CiArtifact, error)
129130
GetLatest(cdPipelineId int) (int, error)
@@ -680,6 +681,19 @@ func (impl CiArtifactRepositoryImpl) GetArtifactsByCiPipelineId(ciPipelineId int
680681
return artifacts, err
681682
}
682683

684+
func (impl CiArtifactRepositoryImpl) GetLatestArtifactsByCiPipelineId(ciPipelineId, limit int) ([]CiArtifact, error) {
685+
var artifacts []CiArtifact
686+
err := impl.dbConnection.
687+
Model(&artifacts).
688+
Column("ci_artifact.*").
689+
Join("INNER JOIN ci_pipeline cp on cp.id=ci_artifact.pipeline_id").
690+
Where("ci_artifact.pipeline_id = ?", ciPipelineId).
691+
Where("cp.deleted = ?", false).
692+
Order("ci_artifact.id DESC").Limit(limit).
693+
Select()
694+
return artifacts, err
695+
}
696+
683697
func (impl CiArtifactRepositoryImpl) GetArtifactsByCiPipelineIds(ciPipelineIds []int) ([]CiArtifact, error) {
684698
var artifacts []CiArtifact
685699
if len(ciPipelineIds) == 0 {

manifests/install/devtron-installer.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ metadata:
44
name: installer-devtron
55
namespace: devtroncd
66
spec:
7-
url: https://raw.githubusercontent.com/devtron-labs/devtron/v1.8.1/manifests/installation-script
7+
url: https://raw.githubusercontent.com/devtron-labs/devtron/v1.8.2/manifests/installation-script

manifests/installation-script

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LTAG="v1.8.1";
1+
LTAG="v1.8.2";
22
REPO_RAW_URL="https://raw.githubusercontent.com/devtron-labs/devtron/";
33
shebang = `#!/bin/bash
44
`;

0 commit comments

Comments
 (0)