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

collect GitLab pipeline id and url for #2343 #2345

Merged
merged 8 commits into from
Aug 16, 2018

Conversation

bahmutov
Copy link
Contributor

@bahmutov bahmutov commented Aug 14, 2018

  • close Missing or incorrect GitLab environment variables for parallelization #2343
  • passes pipeline id and url
  • what's up with missing branch name ... - hmm, the variable CI_COMMIT_REF_NAME is there in the environment variables on GitLab, why isn't it in the dashboard (fixed GitLab detection predicate function)
  • branch name on Appveyor (need to fix commit-info logic to allow environment variables to work)

@@ -219,6 +219,18 @@ updateInstance = (options = {}) ->
else
null

getCommitFromGitOrCi = (git) ->
la(check.object(git), 'expected git information object', git)
ciProvider.commitDefaults({
Copy link
Contributor Author

Choose a reason for hiding this comment

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

fills any properties that have null value

@@ -81,7 +81,7 @@
},
"dependencies": {
"@cypress/browserify-preprocessor": "1.1.0",
"@cypress/commit-info": "^1.2.2",
"@cypress/commit-info": "2.0.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

v2 returns null for values it could not determine, breaking gift compatibility, but making it simple to fill values using CI environment variables

@bahmutov bahmutov requested a review from brian-mann August 15, 2018 15:02
@brian-mann brian-mann merged commit 8f0a31a into develop Aug 16, 2018
@emilyrohrbough emilyrohrbough deleted the gitlab-pipeline-id-2343 branch August 1, 2024 13:43
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.

Missing or incorrect GitLab environment variables for parallelization
2 participants