Skip to content

Commit

Permalink
fix: Add drone env for the url of the repo (#18222)
Browse files Browse the repository at this point in the history
  • Loading branch information
jennifer-shehane authored Sep 27, 2021
1 parent 853a6f5 commit 26f92e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/util/ci_provider.js
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ const _providerCommitParams = () => {
message: env.DRONE_COMMIT_MESSAGE,
authorName: env.DRONE_COMMIT_AUTHOR,
authorEmail: env.DRONE_COMMIT_AUTHOR_EMAIL,
// remoteOrigin: ???
remoteOrigin: env.DRONE_GIT_HTTP_URL,
defaultBranch: env.DRONE_REPO_BRANCH,
},
githubActions: {
Expand Down
2 changes: 2 additions & 0 deletions packages/server/test/unit/ci_provider_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ describe('lib/util/ci_provider', () => {
DRONE_COMMIT_AUTHOR: 'droneCommitAuthor',
DRONE_COMMIT_AUTHOR_EMAIL: 'droneCommitAuthorEmail',
DRONE_REPO_BRANCH: 'droneRepoBranch',
DRONE_GIT_HTTP_URL: 'droneRemoteOrigin',
}, { clear: true })

expectsName('drone')
Expand All @@ -536,6 +537,7 @@ describe('lib/util/ci_provider', () => {
authorName: 'droneCommitAuthor',
authorEmail: 'droneCommitAuthorEmail',
defaultBranch: 'droneRepoBranch',
remoteOrigin: 'droneRemoteOrigin',
})
})

Expand Down

4 comments on commit 26f92e0

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 26f92e0 Sep 27, 2021

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.5.0/circle-develop-26f92e0e56d59cfa83207d101ad95683744f3696/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 26f92e0 Sep 27, 2021

Choose a reason for hiding this comment

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

AppVeyor has built the win32 ia32 version of the Test Runner.

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.5.0/appveyor-develop-26f92e0e56d59cfa83207d101ad95683744f3696/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 26f92e0 Sep 27, 2021

Choose a reason for hiding this comment

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

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

Learn more about this pre-release platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.5.0/appveyor-develop-26f92e0e56d59cfa83207d101ad95683744f3696/cypress.tgz

@cypress-bot
Copy link
Contributor

@cypress-bot cypress-bot bot commented on 26f92e0 Sep 27, 2021

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 platform-specific build at https://on.cypress.io/installing-cypress#Install-pre-release-version.

Run this command to install the pre-release locally:

npm install https://cdn.cypress.io/beta/npm/8.5.0/circle-develop-26f92e0e56d59cfa83207d101ad95683744f3696/cypress.tgz

Please sign in to comment.