Skip to content

Conversation

@turegjorup
Copy link
Contributor

Use DRUSH_OPTIONS_URI (https://www.drush.org/13.x/using-drush-configuration/#environment-variables) to set site uri in drush options. This makes using --uri redundant.

Note: This is also helpful for setting cron tasks in Woodpecker workflows because we no longer needs to duplicate the site uri in the workflow files.

@turegjorup turegjorup requested review from cableman and rimi-itk April 6, 2025 08:00
@turegjorup turegjorup self-assigned this Apr 6, 2025
environment:
- PHP_MAX_EXECUTION_TIME=30
- PHP_MEMORY_LIMIT=128M
- COMPOSER_VERSION=2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we (still) need this to run composer 2?

Copy link
Contributor

@rimi-itk rimi-itk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we leave out the composer version stuff?

@turegjorup turegjorup merged commit 2683486 into develop Apr 7, 2025
7 checks passed
@turegjorup turegjorup deleted the feature/drush_options_uri_env branch April 7, 2025 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants