Rory de Zoete
3c4f5af1b9
Try depot.dev for image building ( #3768 )
...
To see if it is faster. Run side-by-side for a while so we can gather
enough data.
2023-03-10 11:11:39 +01:00
Sergey Melnikov
9f906ff236
Add pageserver-2.us-east-2.aws.neon.tech ( #3701 )
2023-02-23 19:56:21 +01:00
Lassi Pölönen
b0311cfdeb
Change the production neon-proxy-scram update strategy to RollingUpdate ( #3683 )
...
## Describe your changes
The same change in production as was done in staging by
https://github.com/neondatabase/neon/pull/3678
## Issue ticket number and link
https://github.com/neondatabase/neon/issues/3333
2023-02-22 20:15:37 +02:00
Lassi Pölönen
965b4f4ae2
Change the staging neon-proxy-scram update strategy to RollingUpdate ( #3678 )
...
## Describe your changes
When we deploy the proxy with the default Recreate strategy, there's
always some downtime and existing connections will be shut down. Change
the strategy to RollingUpdate and delay the kill signal by one week. AWS
Network Loadbalancer keeps the existing connections alive for as long as
the pods are alive, but will direct new connections to new pods.
## Issue ticket number and link
https://github.com/neondatabase/neon/issues/3333
2023-02-22 16:50:07 +02:00
Arthur Petukhovsky
95018672fa
Remove safekeeper-1.ap-southeast-1.aws.neon.tech ( #3671 )
...
We migrated all timelines to
`safekeeper-3.ap-southeast-1.aws.neon.tech`, now old instance can be
removed.
2023-02-22 11:55:41 +02:00
Sergey Melnikov
2caece2077
Add -v to ansible invocations ( #3670 )
...
To get more debug output on failures
2023-02-21 23:11:52 +03:00
Sergey Melnikov
e3d75879c0
Use fqdn to access console management API on production ( #3651 )
...
console-release.local is legacy manual CNAME to
neon-internal-api.aws.neon.tech in r53
We could use neon-internal-api.aws.neon.tech name directly
This already was deployed to staging in
https://github.com/neondatabase/neon/pull/3642
2023-02-20 18:11:06 +01:00
Sergey Melnikov
d5d690c044
Use fqdn for staging console management API ( #3642 )
...
`console-staging.local` is legacy manual CNAME to
`neon-internal-api.aws.neon.build` in r53
We could use `neon-internal-api.aws.neon.build` name directly
2023-02-20 16:05:21 +01:00
Arthur Petukhovsky
8f557477c6
Add new safekeeper to ap-southeast-1 prod ( #3645 )
2023-02-20 17:51:27 +03:00
sharnoff
2153d2e00a
Run compute_ctl in a cgroup in VMs ( #3577 )
2023-02-17 14:14:41 -08:00
Christian Schwarz
8d28a24b26
staging: enable automatic layer eviction at 20m threshold + period ( #3636 )
...
What it says on the tin.
Part of #2476
2023-02-17 18:32:01 +02:00
Sergey Melnikov
a1b062123b
Do not deploy storage to old account ( #3630 )
...
It's gone
2023-02-16 20:28:53 +00:00
Sergey Melnikov
eb21d9969d
Add pageserver-3.us-west-2.aws.neon.tech ( #3603 )
2023-02-14 12:56:03 +01:00
Rory de Zoete
1b9e5e84aa
Add new storage hosts for placement group test ( #3561 )
...
To test the placement group setup
2023-02-08 16:48:29 +01:00
Sergey Melnikov
c5c14368e3
Fix deploy-prod.yml syntax ( #3556 )
2023-02-07 15:27:31 +01:00
Sergey Melnikov
1254dc7ee2
Fix production deploy: run as root to access docker ( #3555 )
2023-02-07 15:21:15 +01:00
Sergey Melnikov
959f5c6f40
Do not deploy legacy scram proxy (*.cloud.neon.tech) to the old account ( #3546 )
...
We have migrated to the new proxy, which was setup in
https://github.com/neondatabase/neon/pull/3461
2023-02-06 15:51:20 +01:00
Kirill Bulatov
f474495ba0
Publish builds stats that are easy to browse ( #3514 )
...
Adds two new tags, `run-extra-build-macos` and `run-extra-build-stats`
to trigger corresponding build jobs on any PR.
On every build for `main` or PR with `run-extra-build-stats` tag, publish a GitHub commit status with the link to the `cargo build --all --release --timings` report.
2023-02-02 11:18:42 +02:00
Shany Pozin
bf1c36a30c
Moving the template file location ( #3523 )
...
see
https://github.com/appsmithorg/appsmith/issus/826#issuecomment-703093426
for details
2023-02-02 11:02:47 +02:00
Alexander Bayandin
567b71c1d2
Require poetry 1.3; regenerate poetry.lock ( #3508 )
...
Ref https://python-poetry.org/blog/announcing-poetry-1.3.0/#new-lock-file-format
2023-02-01 18:11:00 +00:00
Sergey Melnikov
f3dadfb3d0
Confirm that there is an emergency before manual execution of prod deploy workflow ( #3507 )
...

2023-02-01 16:01:27 +01:00
Sergey Melnikov
847fc566fd
Use the same runners/container for old prod deployments as for new prod
2023-01-31 17:40:24 +01:00
Vadim Kharitonov
a7d8bfa631
Fix create release PR
2023-01-31 14:36:04 +01:00
Sergey Melnikov
0806a46c0c
Fix production deploy ( #3498 )
...
`get_binaries.sh` no longer use `RELEASE` environmental variable, it
just use `DOCKER_TAG`
2023-01-31 13:36:25 +01:00
Sergey Melnikov
5e08b35f53
Fix new deploy workflow ( #3492 )
...
Add 'branch' input to specify commit for deploy scripts/configs. Commit
can't be passed to workflow as ref, and we need to pin configs to
specific commit for main/release deploys
Update deploy input descriptions to match GH interface
2023-01-30 22:08:00 +01:00
Sergey Melnikov
82cbcb36ab
Extract neon deploy jobs into separate workflows ( #3424 )
...
Extract deploy jobs from build_and_test.yml to deploy-dev and
deploy-prod workflows.
Add trigger to run this workflows after Neon is build and tested on main and
release branches.
This will allow us to redeploy/rollback/patch config without full
rebuild.
2023-01-30 20:10:54 +01:00
Vadim Kharitonov
ec0e641578
Create Release PR: review fixes
2023-01-30 16:15:22 +01:00
Rory de Zoete
7bb13569b3
Switch more jobs to small runner ( #3483 )
...
As these jobs don't benefit from additional cores
Co-authored-by: Rory de Zoete <rdezoete@RorysMacStudio.fritz.box >
2023-01-30 14:00:44 +01:00
Vadim Kharitonov
5fc233964a
Create release PR
2023-01-30 12:44:48 +01:00
Rory de Zoete
4d291d0e90
Prevent assume error ( #3476 )
...
To fix `Error: The requested DurationSeconds exceeds the
MaxSessionDuration set for this role.`
Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box >
2023-01-27 19:27:23 +01:00
Rory de Zoete
4718c67c17
Update deploy steps ( #3470 )
...
First one isn't optimal, but as it was requested to run the runner as
nonroot ->
https://github.com/neondatabase/runner/pull/1#discussion_r1069909593
this job will need more significant refactoring. This should unblock the
deployment process.
---------
Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box >
2023-01-27 18:05:49 +01:00
Rory de Zoete
8342e9ea6f
Update helm job ( #3467 )
...
As followup from https://github.com/neondatabase/build/pull/47
Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box >
2023-01-27 13:28:26 +01:00
Rory de Zoete
2388981311
Add cleanup tasks for ansible and helm ( #3465 )
...
To fix:
https://github.com/neondatabase/neon/actions/runs/4023027504/jobs/6913421070
https://github.com/neondatabase/neon/actions/runs/4023027504/jobs/6913421268
Co-authored-by: Rory de Zoete <rdezoete@RorysMacStudio.fritz.box >
2023-01-27 11:20:51 +01:00
Sergey Melnikov
fb721cdfa5
Setup legacy scram proxy in the new account ( #3461 )
...
This setup proxies with *.cloud.neon.tech certificate in the us-west-2
region of the new account, we are not switching to them here yet
2023-01-27 11:05:05 +01:00
Sergey Melnikov
2ecd0e1f00
Decommission link proxy from old account ( #3454 )
2023-01-26 16:18:57 +01:00
Rory de Zoete
b858d70f19
Update promote job ( #3455 )
...
To fix errors such as:
`An error occurred (ImageAlreadyExistsException) when calling the
PutImage operation: Image with digest
'sha256:da6d8ad97d84e3aec4e6a240c3a35868b626692ee5d199cdd3fe45d29a8e54df'
and tag 'latest' already exists in the repository with name
'compute-node-v14' in registry with id '369495373322'`
Co-authored-by: Rory de Zoete <rdezoete@RorysMacStudio.fritz.box >
Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box >
2023-01-26 14:26:23 +01:00
Rory de Zoete
4bcbb7793d
Revert docker hub job ( #3453 )
...
Regression fix as permissions aren't configured properly on gen3 for
this job.
Co-authored-by: Rory de Zoete <rdezoete@RorysMacStudio.fritz.box >
2023-01-26 11:30:53 +01:00
Rory de Zoete
cd5732d9d8
Gen3 runners ( #3220 )
...
https://github.com/neondatabase/cloud/issues/2738
Co-authored-by: Rory de Zoete <rdezoete@Rorys-Mac-Studio.fritz.box >
Co-authored-by: Rory de Zoete <rdezoete@RorysMacStudio.fritz.box >
2023-01-26 10:46:06 +01:00
Sergey Melnikov
4b8dbea5c1
Add production link proxy to new account ( #3444 )
...
This PR setup link proxy in us-east-2 region, but do not redirect
pg.neon.tech DNS name to it
Will keep old link proxy for the time of migration
2023-01-25 17:15:56 +01:00
Vadim Kharitonov
00f1f54b7a
Leave one Dockerfile
2023-01-25 15:10:45 +01:00
Sergey Melnikov
dee71404a2
Use TLS for staging link proxy ( #3443 )
...
Fixes #3416 on staging
Adding domain parameter result in:
* Issuing TLS cert for that domain
* Passing that cert to proxy with `--tls-key`/`--tls-cert`
2023-01-25 14:39:55 +01:00
Sergey Melnikov
aabca55d7e
Migrate update version to management APIv2 ( #3430 )
2023-01-24 17:18:16 +01:00
Shany Pozin
a44e5eda14
Adding pageserver3 to staging ( #3403 )
2023-01-23 14:08:48 +01:00
Vadim Kharitonov
e59d32ac5d
Change SENTRY_ENVIRONMENT from "development" to "staging"
2023-01-18 16:34:49 +01:00
Anastasia Lubennikova
506086a3e2
Fix metric_collection_endpoint for prod.
...
It was incorrectly set to staging url
2023-01-18 16:35:43 +02:00
Anastasia Lubennikova
9d3992ef48
Increase metric_collection_interval for proxy on prod
...
to not owerwhelm the service
2023-01-17 15:50:19 +02:00
Anastasia Lubennikova
7624963e13
Enable metric_collection_endpoint for proxy on prod
...
in all regions
2023-01-17 13:43:50 +02:00
Anastasia Lubennikova
63e3b815a2
Enable metric_collection_endpoint for pageserver on prod
...
in all regions
2023-01-17 13:43:50 +02:00
sharnoff
f8e887830a
build: Use curl -f on vm-informant download ( #3363 )
...
Without this, we can silently fail
2023-01-17 10:38:33 +01:00
Anastasia Lubennikova
e067cd2947
Enable metric collection for proxy on staging
2023-01-16 21:15:42 +02:00