Skip to content

Bump api-client to version 3.3.0 (#326) #374

Bump api-client to version 3.3.0 (#326)

Bump api-client to version 3.3.0 (#326) #374

GitHub Actions / Tests report succeeded Aug 4, 2024 in 1s

58 passed, 0 failed and 0 skipped

Tests passed successfully

✅ reports/jest-junit.xml

58 tests were completed in 11s with 58 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
source/tasks/BuildInformation/BuildInformationV6/inputCommandBuilder.test.ts 3✅ 8s
source/tasks/BuildInformation/BuildInformationV6/overwriteMode.test.ts 2✅ 573ms
source/tasks/CreateOctopusRelease/CreateOctopusReleaseV5/createRelease.test.ts 2✅ 524ms
source/tasks/CreateOctopusRelease/CreateOctopusReleaseV6/inputCommandBuilder.test.ts 5✅ 8s
source/tasks/Deploy/DeployV5/deploy.test.ts 2✅ 559ms
source/tasks/Deploy/DeployV6/inputCommandBuilder.test.ts 5✅ 836ms
source/tasks/DeployTenant/TenantedDeployV6/inputCommandBuilder.test.ts 5✅ 674ms
source/tasks/OctoCli/OctoCliV5/octoCli.test.ts 1✅ 288ms
source/tasks/OctoInstaller/OctoInstallerV5/installer.test.ts 3✅ 2s
source/tasks/OctoInstaller/OctoInstallerV5/octopusCLIVersionFetcher.test.ts 8✅ 492ms
source/tasks/OctoInstaller/OctoInstallerV6/downloadEndpointRetriever.test.ts 3✅ 8s
source/tasks/OctoInstaller/OctoInstallerV6/octopusCLIVersionResolver.test.ts 8✅ 571ms
source/tasks/OctopusMetadata/OctopusMetadataV5/buildInformation.test.ts 1✅ 9s
source/tasks/Promote/PromoteV5/promote.test.ts 1✅ 541ms
source/tasks/Push/PushV5/push.test.ts 2✅ 830ms
source/tasks/RunRunbook/RunRunbookV6/inputCommandBuilder.test.ts 1✅ 655ms
source/tasks/Utils/command-line-args.test.ts 6✅ 568ms

✅ source/tasks/BuildInformation/BuildInformationV6/inputCommandBuilder.test.ts

getInputCommand
  ✅ all regular fields supplied
  ✅ missing parameters
  ✅ missing package version

✅ source/tasks/BuildInformation/BuildInformationV6/overwriteMode.test.ts

getInputCommand
  ✅ second run
  ✅ user provided

✅ source/tasks/CreateOctopusRelease/CreateOctopusReleaseV5/createRelease.test.ts

Create Release
  ✅ Create a minimum release
  ✅ Create a release and deployment

✅ source/tasks/CreateOctopusRelease/CreateOctopusReleaseV6/inputCommandBuilder.test.ts

getInputCommand
  ✅ all regular fields supplied
  ✅ packages in additional fields
  ✅ release notes file
  ✅ specifying both release notes and release notes file causes error
  ✅ duplicate variable name, variables field takes precedence

✅ source/tasks/Deploy/DeployV5/deploy.test.ts

Deploy Release
  ✅ Create a minimum deployment
  ✅ Create a deployment

✅ source/tasks/Deploy/DeployV6/inputCommandBuilder.test.ts

getInputCommand
  ✅ all regular fields supplied
  ✅ variables in additional fields
  ✅ missing space
  ✅ duplicate variable name, variables field takes precedence
  ✅ multiline environments

✅ source/tasks/DeployTenant/TenantedDeployV6/inputCommandBuilder.test.ts

getInputCommand
  ✅ all regular fields supplied
  ✅ variables in additional fields
  ✅ missing space
  ✅ duplicate variable name, variables field takes precedence
  ✅ validate tenants and tags

✅ source/tasks/OctoCli/OctoCliV5/octoCli.test.ts

Promote Release
  ✅ Run a simple promote

✅ source/tasks/OctoInstaller/OctoInstallerV5/installer.test.ts

OctoInstaller
  ✅ Installs specific version
  ✅ Installs wildcard version
  ✅ Installs latest of latest

✅ source/tasks/OctoInstaller/OctoInstallerV5/octopusCLIVersionFetcher.test.ts

OctopusCLIVersionFetcher tests
  ✅ Gets latest
  ✅ Fixed returns fixed version
  ✅ When version no exists
  ✅ Get latest minor
  ✅ Get latest patch
  ✅ When version spec if invalid
  ✅ Get latest major
  ✅ Get latest not pre-release

✅ source/tasks/OctoInstaller/OctoInstallerV6/downloadEndpointRetriever.test.ts

OctopusInstaller
  ✅ Installs specific version
  ✅ Installs wildcard version
  ✅ Installs latest of latest

✅ source/tasks/OctoInstaller/OctoInstallerV6/octopusCLIVersionResolver.test.ts

OctopusCLIVersionFetcher tests
  ✅ Gets latest
  ✅ Fixed returns fixed version
  ✅ When version no exists
  ✅ Get latest minor
  ✅ Get latest patch
  ✅ When version spec if invalid
  ✅ Get latest major
  ✅ Get latest not pre-release

✅ source/tasks/OctopusMetadata/OctopusMetadataV5/buildInformation.test.ts

Build Information
  ✅ Push build information

✅ source/tasks/Promote/PromoteV5/promote.test.ts

Promote Release
  ✅ Run a simple promote

✅ source/tasks/Push/PushV5/push.test.ts

Push
  ✅ Pushes multiple packages with fixed paths
  ✅ Pushes multiple packages with wildcards

✅ source/tasks/RunRunbook/RunRunbookV6/inputCommandBuilder.test.ts

getInputCommand
  ✅ all regular fields supplied

✅ source/tasks/Utils/command-line-args.test.ts

cli args
  ✅ simple args
  ✅ simple args with alias
  ✅ simple args with alias 2
  ✅ basic split on space
  ✅ split on space with quoted values
  ✅ split on space with quoted values