Skip to content
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

Bump deployer/deployer from 6.8.0 to 7.2.1 #1284

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Mar 2, 2023

Bumps deployer/deployer from 6.8.0 to 7.2.1.

Release notes

Sourced from deployer/deployer's releases.

v7.2.1

  • Fixed branch deploy for clone strategy.
  • Fixed Shopware Flex build.sh file name (#3513)
  • Fixed bin/console calls in Shopware recipe (#3512)

v7.2.0

What's Changed

New Contributors

Full Changelog: deployphp/deployer@v7.1.4...v7.2.0

v7.1.4

What's Changed

New Contributors

Full Changelog: deployphp/deployer@v7.1.3...v7.1.4

v7.1.3

Fixes previously broken build.

v7.1.3-beta.1

No release notes provided.

v7.1.1

  • Added support for php8.2.
  • Fixed YAML import order bug.

v7.1.0

  • Fixed PHP 8.1.14 compatibilities.
  • Added Magento2 artifact deployment (#3317)
  • Added pub/static/_cache as shared_dir (#3343)
  • Added NewRelic endpoint to config and used it when posting to api (#3374)
  • Fix: use include path when importing YAML files (#3377)

... (truncated)

Upgrade guide

Sourced from deployer/deployer's upgrade guide.

Upgrade a major version

Upgrade from 6.x to 7.x

Step 1: Update deploy.php

  1. Change config hostname to alias.

  2. Change config real_hostname to hostname.

  3. Change config user to remote_user.

  4. Update host() definitions:

    1. Add set prefix to all setters: identityFile -> setIdentityFile or set('identity_file')
    2. Update host(...)->addSshOption('UserKnownHostsFile', '/dev/null') to host(...)->setSshArguments(['-o UserKnownHostsFile=/dev/null']);
    3. Replace stage with labels, i.e.
      host('deployer.org')
          ->set('labels', ['stage' => 'prod']);
      When deploying instead of dep deploy prod use dep deploy stage=prod.
    4. alias() is deleted, host() itself sets alias and hostname, to override hostname use setHostname().
  5. Update task() definitions.

    1. Replace onRoles() with select():
      task(...)
          ->select('stage=prod');
  6. Third party recipes now live inside main Deployer repo in contrib:

    require 'contrib/rsync.php';
  7. Replace inventory() with import(). It now can import hosts, configs, tasks:

    import: recipe/common.php
    config:
    application: deployer
    shared_dirs:
    - uploads
    - storage/logs/
    - storage/db
    shared_files:
    - .env
    - config/test.yaml
    keep_releases: 3
    http_user: false
    hosts:
    prod:
    local: true

... (truncated)

Commits
  • 61314b1 Deployer 7.2.1
  • e0b59ec Added a note about missing ssh-option. Fixes issue deployphp/deployer… (#3520)
  • 2ac3b89 Fix branch deploy for clone strategy
  • fa2ce9a Shopware Flex has no build.sh anymore (#3513)
  • aeec635 Fixed bin/console calls in shopware recipe (#3512)
  • 6190cbe fix typo in magento recipe (#3498)
  • 75e5bc0 Add PUT to Httpie.php (#3497)
  • 3953996 Add remote option to update_code_strategy to rename remote to repository (#3466)
  • ede6594 Prevent type errors when supplied timeout options are not numeric (#3484)
  • 762a177 Magento: allow subdirectory and create variable for bin/magento (#3460)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [deployer/deployer](https://github.com/deployphp/deployer) from 6.8.0 to 7.2.1.
- [Release notes](https://github.com/deployphp/deployer/releases)
- [Upgrade guide](https://github.com/deployphp/deployer/blob/master/docs/UPGRADE.md)
- [Commits](deployphp/deployer@v6.8.0...v7.2.1)

---
updated-dependencies:
- dependency-name: deployer/deployer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 2, 2023
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 2, 2023

Dependabot tried to add @dmetzner as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/mahmoudZkhalil/Catroweb/pulls/1284/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the mahmoudZkhalil/Catroweb repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
0 participants