Skip to content

Improve "Using Pulumi Deployments" #11578

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

Open
jkodroff opened this issue Oct 24, 2023 · 0 comments · May be fixed by #15073
Open

Improve "Using Pulumi Deployments" #11578

jkodroff opened this issue Oct 24, 2023 · 0 comments · May be fixed by #15073
Assignees
Labels
area/docs Improvements or additions to documentation impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features

Comments

@jkodroff
Copy link
Member

jkodroff commented Oct 24, 2023

File: themes/default/content/docs/pulumi-cloud/deployments/reference.md

The "Using Deployments" page in the docs is currently one long page, which makes it difficult to scan and consume. In addition, the content is haphazardly organized.

The content should be organized as follows, without any major changes to the content:

  • Using Deployments: (converted to a landing/overview page)
    • Deployment Settings
    • Deployment Triggers
    • Private Git Repositories and Package Feeds (give this a shorter title)
    • Post-Deployment Automation

Details on each page's content below:

Using Deployments

This should be a git mv from the original, long page. It should be named _index.md and in a new subdirectory called using.

Explain to the user that:

  • Deployments are configured on a per-stack basis
  • First you set up deployment settings, explain in brief what these entail and give a link to the page
  • Then you'll want to set up triggers. A good starting point is:
    • Preview when a PR is created
    • Update when a PR is merged to main
  • Then, you may want to expand Deployments usage to:
    • Drift detection
    • Review stacks for temporary environments on PRs
    • TTL stacks for ephemeral environments
    • Dependent stack updates (like for dev -> staging -> prod)
    • Webhooks
  • Note that Deployments can be automated for usage at scale via:
    • The Pulumi Cloud provider (give a link to the Deployment Settings resource in the registry at /registry/packages/pulumiservice/api-docs/deploymentsettings)
    • The REST API

Deployments Settings Page

Add some summary text to the top of the page, and then include these sections from the prior content, in order:

  • Creating Deployment Settings
  • Deployment Runner Pools
  • Pre-Run Commands
  • Path filtering
  • Skipping automatic dependency installation
  • Skipping intermediate deployments
  • Custom executor images (renamed from "customizing the deployment environment")
    • Add in a caveat that we only support static credentials using the note "info" shortcode
  • Environment variables
  • Open ID Connect (OIDC)

Deployment Triggers

Add some summary text to the top of the page, the include the following sections from the original single-page content, in order:

  • Click to Deploy
  • GitHub Push to Deploy
  • TTL Stacks
  • Review Stacks
  • REST API

Private Git Repos and Package Feeds

Include the relevant sections from the original single-page content and add an introductory paragraph

Post-Deployment Automation

Move the content here that talks about dependent stack updates, and mention any applicable webhooks.

@jkodroff jkodroff added needs-triage Needs attention from the triage team impact/usability Something that impacts users' ability to use the product easily and intuitively labels Oct 24, 2023
@toriancrane toriancrane added area/docs Improvements or additions to documentation kind/enhancement Improvements or new features labels Oct 25, 2023
@desteves desteves removed the needs-triage Needs attention from the triage team label Nov 20, 2023
@sean1588 sean1588 transferred this issue from pulumi/pulumi-hugo May 10, 2024
@jkodroff jkodroff self-assigned this Feb 25, 2025
@jkodroff jkodroff linked a pull request May 16, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docs Improvements or additions to documentation impact/usability Something that impacts users' ability to use the product easily and intuitively kind/enhancement Improvements or new features
Projects
Status: 🧳 Backlog
Development

Successfully merging a pull request may close this issue.

3 participants