Skip to content

Automate Tarball Release and Publish to Conda-Forge #141

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: 1.6
Choose a base branch
from

Conversation

harvenstar
Copy link

Issue #, if available:

Description of changes:

This PR introduces automation for the release workflow of the SageMaker Code Editor tarball, as well as publishing to conda-forge:

The package and tarball are now versioned according to a defined versioning strategy.
Tarball generation is triggered automatically upon creation of a version tag via GitHub Actions.
A new GitHub Action is added to create a pull request for conda-forge feedstock, updating it with the latest tarball version.
The design documentation is updated to describe the versioning strategy, tarball generation, and conda-forge update process.
This automation streamlines the release cycle and minimizes manual intervention for both artifact generation and conda-forge publication.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds GitHub Actions workflows to automate the versioned release of the SageMaker Code Editor tarball and to publish updates to the conda-forge feedstock.

  • Introduces a release.yml workflow triggered on version tag pushes to build a tarball, publish a GitHub Release, and update the conda-forge feedstock.
  • Adds a codebuild-ci.yml workflow to run AWS CodeBuild checks on pull requests against main.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yml New automated release workflow for tarball build/publish and feedstock updates
.github/workflows/codebuild-ci.yml New pull-request CI workflow invoking AWS CodeBuild
Comments suppressed due to low confidence (4)

.github/workflows/release.yml:5

  • [nitpick] This comment refers to the main branch but the trigger is on tag pushes; please update it to describe that the workflow runs on tag pushes (e.g., "Triggers on version tag pushes").
  # Triggers the workflow on updates to the "main" branch which include a version tag

.github/workflows/release.yml:71

  • [nitpick] Hard-coding the workspace path may break if the repository name or workspace root changes; consider using the $GITHUB_WORKSPACE environment variable instead of a fixed path.
          git config --global --add safe.directory /__w/sagemaker-code-editor/sagemaker-code-editor

.github/workflows/release.yml:130

  • [nitpick] This comment is duplicated immediately above; please remove the redundant line to keep the file concise.
            # Updates the meta.yaml file in the cloned feedstock repository

.github/workflows/codebuild-ci.yml:30

  • The source-version-override syntax with head^{...} may not be interpreted correctly by CodeBuild; consider specifying either the PR ref (refs/pull/.../head) or directly using the commit SHA without the ^{} notation.
          source-version-override: 'refs/pull/${{ github.event.pull_request.number }}/head^{${{ github.event.pull_request.head.sha }}}'

@harvenstar harvenstar requested a review from aws-prayags July 7, 2025 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant