forked from hail-is/hail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] link to logs for all PRs in CI UI (hail-is#5054)
Major Changes: - never delete CI jobs, only cancel them - Mergeable (success) and Failure build states include the job that triggered the build state - if a PR's build state has a job, link to that job Minor Changes: - fix location of dk-test instance - test that proxy processes are still alive (if proxy creation fails, the process usually exits) - provide `HAIL_CI_GCS_PATH` for developers to set an alternative deploy bucket and path-within-bucket (now that `gs://hail-ci-0-1` is protected)
- Loading branch information
Showing
8 changed files
with
58 additions
and
29 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
import os | ||
|
||
GITHUB_API_URL = 'https://api.github.com/' | ||
GITHUB_CLONE_URL = 'https://github.com/' | ||
VERSION = '0-1' | ||
BUILD_JOB_PREFIX = 'hail-ci-0-2-1' | ||
BUILD_JOB_TYPE = BUILD_JOB_PREFIX + '-build' | ||
DEPLOY_JOB_TYPE = BUILD_JOB_PREFIX + '-deploy' | ||
GCP_PROJECT = 'broad-ctsa' | ||
GCS_BUCKET = 'hail-ci-' + VERSION | ||
gcs_path = os.environ.get('HAIL_CI_GCS_PATH') | ||
if gcs_path: | ||
path_pieces = gcs_path.split('/') | ||
GCS_BUCKET = path_pieces[0] | ||
if len(path_pieces) > 1: | ||
GCS_BUCKET_PREFIX = '/'.join(path_pieces[1:]) + '/' | ||
else: | ||
GCS_BUCKET_PREFIX = '' | ||
else: | ||
GCS_BUCKET = 'hail-ci-' + VERSION | ||
GCS_BUCKET_PREFIX = '' | ||
SHA_LENGTH = 12 |
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