-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WX-1210 Added JIRA ID for Cromwhelm auto commit message (#7180) make it scala lots of scaffolding WX-1179 DRS image build updates, remove self-hosted runners (#7179) WX-1210-action-fix Use PR title to find JIRA ID for cromwhelm commit message (#7184) WX-1110-query-fix Corrected Query to pull in attributes outside of executionStatus and backendStatus (#7185) WX-1179 GCP Batch new base (#7177) Co-authored-by: dspeck <[email protected]> Co-authored-by: jarroyo28 <[email protected]> Co-authored-by: Jacob Jennings <[email protected]> Co-authored-by: Janet Gainer-Dewar <[email protected]> Co-authored-by: Tom Wiseman <[email protected]> Co-authored-by: Chris Llanwarne <[email protected]> Co-authored-by: Christian Freitas <[email protected]> Co-authored-by: Tristan Garwood <[email protected]> WM-2100: Update terra-helmfile on publish (#7187) WM-2100: Correct commit and PR description of terra-helmfile auto update (#7188) forward progress stash more progress json WX-1230 Ignore `invalidate_bad_caches_use_good_local.test` (#7197) WX-1078 ACR support (#7192) WX-1179 Enable GCP Batch Integration Tests (#7199) Co-authored-by: Adam Nichols <[email protected]> Co-authored-by: Adam Nichols <[email protected]> WX-1179 GCP Batch Docs Update (#7196) Co-authored-by: Jacob Jennings <[email protected]> Co-authored-by: Adam Nichols <[email protected]> Co-authored-by: Adam Nichols <[email protected]> stash expired tokens ID-734 Increase Timeout for DRSHub Communication (#7198) [WX-1156] internal_path_prefix for TES 4.4 (#7190) think about stuff undo sins undo one more sin [WM-2184] Remove brackets from Jira ID (#7206) WX-1153 Azure blob read md5 from metadata for large files (#7204) Co-authored-by: Janet Gainer-Dewar <[email protected]> WX-1156 Fix internal_path_prefix (#7208) Co-authored-by: Janet Gainer-Dewar <[email protected]> WX-1256 Temporarily turn off engine hashing for blob files (#7209) Co-authored-by: Adam Nichols <[email protected]> WX-1173 Reopen filesystem for blob storage outside workspace (#7178) Co-authored-by: Janet Gainer-Dewar <[email protected]> Co-authored-by: Tom Wiseman <[email protected]> Co-authored-by: Adam Nichols <[email protected]> WX-1174 Adjust NIO Copy functionality (#7207) Co-authored-by: Adam Nichols <[email protected]> [WX-1168] TES Log Paths (#7210) deck chairs somethin that kinda works working test lots of good cleanup time for tests remove conf working on tests test progress much cleaner oops bunch of tests more better tests
- Loading branch information
Showing
156 changed files
with
11,370 additions
and
767 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,8 +9,14 @@ jobs: | |
chart-update: | ||
name: Cromwhelm Chart Auto Updater | ||
if: github.event.pull_request.merged == true | ||
runs-on: self-hosted # Faster machines; see https://github.com/broadinstitute/cromwell/settings/actions/runners | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch Jira ID from the commit message | ||
id: fetch-jira-id | ||
run: | | ||
JIRA_ID=$(echo '${{ github.event.pull_request.title }}' | grep -Eo '[A-Z][A-Z]+-[0-9]+' | xargs echo -n | tr '[:space:]' ',') | ||
[[ -z "$JIRA_ID" ]] && { echo "No Jira ID found in $1" ; exit 1; } | ||
echo "JIRA_ID=$JIRA_ID" >> $GITHUB_OUTPUT | ||
- name: Clone Cromwell | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -69,7 +75,7 @@ jobs: | |
repository: broadinstitute/terra-helmfile | ||
event-type: update-service | ||
client-payload: '{"service": "cromiam", "version": "${{ env.CROMWELL_VERSION }}", "dev_only": false}' | ||
- name: Edit & push chart | ||
- name: Edit & push cromwhelm chart | ||
env: | ||
BROADBOT_GITHUB_TOKEN: ${{ secrets.BROADBOT_GITHUB_TOKEN }} | ||
run: | | ||
|
@@ -82,5 +88,48 @@ jobs: | |
git diff | ||
git config --global user.name "broadbot" | ||
git config --global user.email "[email protected]" | ||
git commit -am "Auto update to Cromwell $CROMWELL_VERSION" | ||
git commit -am "${{ steps.fetch-jira-id.outputs.JIRA_ID }}: Auto update to Cromwell $CROMWELL_VERSION" | ||
git push https://broadbot:[email protected]/broadinstitute/cromwhelm.git main | ||
cd - | ||
- name: Clone terra-helmfile | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: broadinstitute/terra-helmfile | ||
token: ${{ secrets.BROADBOT_GITHUB_TOKEN }} # Has to be set at checkout AND later when pushing to work | ||
path: terra-helmfile | ||
|
||
- name: Update workflows-app in terra-helmfile | ||
run: | | ||
set -e | ||
cd terra-helmfile | ||
sed -i "s|image: broadinstitute/cromwell:.*|image: broadinstitute/cromwell:$CROMWELL_VERSION|" charts/workflows-app/values.yaml | ||
cd - | ||
- name: Update cromwell-runner-app in terra-helmfile | ||
run: | | ||
set -e | ||
cd terra-helmfile | ||
sed -i "s|image: broadinstitute/cromwell:.*|image: broadinstitute/cromwell:$CROMWELL_VERSION|" charts/cromwell-runner-app/values.yaml | ||
cd - | ||
- name: Make PR in terra-helmfile | ||
env: | ||
BROADBOT_TOKEN: ${{ secrets.BROADBOT_GITHUB_TOKEN }} | ||
GH_TOKEN: ${{ secrets.BROADBOT_GITHUB_TOKEN }} | ||
run: | | ||
set -e | ||
JIRA_ID=${{ steps.fetch-jira-id.outputs.JIRA_ID }} | ||
if [[ $JIRA_ID == "missing" ]]; then | ||
echo "JIRA_ID missing, PR to terra-helmfile will not be created" | ||
exit 0; | ||
fi | ||
cd terra-helmfile | ||
git checkout -b ${JIRA_ID}-cromwell-update-$CROMWELL_VERSION | ||
git config --global user.name "broadbot" | ||
git config --global user.email "[email protected]" | ||
git commit -am "${JIRA_ID}: Auto update Cromwell to $CROMWELL_VERSION in workflows-app and cromwell-runner-app" | ||
git push -u origin ${JIRA_ID}-cromwell-update-$CROMWELL_VERSION | ||
gh pr create --title "${JIRA_ID}: auto update Cromwell version to $CROMWELL_VERSION in workflows-app and cromwell-runner-app" --body "${JIRA_ID} helm chart update" --label "automerge" | ||
cd - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.