Skip to content

Commit c2685fc

Browse files
authored
Merge branch 'main' into dev
2 parents 940cf56 + 6d08183 commit c2685fc

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.github/workflows/prod-release.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,3 +93,30 @@ jobs:
9393
- name: Build and push images
9494
run: |-
9595
gcloud builds submit --quiet --substitutions="COMMIT_SHA=${{ github.event.workflow_run.head_sha }},_CUSTOM_BRANCH_TAG=gcloud-prod" --config .cloudbuild/docker.cloudbuild.yaml --gcs-log-dir=gs://seqr-github-actions-logs/logs .
96+
97+
helm_update:
98+
runs-on: ubuntu-latest
99+
needs: docker
100+
steps:
101+
- uses: actions/checkout@v3
102+
with:
103+
repository: broadinstitute/seqr-helm
104+
ref: main
105+
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
106+
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
107+
108+
- name: Update appVersion in seqr Chart file
109+
uses: mikefarah/yq@v4.22.1
110+
with:
111+
cmd: >
112+
yq -i '.appVersion = "${{ github.event.workflow_run.head_sha }}"' charts/pipeline-runner/Chart.yaml
113+
114+
- name: Commit and Push changes
115+
uses: Andro999b/push@v1.3
116+
with:
117+
repository: broadinstitute/seqr-helm
118+
branch: main
119+
github_token: ${{ secrets.SEQR_VERSION_UPDATE_TOKEN }}
120+
author_email: ${{ github.actor }}@users.noreply.github.com
121+
author_name: tgg-automation
122+
message: "Update pipeline-runner chart appVersion to ${{ github.event.workflow_run.head_sha }}"

v03_pipeline/bin/rsync_reference_data.bash

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,11 @@ case $REFERENCE_GENOME in
1717
esac
1818

1919
mkdir -p $REFERENCE_DATASETS_DIR/$REFERENCE_GENOME;
20+
21+
if [ -f "$REFERENCE_DATASETS_DIR"/"$REFERENCE_GENOME"/_SUCCESS ]; then
22+
echo "Skipping rsync because already successful"
23+
exit 0;
24+
fi
25+
2026
gsutil -m rsync -rd "gs://seqr-reference-data/v03/$REFERENCE_GENOME" $REFERENCE_DATASETS_DIR/$REFERENCE_GENOME
27+
touch "$REFERENCE_DATASETS_DIR"/"$REFERENCE_GENOME"/_SUCCESS

v03_pipeline/lib/model/environment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
'HAIL_BACKEND_SERVICE_HOSTNAME',
3636
'hail-search',
3737
)
38-
HAIL_BACKEND_SERVICE_PORT = int(os.environ.get('HAIL_BACKEND_SERVICE_PORT', '6000'))
38+
HAIL_BACKEND_SERVICE_PORT = int(os.environ.get('HAIL_BACKEND_SERVICE_PORT', '5000'))
3939
CLINGEN_ALLELE_REGISTRY_LOGIN = os.environ.get('CLINGEN_ALLELE_REGISTRY_LOGIN', '')
4040
CLINGEN_ALLELE_REGISTRY_PASSWORD = os.environ.get(
4141
'CLINGEN_ALLELE_REGISTRY_PASSWORD',

0 commit comments

Comments
 (0)