Skip to content
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

Create test branch from release candidate #798

Merged
merged 4 commits into from
Feb 3, 2022
Merged

Create test branch from release candidate #798

merged 4 commits into from
Feb 3, 2022

Conversation

shammowla
Copy link
Collaborator

The production test workflow are using automated tests provided by test branches created from tags. Updated workflow to create a test branch prior to release.

Description

Related Issue

Motivation and Context

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Improvement (non-breaking change which does not add functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully.

@jfkhoury
Copy link
Contributor

Thank you for the description!

@jfkhoury jfkhoury requested a review from liljenback January 25, 2022 17:32
Copy link
Contributor

@jfkhoury jfkhoury left a comment

Choose a reason for hiding this comment

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

Looks good @shammowla but I will let Jon and Martin verify.

Copy link
Contributor

@jonsnyder jonsnyder left a comment

Choose a reason for hiding this comment

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

I see you found a workflow job to create the branch. This could work instead of the javascript changes I suggested, but you need to put it into the deployRelease workflow, and setup the dependencies correctly.

validate -> release -> createTestBranch -> record
________`---------->prerelease -----------/

@shammowla
Copy link
Collaborator Author

@jonsnyder I moved the job to the deployRelease workflow.

@shammowla
Copy link
Collaborator Author

@jonsnyder made the changes we discussed.

createTestBranch:
name: Create test branch from release tag
runs-on: ubuntu-latest
needs: validate
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be needs: release, and then move this job below release for consistency.

@shammowla shammowla merged commit af8fd3f into main Feb 3, 2022
@shammowla shammowla deleted the testbranch branch February 3, 2022 16:38
@github-actions github-actions bot mentioned this pull request Mar 7, 2022
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.

3 participants