Sign inSign up

aligent/magento-cloud-deploy-pipe

By aligent

•Updated 25 days ago

Image
0

3.2K

aligent/magento-cloud-deploy-pipe repository overview

⁠Aligent Magento Cloud Deploy Pipe

This pipe is used to relay commits to Magento Cloud to trigger deployments.

⁠YAML Definition

Add the following your bitbucket-pipelines.yml file:

      - step:
          name: "Git commit relay"
          script:
            - pipe: docker://aligent/magento-cloud-deploy-pipe:latest
              variables:
                MAGENTO_CLOUD_REMOTE: "[email protected]"

⁠Variables

VariableUsage
MAGENTO_CLOUD_REMOTEThe git remote where commits will be relayed
NR_APP_ID(Optional) The NewRelic App ID the deployment marker will be created in
NR_USER_KEY(Optional) The NewRelic User Key for API Calls
NR_ALERT_MUTING_RULE_ID(Optional) The NewRelic Alert Mute Rule ID used for suppressing alerts during deployment
NR_ACCOUNT_ID(Optional) The NewRelic Account ID that the deployment will suppress the alerts
MAGENTO_CLOUD_CLI_TOKEN(Optional) Magento Cloud Deploy User API token, for automatic redeploy on transient failure
DEBUG(Optional) Turn on extra debug information. Default: false.
  • Note that you need nr-deployment.json.template file under the project root with the content below to enable the NR deployment marker:
{
    "deployment": {
        "revision": "GITSHA"
    }
}

⁠Development

Commits published to the main branch will trigger an automated build for the latest tag in DockerHub

Tag summary

Content type

Image

Digest

sha256:209c697e4…

Size

26.8 MB

Last updated

25 days ago

docker pull aligent/magento-cloud-deploy-pipe