Skip to content

Instantly share code, notes, and snippets.

@lnoering
Created November 16, 2022 15:26

Revisions

  1. lnoering created this gist Nov 16, 2022.
    26 changes: 26 additions & 0 deletions cloud-new-environment.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,26 @@
    ## Creating new environment to test the upgrade

    1 - Create new branch from master
    ```bash
    git checkout -b cloud/upgrade-2.4.5
    ```

    2 - Push that branch to cloud
    ```bash
    git push -u cloud cloud/upgrade-2.4.5:upgrade-2.4.5
    ```

    3 - Set that branch to the environment with parent staging
    ```bash
    magento-cloud environment:info -e upgrade-2.4.5 parent staging
    ```

    4 - Ative o environment
    ```bash
    magento-cloud environment:activate -e upgrade-2.4.5
    ```

    5 - List your environments
    ```bash
    magento-cloud environment:list
    ```