Create aliases using Drush

Created on 17 February 2024, 4 months ago

There is currently a drush command to create a domain what would be helpful is the ability to create a domain alias via drush to help in the DevOps / Automated workflow.

✨ Feature request
Status

Needs review

Version

2.0

Component

- Domain Alias

Created by

πŸ‡ΊπŸ‡ΈUnited States sean_e_dietrich Sacramento, CA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @sean_e_dietrich
  • Merge request !69Drush Command for Domain Aliases β†’ (Open) created by sean_e_dietrich
  • Status changed to Needs review 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States sean_e_dietrich Sacramento, CA

    I added a drush command that allowed for the following:

    drush domain-alias:list
    drush domain-alias:add
    drush domain-alias:update

    drush domain-alias:delete
    drush domain-alias:delete-bulk

    With the following, it should give basic CRUD the ability to manage domain aliases via Drush so that domain aliases can be created to use with systems like Tugboat or mostly any other dynamic staging environment where the URL isn't static.

  • Pipeline finished with Failed
    4 months ago
    Total: 1334s
    #97236
  • πŸ‡ΊπŸ‡ΈUnited States sean_e_dietrich Sacramento, CA

    I realized that it wasn't super clear on how to test this.

    1. Download Module
    2. Install domain and domain_alias modules.
    3. Must have Drush 11+ installed.
    4. Add Domain either through UI or using Drush command (drush help domain:add for more info)
    5. Test all the following commands:
      • List out Domain Aliases: drush domain-alias:list
      • Add Domain Alias: drush domain-alias:add
      • Update Domain Alias: drush domain-alias:update
      • Delete a Single Domain Alias: drush domain-alias:delete
      • Bulk Delete Aliases for a domain: drush domain-alias:delete-bulk
Production build 0.69.0 2024