Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Promotion 2024-12-29 anvilprod (#6789) #6798

Merged
merged 100 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
796e258
Merge branch 'prod' into promotions/2024-12-03-prod
dsotirho-ucsc Dec 10, 2024
e9759a9
[R a] Promotion 2024-12-03 prod (#6737, PR #6746)
dsotirho-ucsc Dec 10, 2024
a3a37b4
Update OAuth2 redirect page to v4.15.2
nadove-ucsc Nov 19, 2024
1543992
Move Swagger UI to /static/index.html
nadove-ucsc Nov 20, 2024
6903449
Extract inline JS in Swagger UI to initializer script
nadove-ucsc Nov 20, 2024
bc7f533
Document Swagger update procedure and add script (#6546)
nadove-ucsc Nov 19, 2024
b856601
Update Swagger UI to v5.18.2 (#6546)
nadove-ucsc Nov 19, 2024
d99ce0a
Promotion 2024-12-10 prod (#6752, PR #6756)
achave11-ucsc Dec 13, 2024
1db6db7
Update Swagger UI (#6546, PR #6719)
achave11-ucsc Dec 13, 2024
a02ce84
Reformat
hannes-ucsc Dec 5, 2024
a377e29
Don't persist signed manifest URLs in StepFunction output
hannes-ucsc Dec 6, 2024
988acc7
Extract method
hannes-ucsc Dec 6, 2024
d60e3f1
Add comments
hannes-ucsc Dec 6, 2024
cce7d12
Remove redundant type hint
hannes-ucsc Dec 6, 2024
075490e
Add clarifying assert
hannes-ucsc Dec 6, 2024
1c320ca
StepFunction execution IDs are now UUIDs
hannes-ucsc Dec 7, 2024
2bb8fe0
Fix type warning in IT
hannes-ucsc Dec 13, 2024
43798c3
Fix use of method removed in Python 3.12, by unused IT code
hannes-ucsc Dec 13, 2024
7dd28de
Unroll test loop
hannes-ucsc Dec 8, 2024
32bd8ba
Add comments, reorder variable assignments for clarity
hannes-ucsc Dec 8, 2024
77ed8da
Reuse nested function
hannes-ucsc Dec 8, 2024
05beb08
Cover more replay scenarios
hannes-ucsc Dec 8, 2024
705fd6c
Include replays with manifest key in test case loop
hannes-ucsc Dec 8, 2024
8afb7ce
Fix: fetching of curl manifest is not covered
hannes-ucsc Dec 8, 2024
6901b28
Convert nested function to method
hannes-ucsc Dec 9, 2024
635048a
Remove unnecessary mock
hannes-ucsc Dec 9, 2024
290a754
Change tuple to list
hannes-ucsc Dec 9, 2024
63f4825
Refactor call assertions
hannes-ucsc Dec 9, 2024
2f40bec
Reset mocks before every sub-test
hannes-ucsc Dec 9, 2024
e7b5bda
Consistency
hannes-ucsc Dec 9, 2024
67d367d
Tighten assertions
hannes-ucsc Dec 9, 2024
e5aa831
Replace outmoded typing constructs
hannes-ucsc Dec 9, 2024
dde8f05
Avoid putting mutable variable in closure
hannes-ucsc Dec 10, 2024
2f6ed24
Rename execution_id to generation_id
hannes-ucsc Dec 10, 2024
88aa7e2
Refactor into reusable functions
hannes-ucsc Dec 10, 2024
00ed143
Reset mocks after every step
hannes-ucsc Dec 12, 2024
b66a565
Rename variable
hannes-ucsc Dec 12, 2024
9768029
Extract variables for mocked exceptions
hannes-ucsc Dec 12, 2024
961a18a
Add environment variable for controlling IT behavior
hannes-ucsc Dec 14, 2024
6ec7b4f
Restart manifest generations when manifest has expired (#6441)
hannes-ucsc Dec 15, 2024
a045398
Fix: 404 from S3 when re-requesting manifest after it expired (#6441,…
achave11-ucsc Dec 16, 2024
e0ec321
Reformat documentation of `azul_docker_registry` var
nadove-ucsc Dec 16, 2024
e904b0b
Fix wrapping
nadove-ucsc Dec 10, 2024
b8fe407
Reorder keys in WAF rules
nadove-ucsc Dec 13, 2024
63c9a4f
Update AWS TF provider (5.49 -> 5.80)
nadove-ucsc Dec 10, 2024
c0eabd5
Rate limit download requests globally for HCA (#6740)
nadove-ucsc Dec 10, 2024
72ec3ee
Rate limit download requests globally for HCA (#6740, PR #6749)
achave11-ucsc Dec 18, 2024
4c18896
[r] Index dcp45 in prod (#6758)
achave11-ucsc Dec 13, 2024
d3aa1ac
[r] Index dcp45 in prod (#6758, PR #6762)
hannes-ucsc Dec 19, 2024
817a054
Ran `make -C terraform provider_update`
hannes-ucsc Dec 19, 2024
886efee
Eliminate old-fashioned type annotations in manifest service
nadove-ucsc Nov 7, 2024
443081f
Eliminate old-fashioned type annotations in indexer/aggregate.py
nadove-ucsc Dec 12, 2024
e9a2012
Extract property
nadove-ucsc Nov 14, 2024
f24dc2a
Add helper for mappings that don't support .get()
hannes-ucsc Dec 6, 2024
c628d2e
[1/2] Rename and generalize implicit hubs to hot/root entity types
nadove-ucsc Nov 7, 2024
1438c39
[2/2] Rename and generalize implicit hubs to hot/root entity types
hannes-ucsc Dec 6, 2024
8341bc8
[r] Re-enable replicas in prod
nadove-ucsc Nov 8, 2024
42c51c9
Refactor UniqueValueCountAccumulator
nadove-ucsc Dec 12, 2024
91d9004
Refactor aggregators
nadove-ucsc Dec 12, 2024
da072c0
Track entity types in aggregators
nadove-ucsc Dec 17, 2024
072ab44
Standardize variable names in doctests
nadove-ucsc Dec 17, 2024
a85e15b
Add doctests for some accumulators
nadove-ucsc Dec 14, 2024
87ac825
[p] Fix: Optimistic lock contention on HCA replicas (partial #6648)
nadove-ucsc Dec 12, 2024
2609d9a
Add FIXME (#6648)
nadove-ucsc Dec 12, 2024
d1c5cdc
[r] Fix: Optimistic lock contention on HCA replicas (partial #6648, P…
achave11-ucsc Dec 19, 2024
9f75ebf
[u R] Promotion 2024-12-17 prod (#6768, PR #6771)
achave11-ucsc Dec 19, 2024
db53009
Revert "[r] Fix: Optimistic lock contention on HCA replicas (partial …
hannes-ucsc Dec 20, 2024
c656790
Ran `make docker_images.json`
achave11-ucsc Dec 14, 2024
5889e8a
[R] Update direct Python dependencies (#6750)
achave11-ucsc Dec 16, 2024
36fedd3
Update Python to 3.12.8 (#6750)
achave11-ucsc Dec 14, 2024
02ed1ee
Update PyCharm to 2024.3.1-40 (#6750)
achave11-ucsc Dec 14, 2024
a2fa37a
Update Elasticsearch to 7.17.26-33 (#6750)
achave11-ucsc Dec 14, 2024
973bf9c
Update Bigquery Emulator to 0.4.4-19 (#6750)
achave11-ucsc Dec 14, 2024
780354a
Update Docker to 27.4.0 (#6750)
achave11-ucsc Dec 17, 2024
b271cf3
Update GitLab to 17.6.2-ce.0 (#6750)
achave11-ucsc Dec 17, 2024
2eca84f
Update ClamAV to 1.4.1-17 (#6750)
achave11-ucsc Dec 17, 2024
e39203c
Update GitLab AMI to v11 (#6750)
achave11-ucsc Dec 17, 2024
37d9ba5
[R] Upgrade dependencies 2024-12-09 (#6750, PR #6769)
achave11-ucsc Dec 20, 2024
4dce280
Remove redundant alternation of string delimiters
hannes-ucsc Dec 16, 2024
4a532c6
Cache loaded deployment
hannes-ucsc Dec 16, 2024
e86d770
Ensure deployments load without warnings
hannes-ucsc Dec 16, 2024
1d85763
Fix PyCharm warning
hannes-ucsc Dec 17, 2024
630f8cc
Cosmetics
hannes-ucsc Dec 17, 2024
eded8de
Document need to redeploy Data Browser after index (#6657)
hannes-ucsc Dec 17, 2024
f45a477
Fix typo in OPERATOR.rst
dsotirho-ucsc Dec 14, 2024
e4d7fb8
Update deploy Data Browser guide for pushing a tag (#6742)
dsotirho-ucsc Dec 12, 2024
315adce
Update docs & checklists about browser deployments (#6742, #6657, PR …
hannes-ucsc Dec 20, 2024
830badc
Fix inconsistent link in comments
hannes-ucsc Dec 21, 2024
b794c7a
Fix inconsistent comment
hannes-ucsc Dec 21, 2024
57c2950
Upgrade ES instance type in lower deployments (#6731)
hannes-ucsc Dec 21, 2024
e2f9df7
Reduce ES instance count in `dev` (#6731)
hannes-ucsc Dec 21, 2024
181ebd8
Renew OpenSearch reserved instance leases (#6731, PR #6783)
hannes-ucsc Dec 22, 2024
c71ef3e
Scale back lower ES clusters (#6731)
hannes-ucsc Dec 23, 2024
86a6300
Renew OpenSearch reserved instance leases (#6731, PR #6786)
hannes-ucsc Dec 23, 2024
b79b0a2
[H] Scale up `prod` ES cluster (#6731)
hannes-ucsc Dec 24, 2024
545ae8f
Hotfix prod: Renew OpenSearch reserved instance leases (#6731, PR #6788)
hannes-ucsc Dec 24, 2024
61f8a0e
Remove comment
hannes-ucsc Dec 24, 2024
45f5274
Merge branch 'develop' into backports/545ae8f6
hannes-ucsc Dec 24, 2024
3025429
Backport 545ae8f6 (#6731, PR #6788 (PR #6790)
hannes-ucsc Dec 24, 2024
f3f5235
No GitHub status check for anvilprod branch (#6795)
hannes-ucsc Dec 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ _period: 14 days
- [ ] … update to [GitLab](https://hub.docker.com/r/gitlab/gitlab-ce/tags) & [GitLab runner images](https://hub.docker.com/r/gitlab/gitlab-runner/tags) <sub>or no update available</sub>
- [ ] … update to [ClamAV image](https://hub.docker.com/r/clamav/clamav/tags) <sub>or no update available</sub>
- [ ] … update to [GitLab AMI](https://github.com/DataBiosphere/azul/blob/develop/OPERATOR.rst#updating-the-ami-for-gitlab-instances) <sub>or no update available</sub>
- [ ] … update to [Swagger UI](https://github.com/DataBiosphere/azul/blob/develop/OPERATOR.rst#updating-the-swagger-ui) <sub>or no update available</sub>
- [ ] Created tickets for any deferred updates to …
- [ ] … to next major or minor Python version <sub>or such ticket already exists</sub>
- [ ] … to next major Docker version <sub>or such ticket already exists</sub>
Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/anvilprod-hotfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ Connected issue: #0000
- [ ] Started reindex in `anvilprod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Checked for, triaged and possibly requeued messages in both fail queues in `anvilprod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Emptied fail queues in `anvilprod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/anvil/anvilprod branch](https://gitlab.explore.anvilproject.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `anvilprod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `anvilprod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Created backport PR and linked to it in a comment on this PR


Expand Down
2 changes: 2 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/anvilprod-promotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ Connected issue: #0000
- [ ] Started reindex in `anvilprod` <sub>or this PR does not require reindexing `anvilprod`</sub>
- [ ] Checked for, triaged and possibly requeued messages in both fail queues in `anvilprod` <sub>or this PR does not require reindexing `anvilprod`</sub>
- [ ] Emptied fail queues in `anvilprod` <sub>or this PR does not require reindexing `anvilprod`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/anvil/anvilprod branch](https://gitlab.explore.anvilproject.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `anvilprod` <sub>or this PR does not require reindexing `anvilprod`</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `anvilprod` <sub>or this PR does not require reindexing `anvilprod`</sub>


### Operator
Expand Down
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/prod-hotfix.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ Connected issue: #0000
- [ ] Started reindex in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Checked for, triaged and possibly requeued messages in both fail queues in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Emptied fail queues in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/hca/prod branch](https://gitlab.azul.data.humancellatlas.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/lungmap/prod branch](https://gitlab.azul.data.humancellatlas.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `prod` <sub>or neither this PR nor a failed, prior promotion requires it</sub>
- [ ] Created backport PR and linked to it in a comment on this PR


Expand Down
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/prod-promotion.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ Connected issue: #0000
- [ ] Started reindex in `prod` <sub>or this PR does not require reindexing `prod`</sub>
- [ ] Checked for, triaged and possibly requeued messages in both fail queues in `prod` <sub>or this PR does not require reindexing `prod`</sub>
- [ ] Emptied fail queues in `prod` <sub>or this PR does not require reindexing `prod`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/hca/prod branch](https://gitlab.azul.data.humancellatlas.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `prod` <sub>or this PR does not require reindexing `prod`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/lungmap/prod branch](https://gitlab.azul.data.humancellatlas.org/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `prod` <sub>or this PR does not require reindexing `prod`</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `prod` <sub>or this PR does not require reindexing `prod`</sub>


### Operator
Expand Down
5 changes: 5 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,11 @@ title is `Fix: ` followed by the issue title
- [ ] Checked for, triaged and possibly requeued messages in both fail queues in `anvildev` <sub>or this PR does not require reindexing `anvildev`</sub>
- [ ] Emptied fail queues in `dev` <sub>or this PR does not require reindexing `dev`</sub>
- [ ] Emptied fail queues in `anvildev` <sub>or this PR does not require reindexing `anvildev`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/hca/dev branch](https://gitlab.dev.singlecell.gi.ucsc.edu/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `dev` <sub>or this PR does not require reindexing `dev`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/lungmap/dev branch](https://gitlab.dev.singlecell.gi.ucsc.edu/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `dev` <sub>or this PR does not require reindexing `dev`</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `dev` <sub>or this PR does not require reindexing `dev`</sub>
- [ ] Restarted the `trigger_child` job in the most recent Data Browser build for the [ucsc/anvil/anvildev branch](https://gitlab.anvil.gi.ucsc.edu/ucsc/data-browser/-/pipelines?scope=branches) on GitLab in `anvildev` <sub>or this PR does not require reindexing `anvildev`</sub>
- [ ] Restarted `deploy` job in the GitLab pipeline for this PR in `anvildev` <sub>or this PR does not require reindexing `anvildev`</sub>


### Operator
Expand Down
48 changes: 40 additions & 8 deletions .github/pull_request_template.md.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from itertools import (
chain,
)
import json
from pathlib import (
Path,
)
Expand All @@ -26,6 +27,7 @@
)

from azul import (
cache,
config,
iif,
)
Expand Down Expand Up @@ -212,6 +214,7 @@ def labels_to_promote(self, target_branch: str) -> AbstractSet[str]:
def needs_shared_deploy(self):
return self not in (T.backport, T.hotfix)

# noinspection PyUnusedLocal
def shared_deploy_is_two_phase(self, target_branch: str) -> bool:
# All `shared` components are deployed in two-phases. The first phase,
# prior to the merge, mirrors new images to ECR, while the second phase
Expand All @@ -238,14 +241,20 @@ def main():
emit(t, target_branch)


def env_var(deployment: str, variable: str) -> str:
"""
Return an environment variable value from the given deployment.
"""
@cache
def deployment_env(deployment: str,
component: str | None = None
) -> Mapping[str, str]:
script = load_script('export_environment')
deployment += '' if component is None else '.' + component
env, warning = script.load_env(deployment)
assert warning is None, warning
resolved_env = script.resolve_env(env)
return resolved_env[variable]
return resolved_env


def azul_domain_name(d):
return deployment_env(d)['AZUL_DOMAIN_NAME']


def emit(t: T, target_branch: str):
Expand Down Expand Up @@ -334,7 +343,7 @@ def emit(t: T, target_branch: str):
},
iif(t is not T.backport, {
'type': 'cli',
'content': f"PR title references {t.issues('all', 'the')} connected {t.issues}"
'content': f'PR title references {t.issues('all', 'the')} connected {t.issues}'
}),
*(
[
Expand Down Expand Up @@ -729,7 +738,7 @@ def emit(t: T, target_branch: str):
{
'type': 'cli',
'content': f'Background migrations for '
f'[`{d}.gitlab`](https://gitlab.{env_var(d, "AZUL_DOMAIN_NAME")}'
f'[`{d}.gitlab`](https://gitlab.{azul_domain_name(d)}'
f'/admin/background_migrations) are complete',
'alt': 'or this PR is not labeled `deploy:gitlab`'
}
Expand Down Expand Up @@ -956,12 +965,35 @@ def emit(t: T, target_branch: str):
for action in [
'Started reindex',
'Checked for, triaged and possibly requeued messages in both fail queues',
'Emptied fail queues',
'Emptied fail queues'
]
]
]
for d, s in t.target_deployments(target_branch).items()
))),
*[
{
'type': 'cli',
'content': f'{action} in `{d}`',
'alt': (
'or neither this PR nor a failed, prior promotion requires it'
if t is T.hotfix else
f'or this PR does not require reindexing `{d}`'
)
}
for d, s in t.target_deployments(target_branch).items()
for action in [
*[
'Restarted the `trigger_child` job in the most recent Data Browser build for the ['
f'{browser_site['branch']} branch]'
f'(https://gitlab.{azul_domain_name(d)}/ucsc/data-browser/-/pipelines?scope=branches) '
f'on GitLab'
for browser_site in
json.loads(deployment_env(d, 'browser')['azul_browser_sites']).values()
],
'Restarted `deploy` job in the GitLab pipeline for this PR'
]
],
iif(t is T.hotfix, {
'type': 'cli',
'content': 'Created backport PR and linked to it in a comment on this PR'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: 'CI'
on:
pull_request:
push:
branches: [ 'develop', 'prod' ]
branches: [ 'develop', 'prod', 'anvilprod' ]

jobs:

Expand Down
43 changes: 35 additions & 8 deletions OPERATOR.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.. contents::
.. contents::

Getting started as operator
---------------------------
Expand Down Expand Up @@ -458,6 +459,30 @@ SSH into the instance, and run ``sudo yum update`` followed by ``sudo reboot``.
Wait for the GitLab web application to become available again and perform a
``git fetch`` from one of the Git repositories hosted on that instance.

Updating the Swagger UI
^^^^^^^^^^^^^^^^^^^^^^^

Operators should regularly check for available updates to the Swagger UI. The
current version used by Azul is hardcoded in ``scripts/update_swagger.py``. The
upstream source is located here:

https://github.com/swagger-api/swagger-ui/tree/master/dist

Scheduled upgrade PR's should only include minor and hotfix updates to the
Swagger UI. If a new major version is available, open a new issue instead. To
perform the update, edit the ``tag`` variable in the ``update_swagger`` script
and run it. If there are nontrivial changes to the ``swagger-initializer.js`` or
``oauth2-redirect.html`` files, cancel the update and open a new issue instead.
Otherwise, forward any changes to those two files to their respective mustache
template files, and commit the changes to the script and all modified files in
the ``swagger/`` directory. The commit message must include the new tag, as well
as a link to the upstream source in the commit body, e.g.::

Update Swagger UI to v<release version> (#issue-number)

https://github.com/swagger-api/swagger-ui/tree/v<release version>/dist


Export AWS Inspector findings
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Expand Down Expand Up @@ -605,7 +630,7 @@ backport PR first. The new PR will include the changes from the old one.
Deploying the Data Browser
^^^^^^^^^^^^^^^^^^^^^^^^^^

The Data Browser is deployed two steps. The first step is building the
The Data Browser is deployed in two steps. The first step is building the
``ucsc/data-browser`` project on GitLab. This is initiated by pushing a branch
whose name matches ``ucsc/*/*`` to one of our GitLab instances. The resulting
pipeline produces a tarball stored in the package registry on that GitLab
Expand All @@ -616,14 +641,16 @@ downloads the tarball from the package registry and unpacks that tarball to the
S3 bucket backing the Data Browser's CloudFront distribution.

Typically, CC requests the deployment of a Data Browser instance on Slack,
specifying the commit they wish to be deployed. After the system administrator
approves that request, the operator merges the specified commit into one of the
``ucsc/{atlas}/{deployment}`` branches and then pushes that branch to the
specifying the commit (tag or sha1) they wish to be deployed. After the
system administrator approves that request, the operator pushes the specified tag
(if a tag was specified) to the GitLab instance for the Azul ``{deployment}``
that backs the Data Browser instance to be deployed. Then the specified tag (or
commit, if no tag was specified) is merged into one of the
``ucsc/{atlas}/{deployment}`` branches. That branch is then is pushed to the
``DataBiosphere/data-browser`` project on GitHub, and the ``ucsc/data-browser``
project on the GitLab instance for the Azul ``{deployment}`` that backs the Data
Browser instance to be deployed. For the merge commit title, SmartGit's default
can be used, as long as the title reflects the commit (branch, tag, or sha1)
specified by CC.
project on GitLab (same instance as above). For the merge commit title,
SmartGit's default can be used, as long as the title reflects the commit (tag or
sha1) specified by CC.

The ``{atlas}`` placeholder can be ``hca``, ``anvil`` or ``lungmap``. Not all
combinations of ``{atlas}`` and ``{deployment}`` are valid. Valid combinations
Expand Down
Binary file not shown.
Binary file not shown.
Binary file removed bin/wheels/runtime/attrs-24.2.0-py3-none-any.whl
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 2 additions & 3 deletions deployments/anvilbox/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See

https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax

for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down Expand Up @@ -128,8 +128,7 @@ def env() -> Mapping[str, Optional[str]]:

**(
{
# $0.382/h × 2 × 24h/d × 30d/mo = $550.08/mo
'AZUL_ES_INSTANCE_TYPE': 'r6gd.xlarge.elasticsearch',
'AZUL_ES_INSTANCE_TYPE': 'r6gd.large.elasticsearch',
'AZUL_ES_INSTANCE_COUNT': '2',
} if is_sandbox else {
# Personal deployments share an ES domain with `anvilbox`
Expand Down
2 changes: 1 addition & 1 deletion deployments/anvildev.browser/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See
https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax
for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down
2 changes: 1 addition & 1 deletion deployments/anvildev.gitlab/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See
https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax
for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down
15 changes: 7 additions & 8 deletions deployments/anvildev/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See

https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax

for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand All @@ -81,11 +81,11 @@ def env() -> Mapping[str, Optional[str]]:
# Set variables for the `anvildev` (short for AnVIL development)
# deployment here.
#
# Only modify this file if you intend to commit those changes. To change the
# environment with a setting that's specific to you AND the deployment, create
# a environment.local.py right next to this file and make your changes there.
# Settings applicable to all environments but specific to you go into
# environment.local.py at the project root.
# Only modify this file if you intend to commit those changes. To apply
# a setting that's specific to you AND the deployment, create an
# `environment.local.py` file right next to this one and apply that
# setting there. Settings that are applicable to all environments but
# specific to you go into `environment.local.py` at the project root.

'AZUL_DEPLOYMENT_STAGE': 'anvildev',

Expand Down Expand Up @@ -115,8 +115,7 @@ def env() -> Mapping[str, Optional[str]]:

'AZUL_ENABLE_MONITORING': '1',

# $0.382/h × 3 × 24h/d × 30d/mo = $825.12/mo
'AZUL_ES_INSTANCE_TYPE': 'r6gd.xlarge.elasticsearch',
'AZUL_ES_INSTANCE_TYPE': 'r6gd.large.elasticsearch',
'AZUL_ES_INSTANCE_COUNT': '2',

'AZUL_DEBUG': '1',
Expand Down
2 changes: 1 addition & 1 deletion deployments/anvilprod.browser/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See
https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax
for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down
2 changes: 1 addition & 1 deletion deployments/anvilprod.gitlab/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See
https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax
for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down
2 changes: 1 addition & 1 deletion deployments/anvilprod.shared/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def env() -> Mapping[str, Optional[str]]:
other environment variables in the form `{FOO}` where FOO is the name of an
environment variable. See
https://docs.python.org/3.11/library/string.html#format-string-syntax
https://docs.python.org/3.12/library/string.html#format-string-syntax
for the concrete syntax. These references will be resolved *after* the
overall environment has been compiled by merging all relevant
Expand Down
Loading
Loading