Skip to main content

StrongMind Deployment

What?

Deployment scripts for StrongMind, using Pulumi.

Development

Write pytest tests for functionality you need. When you need to use this with real AWS resources in a development environment, you'll need to follow these steps.

  • Log your shell into the AWS account you're test deploying to (If you don't already have access keys set up, you can find how to do this in the Amazon SSO portal, under "Programmatic Access")
  • Find the relevant container image you're deploying from ECR. (Choose the relevant project container, then the image tag, and then copy the URI field).
  • Find the Rails Master Key for that project. Usually this is kept in the github actions secrets for that project.
  • Get the cloudflare API token and pulumi state passwords from bitwarden if you have access, or get this from devops otherwise.
  • Use these to construct an environment in your preferred fashion with the following keys
    • CONTAINER_IMAGE
    • RAILS_MASTER_KEY
    • CLOUDFLARE_API_TOKEN
    • PULUMI_CONFIG_PASSPHRASE
  • In the project that you are testing with, in the infrastructure directory, there will be a requirements.txt file. In order to use your development code, rather than the published version of this library, you will need to change the line that says "strongmind_deployment" to -e /path/to/this/directory, using the directory that this README is located in.
  • Reinstall the requirements in your pulumi infrastructure directory. Usually this looks like
source venv/bin/activate
pip install -r requirements.txt

You can now use pulumi commands like pulumi preview and pulumi up to make changes.

We usually use the frozen-desserts application to do simple tests of a non-production application.

Metadata

Release files for strongmind-deployment 1.1.304

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for strongmind-deployment 1.1.304
File Interpreter ABI Platform Actions
strongmind_deployment-1.1.304-py3-none-any.whl Python 3 none any Details for strongmind_deployment-1.1.304-py3-none-any.whl

Release files / strongmind_deployment-1.1.304-py3-none-any.whl

Download URL strongmind_deployment-1.1.304-py3-none-any.whl
Size 57.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebe43bf4909ff974e28d341ddbcb528536bb70d655673593a7387542294d1a14
BLAKE2b-256 checksum
How to use checksums
70231346e4ed8c9c0e6ad5a886ea754b5e6592dfec49bc9403e1286b9be55568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for strongmind-deployment 1.1.304

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.304 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page