Skip to content

Commit c65d443

Browse files
committed
Updated scripts to match their counterparts.
1 parent 4f37415 commit c65d443

17 files changed

Lines changed: 310 additions & 149 deletions

.vortex/CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ These modify many files and take 10-15 minutes.
9696
- Multi-line OK for: many parameters, arrays, chained methods, complex
9797
conditionals
9898

99-
10099
```text
101100
vortex/
102101
├── .vortex/ # Test harness and development tools

.vortex/tooling/scripts_conversion_plan.md

Lines changed: 92 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Convert all Vortex bash scripts (`scripts/vortex/*.sh`) to PHP scripts as a stan
4040

4141
### 📊 Test Statistics
4242

43-
- **Total Tests**: 383 tests, 1,740 assertions
43+
- **Total Tests**: 429 tests, 1,861 assertions
4444
- **Test Groups**:
4545
- `helpers` - 55 tests for core helper functions
4646
- `notify` - 132 tests for notification system
@@ -753,6 +753,90 @@ function mockFileGetContents(string $path, string $content): void
753753

754754
---
755755

756+
## ✅ Phase 5.5: Sync PHP Scripts with Shell Updates - COMPLETE
757+
758+
After the initial conversion in Phases 1-5, the shell scripts received updates that
759+
were not reflected in the PHP versions. This phase synchronized all differences.
760+
761+
### 5.5.1 Notification Scripts Sync
762+
763+
**notify (router):**
764+
- Added `VORTEX_NOTIFY_BRANCH` (required) variable
765+
- Added `VORTEX_NOTIFY_SHA` (required) variable
766+
- Added `VORTEX_NOTIFY_PR_NUMBER` (optional) variable
767+
- Changed `VORTEX_NOTIFY_ENVIRONMENT_URL` from optional to required
768+
- Added `putenv()` exports for branch, SHA, PR number, label, environment URL, login URL
769+
- Added detailed summary output matching shell format
770+
771+
**notify-slack:**
772+
- Fixed field order: Deployment, Time, Environment, Login (matching shell)
773+
- Added `footer: 'Vortex Deployment'` to Slack attachment
774+
775+
**notify-github:**
776+
- Added `VORTEX_NOTIFY_GITHUB_BRANCH` (with fallback to `VORTEX_NOTIFY_BRANCH`) as deployment ref
777+
- Replaced `$notify_label` with `$notify_branch` for all deployment API `ref` parameters
778+
- Fixed `VORTEX_NOTIFY_GITHUB_ENVIRONMENT_TYPE` default: falls back to `VORTEX_NOTIFY_LABEL` then `'PR'`
779+
780+
**notify-jira:**
781+
- Added `VORTEX_NOTIFY_JIRA_BRANCH` (with fallback to `VORTEX_NOTIFY_BRANCH`) for issue extraction
782+
- Changed issue extraction regex to match against branch (not label)
783+
- Replaced simple text-to-ADF with rich `build_adf_comment()` featuring clickable links, code marks, and hardBreaks
784+
785+
**notify-newrelic:**
786+
- Reordered variables: enabled check first, then required variables
787+
- Renamed `VORTEX_NOTIFY_NEWRELIC_USER_NAME` to `VORTEX_NOTIFY_NEWRELIC_USER` (matching shell)
788+
- Added `VORTEX_NOTIFY_NEWRELIC_SHA` (with fallback to `VORTEX_NOTIFY_SHA`)
789+
- Added SHA-based revision fallback before auto-generated LABEL-DATE-TIME pattern
790+
- Added required variable validation after enabled check (user API key)
791+
- Added numeric validation for app ID regardless of source
792+
793+
### 5.5.2 Deployment Scripts Sync
794+
795+
**deploy (router):**
796+
- Fixed `VORTEX_DEPLOY_ACTION` default from `'deploy'` to `''` (matching shell)
797+
798+
**deploy-artifact:**
799+
- Fixed SSH prefix from `DEPLOY` to `DEPLOY_ARTIFACT` (matching shell)
800+
- Added `VORTEX_DEPLOY_ARTIFACT_SSH_FINGERPRINT` and `VORTEX_DEPLOY_ARTIFACT_SSH_FILE` variable names with fallback chain
801+
- Updated git-artifact version from `~1.1` to `~1.2` (matching shell)
802+
803+
**deploy-lagoon:**
804+
- Added tag deployment check: early exit for tag mode (`'Lagoon does not support tag deployments. Skipping.'`)
805+
- Added `VORTEX_DEPLOY_MODE` variable
806+
- Added `VORTEX_DEPLOY_LAGOON_*` prefixed variable support with fallbacks:
807+
- `VORTEX_DEPLOY_LAGOON_ACTION` (fallback: `VORTEX_DEPLOY_ACTION`, default: `'create'`)
808+
- `VORTEX_DEPLOY_LAGOON_PROJECT` (fallback: `LAGOON_PROJECT`)
809+
- `VORTEX_DEPLOY_LAGOON_BRANCH` (fallback: `VORTEX_DEPLOY_BRANCH`)
810+
- `VORTEX_DEPLOY_LAGOON_PR` (fallback: `VORTEX_DEPLOY_PR`)
811+
- `VORTEX_DEPLOY_LAGOON_PR_HEAD` (fallback: `VORTEX_DEPLOY_PR_HEAD`)
812+
- `VORTEX_DEPLOY_LAGOON_PR_BASE_BRANCH` (fallback: `VORTEX_DEPLOY_PR_BASE_BRANCH`)
813+
- `VORTEX_DEPLOY_LAGOON_SSH_FINGERPRINT` (fallback chain)
814+
- `VORTEX_DEPLOY_LAGOON_SSH_FILE` (fallback chain)
815+
- `VORTEX_DEPLOY_LAGOON_LAGOONCLI_PATH` (fallback: `VORTEX_LAGOONCLI_PATH`)
816+
- `VORTEX_DEPLOY_LAGOON_LAGOONCLI_FORCE_INSTALL` (fallback: `VORTEX_LAGOONCLI_FORCE_INSTALL`)
817+
- `VORTEX_DEPLOY_LAGOON_LAGOONCLI_VERSION` (fallback: `VORTEX_LAGOONCLI_VERSION`)
818+
- Fixed SSH prefix from `DEPLOY` to `DEPLOY_LAGOON` (matching shell)
819+
820+
**login-container-registry:**
821+
- Added `VORTEX_LOGIN_CONTAINER_REGISTRY` (fallback: `VORTEX_CONTAINER_REGISTRY`)
822+
- Added `VORTEX_LOGIN_CONTAINER_REGISTRY_USER` (fallback: `VORTEX_CONTAINER_REGISTRY_USER`)
823+
- Added `VORTEX_LOGIN_CONTAINER_REGISTRY_PASS` (fallback: `VORTEX_CONTAINER_REGISTRY_PASS`)
824+
- Added `VORTEX_LOGIN_CONTAINER_REGISTRY_DOCKER_CONFIG` (fallback: `DOCKER_CONFIG`)
825+
826+
### 5.5.3 Test Updates
827+
828+
All test files updated to match script changes:
829+
- `NotifyGithubTest.php` - Updated for branch variable, assertions, and data providers
830+
- `NotifyJiraTest.php` - Updated for branch-based issue extraction
831+
- `NotifyNewrelicTest.php` - Updated for optional variables, custom error messages
832+
- `NotifyRouterTest.php` - Added required branch and SHA variables
833+
- `DeployArtifactTest.php` - Updated git-artifact version in mocks
834+
- `DeployLagoonTest.php` - Updated error message for new variable names
835+
836+
**All 429 tests passing with 1,861 assertions**
837+
838+
---
839+
756840
## Phase 6: Convert Remaining Scripts (TODO)
757841

758842
### Database Scripts
@@ -762,9 +846,11 @@ function mockFileGetContents(string $path, string $content): void
762846
4.`download-db-container-registry.sh` - Download from container registry
763847
5.`download-db-lagoon.sh` - Download from Lagoon
764848
6.`download-db-acquia.sh` - Download from Acquia
765-
7.`export-db.sh` - Export database router
766-
8.`export-db-file.sh` - Export to file
767-
9.`export-db-image.sh` - Export to container image
849+
7.`download-db-s3.sh` - Download from S3
850+
8.`upload-db-s3.sh` - Upload to S3
851+
9.`export-db.sh` - Export database router
852+
10.`export-db-file.sh` - Export to file
853+
11.`export-db-image.sh` - Export to container image
768854

769855
### Provisioning Scripts
770856
10.`provision.sh` - Main provisioning
@@ -1125,6 +1211,6 @@ All deployment scripts converted as a single milestone:
11251211
11261212
---
11271213
1128-
**Last Updated**: 2025-12-15
1129-
**Current Phase**: Phase 5 Complete ✅
1214+
**Last Updated**: 2026-02-20
1215+
**Current Phase**: Phase 5.5 Sync Complete ✅
11301216
**Next Milestone**: Phase 6 - Database download/export scripts

.vortex/tooling/src/deploy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ $deploy_mode = getenv_default('VORTEX_DEPLOY_MODE', 'branch');
4444
// - deploy: Deploy code and preserve database in the environment.
4545
// - deploy_override_db: Deploy code and override database in the environment.
4646
// - destroy: Destroy the environment (if the provider supports it).
47-
$deploy_action = getenv_default('VORTEX_DEPLOY_ACTION', 'deploy');
47+
$deploy_action = getenv_default('VORTEX_DEPLOY_ACTION', '');
4848

4949
// Deployment branch name.
5050
$deploy_branch = getenv_default('VORTEX_DEPLOY_BRANCH', NULL);

.vortex/tooling/src/deploy-artifact

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,13 @@ $deploy_git_user_email = getenv_required('VORTEX_DEPLOY_ARTIFACT_GIT_USER_EMAIL'
5454

5555
// SSH key fingerprint used to connect to remote.
5656
//
57-
// Falls back to $VORTEX_SSH_FINGERPRINT.
58-
$deploy_ssh_fingerprint = getenv_default('VORTEX_DEPLOY_SSH_FINGERPRINT', 'VORTEX_SSH_FINGERPRINT', '');
57+
// Falls back to VORTEX_DEPLOY_SSH_FINGERPRINT, then VORTEX_SSH_FINGERPRINT.
58+
$deploy_ssh_fingerprint = getenv_default('VORTEX_DEPLOY_ARTIFACT_SSH_FINGERPRINT', 'VORTEX_DEPLOY_SSH_FINGERPRINT', 'VORTEX_SSH_FINGERPRINT', '');
5959

6060
// Default SSH file used if custom fingerprint is not provided.
6161
//
62-
// Falls back to VORTEX_SSH_FILE.
63-
$deploy_ssh_file = getenv_default('VORTEX_DEPLOY_SSH_FILE', 'VORTEX_SSH_FILE', getenv('HOME') . '/.ssh/id_rsa');
62+
// Falls back to VORTEX_DEPLOY_SSH_FILE, then VORTEX_SSH_FILE.
63+
$deploy_ssh_file = getenv_default('VORTEX_DEPLOY_ARTIFACT_SSH_FILE', 'VORTEX_DEPLOY_SSH_FILE', 'VORTEX_SSH_FILE', getenv('HOME') . '/.ssh/id_rsa');
6464

6565
// -----------------------------------------------------------------------------
6666

@@ -86,16 +86,16 @@ if (empty($global_git_email)) {
8686
}
8787

8888
// Setup SSH.
89-
putenv('VORTEX_SSH_PREFIX=DEPLOY');
90-
!empty($deploy_ssh_fingerprint) && putenv('VORTEX_DEPLOY_SSH_FINGERPRINT=' . $deploy_ssh_fingerprint);
91-
!empty($deploy_ssh_file) && putenv('VORTEX_DEPLOY_SSH_FILE=' . $deploy_ssh_file);
89+
putenv('VORTEX_SSH_PREFIX=DEPLOY_ARTIFACT');
90+
!empty($deploy_ssh_fingerprint) && putenv('VORTEX_DEPLOY_ARTIFACT_SSH_FINGERPRINT=' . $deploy_ssh_fingerprint);
91+
!empty($deploy_ssh_file) && putenv('VORTEX_DEPLOY_ARTIFACT_SSH_FILE=' . $deploy_ssh_file);
9292
passthru(__DIR__ . '/setup-ssh', $exit_code);
9393
if ($exit_code !== 0) {
9494
quit($exit_code);
9595
}
9696

9797
task('Installing artifact builder.');
98-
passthru('composer global require --dev -n --ansi --prefer-source --ignore-platform-reqs drevops/git-artifact:~1.1', $exit_code);
98+
passthru('composer global require --dev -n --ansi --prefer-source --ignore-platform-reqs drevops/git-artifact:~1.2', $exit_code);
9999
if ($exit_code !== 0) {
100100
quit($exit_code);
101101
}

.vortex/tooling/src/deploy-lagoon

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -17,28 +17,33 @@ execute_override(basename(__FILE__));
1717

1818
// -----------------------------------------------------------------------------
1919

20+
// Deployment mode.
21+
//
22+
// Values can be one of: branch, tag.
23+
$deploy_mode = getenv_default('VORTEX_DEPLOY_MODE', 'branch');
24+
2025
// Deployment action.
2126
//
2227
// Values can be one of: deploy, deploy_override_db, destroy.
2328
// - deploy: Deploy code and preserve database in the environment.
2429
// - deploy_override_db: Deploy code and override database in the environment.
2530
// - destroy: Destroy the environment (if the provider supports it).
26-
$deploy_action = getenv_default('VORTEX_DEPLOY_ACTION', 'deploy');
31+
$deploy_action = getenv_default('VORTEX_DEPLOY_LAGOON_ACTION', 'VORTEX_DEPLOY_ACTION', 'create');
32+
33+
// The Lagoon project to perform deployment for.
34+
$lagoon_project = getenv_required('VORTEX_DEPLOY_LAGOON_PROJECT', 'LAGOON_PROJECT');
2735

2836
// The Lagoon branch to deploy.
29-
$deploy_branch = getenv_default('VORTEX_DEPLOY_BRANCH', NULL);
37+
$deploy_branch = getenv_default('VORTEX_DEPLOY_LAGOON_BRANCH', 'VORTEX_DEPLOY_BRANCH', NULL);
3038

3139
// The PR number to deploy.
32-
$deploy_pr = getenv_default('VORTEX_DEPLOY_PR', NULL);
40+
$deploy_pr = getenv_default('VORTEX_DEPLOY_LAGOON_PR', 'VORTEX_DEPLOY_PR', NULL);
3341

3442
// The PR head branch to deploy.
35-
$deploy_pr_head = getenv_default('VORTEX_DEPLOY_PR_HEAD', NULL);
43+
$deploy_pr_head = getenv_default('VORTEX_DEPLOY_LAGOON_PR_HEAD', 'VORTEX_DEPLOY_PR_HEAD', NULL);
3644

3745
// The PR base branch (the branch the PR is raised against).
38-
$deploy_pr_base_branch = getenv_default('VORTEX_DEPLOY_PR_BASE_BRANCH', 'develop');
39-
40-
// The Lagoon project to perform deployment for.
41-
$lagoon_project = getenv_required('LAGOON_PROJECT');
46+
$deploy_pr_base_branch = getenv_default('VORTEX_DEPLOY_LAGOON_PR_BASE_BRANCH', 'VORTEX_DEPLOY_PR_BASE_BRANCH', 'develop');
4247

4348
// The Lagoon instance name to interact with.
4449
$lagoon_instance = getenv_default('VORTEX_DEPLOY_LAGOON_INSTANCE', 'amazeeio');
@@ -54,30 +59,37 @@ $lagoon_instance_port = getenv_default('VORTEX_DEPLOY_LAGOON_INSTANCE_PORT', '32
5459

5560
// SSH key fingerprint used to connect to remote.
5661
//
57-
// Falls back to VORTEX_SSH_FINGERPRINT.
58-
$ssh_fingerprint = getenv_default('VORTEX_DEPLOY_SSH_FINGERPRINT', 'VORTEX_SSH_FINGERPRINT', NULL);
62+
// Falls back to VORTEX_DEPLOY_SSH_FINGERPRINT, then VORTEX_SSH_FINGERPRINT.
63+
$ssh_fingerprint = getenv_default('VORTEX_DEPLOY_LAGOON_SSH_FINGERPRINT', 'VORTEX_DEPLOY_SSH_FINGERPRINT', 'VORTEX_SSH_FINGERPRINT', NULL);
5964

6065
// Default SSH file used if custom fingerprint is not provided.
6166
//
62-
// Falls back to VORTEX_SSH_FILE.
63-
$ssh_file = getenv_default('VORTEX_DEPLOY_SSH_FILE', 'VORTEX_SSH_FILE', getenv('HOME') . '/.ssh/id_rsa');
67+
// Falls back to VORTEX_DEPLOY_SSH_FILE, then VORTEX_SSH_FILE.
68+
$ssh_file = getenv_default('VORTEX_DEPLOY_LAGOON_SSH_FILE', 'VORTEX_DEPLOY_SSH_FILE', 'VORTEX_SSH_FILE', getenv('HOME') . '/.ssh/id_rsa');
6469

6570
// Flag to control failure behavior when Lagoon environment limits are exceeded.
6671
$deploy_lagoon_fail_when_env_limit_exceeded = getenv_default('VORTEX_DEPLOY_LAGOON_FAIL_ENV_LIMIT_EXCEEDED', FALSE);
6772

6873
// Location of the Lagoon CLI binary.
69-
$lagooncli_path = getenv_default('VORTEX_LAGOONCLI_PATH', sys_get_temp_dir());
74+
$lagooncli_path = getenv_default('VORTEX_DEPLOY_LAGOON_LAGOONCLI_PATH', 'VORTEX_LAGOONCLI_PATH', sys_get_temp_dir());
7075

7176
// Flag to force the installation of Lagoon CLI.
72-
$lagooncli_force_install = getenv_default('VORTEX_LAGOONCLI_FORCE_INSTALL', FALSE);
77+
$lagooncli_force_install = getenv_default('VORTEX_DEPLOY_LAGOON_LAGOONCLI_FORCE_INSTALL', 'VORTEX_LAGOONCLI_FORCE_INSTALL', FALSE);
7378

7479
// Lagoon CLI version to use.
75-
$lagooncli_version = getenv_default('VORTEX_LAGOONCLI_VERSION', 'v0.32.0');
80+
$lagooncli_version = getenv_default('VORTEX_DEPLOY_LAGOON_LAGOONCLI_VERSION', 'VORTEX_LAGOONCLI_VERSION', 'v0.32.0');
7681

7782
// -----------------------------------------------------------------------------
7883

7984
info('Started LAGOON deployment.');
8085

86+
// Lagoon does not support tag deployments. Exit successfully with a message.
87+
if ($deploy_mode === 'tag') {
88+
note('Lagoon does not support tag deployments. Skipping.');
89+
pass('Finished LAGOON deployment.');
90+
quit(0);
91+
}
92+
8193
// Track exit status to return at the end.
8294
$exit_code = 0;
8395

@@ -90,9 +102,9 @@ if (empty($deploy_branch) && empty($deploy_pr)) {
90102
}
91103

92104
// Setup SSH.
93-
putenv('VORTEX_SSH_PREFIX=DEPLOY');
94-
!empty($ssh_fingerprint) && putenv('VORTEX_DEPLOY_SSH_FINGERPRINT=' . $ssh_fingerprint);
95-
!empty($ssh_file) && putenv('VORTEX_DEPLOY_SSH_FILE=' . $ssh_file);
105+
putenv('VORTEX_SSH_PREFIX=DEPLOY_LAGOON');
106+
!empty($ssh_fingerprint) && putenv('VORTEX_DEPLOY_LAGOON_SSH_FINGERPRINT=' . $ssh_fingerprint);
107+
!empty($ssh_file) && putenv('VORTEX_DEPLOY_LAGOON_SSH_FILE=' . $ssh_file);
96108
passthru(__DIR__ . '/setup-ssh', $ssh_exit_code);
97109
if ($ssh_exit_code !== 0) {
98110
quit($ssh_exit_code);

.vortex/tooling/src/login-container-registry

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ execute_override(basename(__FILE__));
2121
// Container registry URL.
2222
//
2323
// Examples: docker.io, gcr.io, ghcr.io
24-
$registry = getenv_default('VORTEX_CONTAINER_REGISTRY', 'docker.io');
24+
$registry = getenv_default('VORTEX_LOGIN_CONTAINER_REGISTRY', 'VORTEX_CONTAINER_REGISTRY', 'docker.io');
2525

2626
// Container registry username.
27-
$user = getenv_default('VORTEX_CONTAINER_REGISTRY_USER', NULL);
27+
$user = getenv_default('VORTEX_LOGIN_CONTAINER_REGISTRY_USER', 'VORTEX_CONTAINER_REGISTRY_USER', NULL);
2828

2929
// Container registry password.
30-
$pass = getenv_default('VORTEX_CONTAINER_REGISTRY_PASS', NULL);
30+
$pass = getenv_default('VORTEX_LOGIN_CONTAINER_REGISTRY_PASS', 'VORTEX_CONTAINER_REGISTRY_PASS', NULL);
3131

3232
// Docker configuration directory.
33-
$docker_config = getenv_default('DOCKER_CONFIG', getenv('HOME') . '/.docker');
33+
$docker_config = getenv_default('VORTEX_LOGIN_CONTAINER_REGISTRY_DOCKER_CONFIG', 'DOCKER_CONFIG', getenv('HOME') . '/.docker');
3434

3535
// -----------------------------------------------------------------------------
3636

@@ -47,5 +47,5 @@ elseif (!empty($user) && !empty($pass)) {
4747
}
4848
}
4949
else {
50-
note('Skipping login to the container registry as either VORTEX_CONTAINER_REGISTRY_USER or VORTEX_CONTAINER_REGISTRY_PASS was not provided.');
50+
note('Skipping login to the container registry as either VORTEX_LOGIN_CONTAINER_REGISTRY_USER or VORTEX_CONTAINER_REGISTRY_USER or VORTEX_LOGIN_CONTAINER_REGISTRY_PASS or VORTEX_CONTAINER_REGISTRY_PASS was not provided.');
5151
}

.vortex/tooling/src/notify

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,22 @@ $event = getenv('VORTEX_NOTIFY_EVENT') ?: 'post_deployment';
3030
// Notification project name.
3131
$project = getenv('VORTEX_NOTIFY_PROJECT') ?: getenv('VORTEX_PROJECT');
3232

33-
// Notification deployment label (branch name, PR number, or custom identifier).
33+
// Notification git branch name.
34+
$branch = getenv_required('VORTEX_NOTIFY_BRANCH');
35+
36+
// Notification git commit SHA.
37+
$sha = getenv_required('VORTEX_NOTIFY_SHA');
38+
39+
// Notification pull request number.
40+
$pr_number = getenv_default('VORTEX_NOTIFY_PR_NUMBER', '');
41+
42+
// Notification deployment label (human-readable identifier for display).
3443
$label = getenv_required('VORTEX_NOTIFY_LABEL');
3544

3645
// Notification environment URL (where the site was deployed).
37-
$env_url = getenv('VORTEX_NOTIFY_ENVIRONMENT_URL');
46+
$env_url = getenv_required('VORTEX_NOTIFY_ENVIRONMENT_URL');
3847

39-
// Notification login URL (defaults to ENVIRONMENT_URL/user/login).
48+
// Notification login URL.
4049
$login_url = getenv_default('VORTEX_NOTIFY_LOGIN_URL', $env_url . '/user/login');
4150

4251
// Notification skip flag.
@@ -62,6 +71,25 @@ if (!in_array($event, ['pre_deployment', 'post_deployment'])) {
6271
fail('Unsupported event %s provided.', $event);
6372
}
6473

74+
// Export variables so notification scripts can use them.
75+
putenv('VORTEX_NOTIFY_BRANCH=' . $branch);
76+
putenv('VORTEX_NOTIFY_SHA=' . $sha);
77+
putenv('VORTEX_NOTIFY_PR_NUMBER=' . $pr_number);
78+
putenv('VORTEX_NOTIFY_LABEL=' . $label);
79+
putenv('VORTEX_NOTIFY_ENVIRONMENT_URL=' . $env_url);
80+
putenv('VORTEX_NOTIFY_LOGIN_URL=' . $login_url);
81+
82+
info('Notification summary:');
83+
note('Project : ' . $project);
84+
note('Branch : ' . $branch);
85+
note('SHA : ' . $sha);
86+
note('PR Number : ' . ($pr_number ?: '<none>'));
87+
note('Label : ' . $label);
88+
note('Environment URL: ' . $env_url);
89+
note('Login URL : ' . $login_url);
90+
note('Event : ' . $event);
91+
note('Channels : ' . implode(',', $channels));
92+
6593
foreach ($channels as $channel) {
6694
$script = __DIR__ . ('/notify-' . $channel);
6795

0 commit comments

Comments
 (0)