Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-targets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
build:
name: Build Code Editor Targets
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
strategy:
matrix:
build-target: [code-editor-server, code-editor-sagemaker-server, code-editor-web-embedded, code-editor-web-embedded-with-terminal]
Expand Down
12 changes: 12 additions & 0 deletions .github/workflows/update-automation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,18 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"

- name: Setup swap
run: |
# Remove existing swap if present
sudo swapoff -a || true
sudo rm -f /swapfile /mnt/swapfile || true
# Create new swap
sudo fallocate -l 12G /mnt/swapfile
sudo chmod 600 /mnt/swapfile
sudo mkswap /mnt/swapfile
sudo swapon /mnt/swapfile
free -h

- name: Build target
env:
Expand Down
1,067 changes: 294 additions & 773 deletions LICENSE-THIRD-PARTY

Large diffs are not rendered by default.

19 changes: 13 additions & 6 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,25 @@ We use major.minor branches (e.g., `1.0`, `1.1`, `2.1`) for releases.

### Release Process

1. **Determine version**: Choose tag name based on the commit's branch
1. **Determine Code Editor Version**: Choose tag name based on the commit's branch
- Tag format: `major.minor.patch` matching the branch the commit belongs to
- Example: Commit on `1.0` branch → tag `1.0.0`, `1.0.1`, etc.
- Pre-release candidates have a tag suffix as `rc.{release_candidate_version}`. For example `1.0.4-rc.1` or `1.0.4-rc.2`.

2. **Create tag**: Choose one of these methods:
2. **Determine SageMaker Code Editor Version**:
- Get in touch with the SageMaker team to decide what SageMaker version needs to be used for the latest release.
- Hard-code that version in the patch `patches/sagemaker/display-both-versions-in-about.diff` in `product.json`.


3. **Create release**:
- **Command line**: Push tag to trigger release workflow
```bash
git tag 1.0.0
git push origin 1.0.0
```
- **GitHub Actions**: Manually run "Create release" workflow from Actions tab
- **GitHub UI**: Go to Releases → Create a new release

3. **Release notes**: Include code-oss version information in the release description
- The workflow will:
- Fetch build artifacts for that commit
- Inject Code Editor version from the release tag into product.json
- Create GitHub release

4. **Release notes**: Include code-oss version and Sagemaker Code Editor Version information in the release description. Release description can be edited once the release workflow creates the release.
5 changes: 4 additions & 1 deletion build-tools/oss-attribution/excluded-packages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"code-oss-dev@1.101.2": "UNLICENSED",
"jschardet@3.1.4": "LGPL-2.1-or-later"
"jschardet@3.1.4": "LGPL-2.1-or-later",
"chownr@3.0.0": "BlueOak-1.0.0",
"tar@7.5.4": "BlueOak-1.0.0",
"yallist@5.0.0": "BlueOak-1.0.0"
}
1,067 changes: 294 additions & 773 deletions overrides/LICENSE-THIRD-PARTY

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock-overrides/sagemaker.series/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package-lock-overrides/web-server.series/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

158 changes: 0 additions & 158 deletions patches/common/adopt-new-proxy-agent.diff

This file was deleted.

Loading