Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Change release workflow to use new staging bucket for artifacts #334

Merged

Conversation

gaiksaya
Copy link
Member

@gaiksaya gaiksaya commented Jan 9, 2021

Issue #, if available:

Description of changes:
The infrastructure team is separating the production and staging locations into different AWS accounts. Plugins need to modify their workflows to publish to the new locations.

This PR changes the CD workflow to add a build number and write the zip, deb, and rpm plugin artifacts to staging.artifacts.opendistroforelasticsearch.amazon.com.

Test Results
https://github.com/gaiksaya/alerting/runs/1672094597?check_suite_focus=true

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Jan 9, 2021

Codecov Report

Merging #334 (612f516) into master (908b627) will decrease coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #334      +/-   ##
============================================
- Coverage     79.32%   79.28%   -0.04%     
+ Complexity      203      202       -1     
============================================
  Files           151      151              
  Lines          5324     5324              
  Branches        701      701              
============================================
- Hits           4223     4221       -2     
- Misses          727      728       +1     
- Partials        374      375       +1     
Impacted Files Coverage Δ Complexity Δ
...ing/destination/client/DestinationEmailClient.java 72.50% <0.00%> (-5.00%) 7.00% <0.00%> (-1.00%)
...distroforelasticsearch/alerting/util/IndexUtils.kt 71.42% <0.00%> (-2.39%) 0.00% <0.00%> (ø%)
...distroforelasticsearch/alerting/core/JobSweeper.kt 72.19% <0.00%> (+0.53%) 35.00% <0.00%> (ø%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 908b627...612f516. Read the comment docs.

@gaiksaya gaiksaya marked this pull request as draft January 12, 2021 18:28
@gaiksaya gaiksaya marked this pull request as ready for review February 1, 2021 21:03
@gaiksaya gaiksaya changed the title [WIP] Change release workflow to use new staging bucket for artifacts Change release workflow to use new staging bucket for artifacts Feb 1, 2021
@gaiksaya gaiksaya requested review from qreshi and a team February 1, 2021 21:04
@gaiksaya gaiksaya merged commit 039ece9 into opendistro-for-elasticsearch:master Feb 1, 2021
@gaiksaya gaiksaya deleted the release-workflow-patch branch February 1, 2021 23:49
tlfeng pushed a commit that referenced this pull request Feb 6, 2021
Change release workflow to use new staging bucket for artifacts
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants