Skip to content

Commit

Permalink
misc: capture Semaphore PR number (#29314)
Browse files Browse the repository at this point in the history
* feat: capture Semaphore PR number

* Update changelog

* Update cli/CHANGELOG.md

* Fix test

* Update cli/CHANGELOG.md

* Update cli/CHANGELOG.md

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
  • Loading branch information
3 people committed Apr 15, 2024
1 parent 897ef4c commit 5a8618f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
<!-- See the ../guides/writing-the-cypress-changelog.md for details on writing the changelog. -->
## 13.7.4

_Released 4/16/2024 (PENDING)_

**Misc:**

- We now capture the [Semaphore](https://semaphoreci.com/) CI provider's environment variable [`SEMAPHORE_GIT_PR_NUMBER`](https://docs.semaphoreci.com/ci-cd-environment/environment-variables/#semaphore_git_pr_number) to display the linked PR number in the Cloud. Addressed in [#29314](https://github.com/cypress-io/cypress/pull/29314).

## 13.7.3

_Released 4/11/2024_
Expand Down
1 change: 1 addition & 0 deletions packages/server/lib/util/ci_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ const _providerCiParams = () => {
'SEMAPHORE_EXECUTABLE_UUID',
'SEMAPHORE_GIT_BRANCH',
'SEMAPHORE_GIT_DIR',
'SEMAPHORE_GIT_PR_NUMBER',
'SEMAPHORE_GIT_REF',
'SEMAPHORE_GIT_REF_TYPE',
'SEMAPHORE_GIT_REPO_SLUG',
Expand Down
2 changes: 2 additions & 0 deletions packages/server/test/unit/util/ci_provider_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ describe('lib/util/ci_provider', () => {
SEMAPHORE_GIT_BRANCH: 'show-semaphore-v2-266',
SEMAPHORE_GIT_WORKING_BRANCH: 'show-semaphore-v2-266',
SEMAPHORE_GIT_DIR: 'cypress-example-kitchensink',
SEMAPHORE_GIT_PR_NUMBER: '1',
SEMAPHORE_GIT_REF: 'refs/heads/show-semaphore-v2-266',
SEMAPHORE_GIT_REF_TYPE: 'branch',
SEMAPHORE_GIT_REPO_SLUG: 'cypress-io/cypress-example-kitchensink',
Expand Down Expand Up @@ -937,6 +938,7 @@ describe('lib/util/ci_provider', () => {
semaphoreGitBranch: 'show-semaphore-v2-266',
semaphoreGitWorkingBranch: 'show-semaphore-v2-266',
semaphoreGitDir: 'cypress-example-kitchensink',
semaphoreGitPrNumber: '1',
semaphoreGitRef: 'refs/heads/show-semaphore-v2-266',
semaphoreGitRefType: 'branch',
semaphoreGitRepoSlug: 'cypress-io/cypress-example-kitchensink',
Expand Down

4 comments on commit 5a8618f

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a8618f Apr 15, 2024

Choose a reason for hiding this comment

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

Circle has built the linux x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.7.4/linux-x64/develop-5a8618fad108a981ff8cdfe5f83072c4ab36a02e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a8618f Apr 15, 2024

Choose a reason for hiding this comment

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

Circle has built the linux arm64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.7.4/linux-arm64/develop-5a8618fad108a981ff8cdfe5f83072c4ab36a02e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a8618f Apr 15, 2024

Choose a reason for hiding this comment

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

Circle has built the darwin x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.7.4/darwin-x64/develop-5a8618fad108a981ff8cdfe5f83072c4ab36a02e/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 5a8618f Apr 15, 2024

Choose a reason for hiding this comment

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

Circle has built the win32 x64 version of the Test Runner.

Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/13.7.4/win32-x64/develop-5a8618fad108a981ff8cdfe5f83072c4ab36a02e/cypress.tgz

Please sign in to comment.