Skip to content

Commit

Permalink
Merge branch 'main' into sg-next-jan1-2025
Browse files Browse the repository at this point in the history
  • Loading branch information
MaedahBatool authored Jan 20, 2025
2 parents c61b503 + 4076bea commit 56eb3bc
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/admin/deploy/kubernetes/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ data:
password: ""
port: ""
user: ""
pgsslmode: "require" # optional, enable if using SSL
---
apiVersion: v1
kind: Secret
Expand All @@ -115,6 +116,7 @@ data:
password: ""
port: ""
user: ""
pgsslmode: "require" # optional, enable if using SSL
---
apiVersion: v1
kind: Secret
Expand All @@ -127,6 +129,7 @@ data:
password: ""
port: ""
user: ""
pgsslmode: "require" # optional, enable if using SSL
```
The above Secrets should be deployed to the same namespace as the existing Sourcegraph deployment.
Expand Down Expand Up @@ -163,6 +166,7 @@ pgsql:
user: "new-user"
password: "new-password"
port: "5432"
pgsslmode: "require" # optional, enable if using SSL
```

#### Using external Redis instances
Expand Down
19 changes: 19 additions & 0 deletions docs/admin/executors/executors_troubleshooting.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -242,3 +242,22 @@ Tells us that the Pod cannot be scheduled because the pod affinity rules (`EXECU
configured do not match any nodes.

In this case, the `EXECUTOR_KUBERNETES_POD_AFFINITY` needs to be modified to correctly target the node.

### Executor Job failure issues

If you see below errors for executor jobs:

Codeintel
```Index failed to index: Running command "step.kubernetes.pre-index.0": job sg-executor-job-codeintel-111877 failed: Usage of EmptyDir volume "job-data" exceeds the limit "5Gi".```

Batch Changes
```"step.kubernetes.step.0.pre": job sg-executor-job-batches-91562 failed: Usage of EmptyDir volume "job-data" exceeds the limit "5Gi".```

Update the below variables in the respective executor's deployment file to increase EmptyDir volume "job-data" storage. In this example, ```KUBERNETES_JOB_VOLUME_SIZE``` is set to 20Gi, but you can tweak it as per your requirement.

```
- name: KUBERNETES_JOB_VOLUME_TYPE value: emptyDir
- name: KUBERNETES_JOB_VOLUME_SIZE value: 20Gi
```

```KUBERNETES_JOB_VOLUME_TYPE``` can be either set to ```emptyDir``` or ```pvc``` and if it’s not set, the default is ```emptyDir```
1 change: 1 addition & 0 deletions docs/releases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Currently supported versions of Sourcegraph:

| **Release** | **General Availability Date** | **Supported** | **Release Notes** | **Install** |
|--------------|-------------------------------|---------------|--------------------------------------------------------------------|------------------------------------------------------|
| 5.11 Patch 4 | January 2025 || [Notes](https://sourcegraph.com/docs/technical-changelog#v5114013) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 5.11 Patch 3 | January 2025 || [Notes](https://sourcegraph.com/docs/technical-changelog#v5114013) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 5.11 Patch 2 | January 2025 || [Notes](https://sourcegraph.com/docs/technical-changelog#v5113601) | [Install](https://sourcegraph.com/docs/admin/deploy) |
| 5.11 Patch 1 | January 2025 || [Notes](https://sourcegraph.com/docs/technical-changelog#v5112732) | [Install](https://sourcegraph.com/docs/admin/deploy) |
Expand Down
38 changes: 38 additions & 0 deletions docs/technical-changelog.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,44 @@ This page documents all notable changes to Sourcegraph. For more detailed change

{/* CHANGELOG_START */}

# 5.11 Patch 4

## v5.11.5234

- [sourcegraph](https://github.com/sourcegraph/sourcegraph/releases/tag/v5.11.5234)

- [docker-compose](https://github.com/sourcegraph/deploy-sourcegraph-docker/releases/tag/v5.11.5234)

- [helm](https://github.com/sourcegraph/deploy-sourcegraph-helm/releases/tag/v5.11.5234)

- [kustomize](https://github.com/sourcegraph/deploy-sourcegraph-k8s/releases/tag/v5.11.5234)

### Features

#### Perforce

- Use depot name for label cache `(PR #2805)`

### Fix

#### Source

- Possible Perforce changelists are now converted to their respective git commit during ResolveRevision `(PR #2825)`

### Reverts

There were no reverts for this release

### Uncategorized

#### Others

- [Manual Backport]: update shellcheck to 0.10.0 `(PR #2838)`
- NA

{/* RSS={"version":"v5.11.5234", "releasedAt": "2025-01-17"} */}


# 5.11 Patch 3

## v5.11.4013
Expand Down

0 comments on commit 56eb3bc

Please sign in to comment.