Skip to content
This repository was archived by the owner on Oct 28, 2024. It is now read-only.

Support windows for gsutil#985

Merged
v1v merged 13 commits intomasterfrom
feature/support-gsutil-wwindows
Feb 16, 2021
Merged

Support windows for gsutil#985
v1v merged 13 commits intomasterfrom
feature/support-gsutil-wwindows

Conversation

@v1v
Copy link
Copy Markdown
Member

@v1v v1v commented Feb 16, 2021

What does this PR do?

Support Windows when using the gsutil step

Why is it important?

Beats pipelines use it

Tests

when using the branch itself to test the pipeline -> 0dae25a

Then json files were uploaded correctly within the windows context:

image

image

@ghost
Copy link
Copy Markdown

ghost commented Feb 16, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #985 updated

  • Start Time: 2021-02-16T16:55:42.598+0000

  • Duration: 11 min 16 sec

  • Commit: 70e2693

Test stats 🧪

Test Results
Failed 0
Passed 1047
Skipped 2
Total 1049

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 1047
Skipped 2
Total 1049

@v1v v1v requested a review from a team February 16, 2021 16:53
@v1v v1v self-assigned this Feb 16, 2021
@v1v v1v added automation backport-to-7.x Automatically backport PRs from master enhancement New feature or request ready-to-merge labels Feb 16, 2021
@v1v v1v marked this pull request as ready for review February 16, 2021 16:53
Comment thread .ci/Jenkinsfile
}
}
stage('Google Storage') {
steps {
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Run always

Comment thread .ci/Jenkinsfile
validateDeclarativePipeline '.ci/Jenkinsfile'
validateDeclarativePipeline '.ci/buildBeatsDockerImages.groovy'
validateDeclarativePipeline '.ci/buildDockerImages.groovy'
validateDeclarativePipeline '.ci/chatops.groovy'
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Unrelated

Comment thread vars/gsutil.groovy
Comment on lines +39 to +40
def credentialsVariable = isUnix() ? '${FILE_CREDENTIAL}' : '%FILE_CREDENTIAL%'
cmd(label: 'authenticate', script: 'gcloud auth activate-service-account --key-file ' + credentialsVariable)
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Avoid interpolation for any kind of credentials

Copy link
Copy Markdown
Contributor

@cachedout cachedout left a comment

Choose a reason for hiding this comment

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

👍

@v1v v1v merged commit 53ac683 into master Feb 16, 2021
mergify Bot pushed a commit that referenced this pull request Feb 16, 2021
(cherry picked from commit 53ac683)
@v1v v1v deleted the feature/support-gsutil-wwindows branch February 16, 2021 17:40
mergify Bot added a commit that referenced this pull request Feb 16, 2021
(cherry picked from commit 53ac683)

Co-authored-by: Victor Martinez <victormartinezrubio@gmail.com>
v1v added a commit that referenced this pull request Mar 18, 2021
* upstream/7.x:
  Fix the getCause and getCauses for the AbortException (#1041) (#1042)
  gsutil for windows with python (#1008) (#1009)
  Report only one DeleteDir step failure (#1006) (#1007)
  [cosmetic] Replace multiline chars in the GitHub PR comment (#998) (#1003)
  [cosmetic] add the author (#999) (#1002)
  chore: use opentelemetry release (#1000) (#1001)
  Avoid cache gsutils temporary location (#994) (#995)
  [JCasC] google cloud engine local setup (#979) (#992)
  Support curl in addition to wget for gsutil (#988) (#989)
  Support windows for gsutil (#985) (#987)
  Add googleStorageUploadExt step (#867) (#982)
  Add releaseNotification step to simplify agent release pipelines (#976) (#981)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

automation backport-to-7.x Automatically backport PRs from master ci enhancement New feature or request groovy ready-to-merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants