You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were using the sleeper builder Docker image to run deployments of Sleeper in the environment EC2 that we deploy with sleeper environment. Now that we have Nix on the environment EC2, that should no longer be necessary.
There's a separate issue to remove the builder image from the CLI, which can be done after this:
We'd like to remove the Sleeper CLI from the environment EC2.
Analysis
The documentation will need to be updated to use Nix in the environment EC2 instead of sleeper builder.
The Sleeper CLI will need to be removed from the cloud-init script for the environment EC2 (at java/cdk-environment/src/main/resources/cloud-init.sh), and from the script to add a user to the environment EC2 (at scripts/cli/environment/scripts/subcommands/adduser.sh).
We'll need to convert the nightly system tests cron job to run in nix-shell instead of a sleeper builder Docker container.
The text was updated successfully, but these errors were encountered:
This doesn't seem to be possible for now, since we can't use Nix to replace the builder image.
The Nix package for the AWS CLI overwrites the base Python package and environment, so that any Python in the Nix shell has a number of libraries pinned to versions that are specific to the AWS CLI. That means we can't use our own Python code in the Nix shell because the versions conflict with the AWS CLI.
Background
Split from:
We were using the
sleeper builder
Docker image to run deployments of Sleeper in the environment EC2 that we deploy withsleeper environment
. Now that we have Nix on the environment EC2, that should no longer be necessary.There's a separate issue to remove the builder image from the CLI, which can be done after this:
Description
We'd like to remove the Sleeper CLI from the environment EC2.
Analysis
The documentation will need to be updated to use Nix in the environment EC2 instead of
sleeper builder
.The Sleeper CLI will need to be removed from the cloud-init script for the environment EC2 (at java/cdk-environment/src/main/resources/cloud-init.sh), and from the script to add a user to the environment EC2 (at scripts/cli/environment/scripts/subcommands/adduser.sh).
We'll need to convert the nightly system tests cron job to run in nix-shell instead of a sleeper builder Docker container.
The text was updated successfully, but these errors were encountered: