Logo: Relish

  1. Sign in

Project: Console

Builds and Deployment Activity

  • @paas
  • @teardown_projects
Background
Given
I sign in to WeDeploy as a test user
Scenarios
  • @dxpcloud
View activities for a successful build
When
I build services to project "pi1" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/3-services-with-cpu
And
I go to the "Activities" page for "pi1" project
Then
I should see the build group:
avatar id services
QA Team User 1 hostingservicecpu1 hostingservicecpu2 hostingservicecpu3
And
I should see the following activities in build group 1
status activity
success Build succeeded
none Build started
  • @dxpcloud
View Deployment Activity when Dockerfile contains typo

Dockerfile contains the typo "FRO M ghost"

When
I deploy services to project "pi2" from this repo:
https://github.com/wedeploy-qa/deployment-activity-tests/tree/dockerfile-typo
Then
I should see the build group:
avatar id services
QA Team User 1 blog
And
I should see the following activities in build group 1
status activity
none Build started
failed Build interrupted
failed Build failed
  • @dxpcloud
View Build interrupted tooltip
Given
I deploy services to project "pi3" from this repo:
https://github.com/wedeploy-qa/deployment-activity-tests/tree/dockerfile-typo
And
I see the following activities in build group 1
status activity
none Build started
failed Build interrupted
failed Build failed
When
I mouse over the ? icon for "Build interrupted" activity in build group 1
Then
I should see the tooltip
Something went wrong and the entire build was interrupted due to incorrect configuration file or build step, check your source code.
  • @disconnect_repo
View Deployment Activity when wedeploy.json contains invalid property

wedeploy.json contains "volme": "/var/lib/ghost/content"

Given
I create a project with ID "pi4"
When
I connect the project to GitHub with the following:
Owner WeDeploy-QA
Repository deployment-activity-tests
Branch wedeploy-json-invalid-key
Then
I should see the notification
Project pi4 connected to repository WeDeploy-QA/deployment-activity-tests
And
I should see the notification
Sorry, we had a problem building this GitHub repository.
And
I should see listed in the Builds and Deployment Activities
Something went wrong, most likely caused by an invalid configuration property "volme". Please, review your wedeploy.json file.
  • @disconnect_repo
View Deployment Activity when wedeploy.json contains empty property

wedeploy.json contains "volume": ""

Given
I create a project with ID "pi5"
When
I connect the project to GitHub with the following:
Owner WeDeploy-QA
Repository deployment-activity-tests
Branch wedeploy-json-empty-value
Then
I should see the notification
Project pi5 connected to repository WeDeploy-QA/deployment-activity-tests
And
I should see the notification
Sorry, we had a problem building this GitHub repository.
Then
I should see listed in the Builds and Deployment Activities
Something went wrong, most likely caused by an empty value for "volume" configuration property. Please, review your wedeploy.json file.
  • @dxpcloud
View Deployment Activity when wedeploy.json contains invalid image
When
I deploy services to project "pi6" from this repo:
https://github.com/wedeploy-qa/deployment-activity-tests/tree/wedeploy-json-invalid-image
Then
I should see listed in the Builds and Deployment Activities
Build started
Build interrupted
Build failed
  • @skip
  • @dxpcloud
View activities for failed deployment
Given
I deploy services to project "pi7" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/failed-deployment
When
I go to the "Activities" page for "pi7" project
Then
I should see the following activities in build group 1
status activity
failed Deployment failed
success Build succeeded
none Build started
And
the activity status should be "red" for build group 1
And
the "ui" service icon for build group 1 should have "failed" status dot
  • @skip
  • @dxpcloud
View activities for partial deployment
Given
I deploy services to project "pi8" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/partial-deployment
When
I go to the "Activities" page for "pi8" project
Then
I should see the following activities in build group 1
status activity
success Deployment succeeded
failed Deployment failed
none Deployment started
success Build succeeded
none Build started
And
the activity status should be "yellow" for build group 1
And
the "hostingservicecpu1" service icon for build group 1 should have "success" status dot
And
the "hostingservicecpu2" service icon for build group 1 should have "failed" status dot
And
the "hostingservicecpu3" service icon for build group 1 should have "success" status dot
  • @dxpcloud
View build activities when there are many services
Given
my current user plan is "standard"
And
I deploy services to project "pi9" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/many-services
When
I go to the "Activities" page for "pi9" project
Then
I should see the build group:
avatar id services
QA Team User 1 alpine1 alpine2 alpine3 alpine4 alpine5
And
I should see listed in the General Activities
Service installed alpine8
And
I should see the following activities in build group 1
status activity
success Deployment succeeded
none Deployment started
success Build succeeded
none Build started
And
the activity status should be "green" for build group 1
And
I mouse over the "+3" service icon in build group 1
And
I should see the tooltip
alpine6 deployment succeeded
And
I should see the tooltip
alpine7 deployment succeeded
And
I should see the tooltip
alpine8 deployment succeeded
  • @dxpcloud
View in progress activity states
Given
I deploy services to project "pi10" from this repo:
https://github.com/wedeploy-examples/nodejs-example
When
I go to the "Activities" page for "pi10" project
Then
I should see the following activities in build group 1
status activity
in progress Build in progress...
none Build started
And
the activity status should be "blue" for build group 1
And
I should see the following activities in build group 1
status activity
in progress Deployment in progress...
none Deployment started
success Build succeeded
none Build started
And
the "nodejs" service icon for build group 1 should have "in progress" status dot
And
I should see the following activities in build group 1
status activity
success Deployment succeeded
none Deployment started
success Build succeeded
none Build started
And
the activity status should be "green" for build group 1
And
the "nodejs" service icon for build group 1 should have "success" status dot
  • @dxpcloud
View activities for canceled deployment
Given
I deploy services to project "pi11" from this repo:
https://github.com/wedeploy-qa/deployment-tests/
And
I go to the "Activities" page for "pi11" project
And
I see the following activities in build group 1
status activity
success Build succeeded
none Build started
When
I delete "ui-pi11" service using api
Then
I should see the following activities in build group 1
status activity
failed Deployment canceled
none Deployment started
success Build succeeded
none Build started
And
the activity status should be "red" for build group 1
And
the "ui" service icon for build group 1 should have "failed" status dot
  • @dxpcloud
View activities for multiple build groups
Given
I deploy services to project "pi12" from this repo:
https://github.com/wedeploy-qa/deployment-activity-tests/tree/dockerfile-typo
And
I deploy services to project "pi12" from this repo:
https://github.com/wedeploy-qa/deployment-tests
When
I go to the "Activities" page for "pi12" project
Then
I should see the build group:
avatar id services
QA Team User 1 blog
And
I should see the following activities in build group 1
status activity
failed Build failed
failed Build interrupted
none Build started
And
the activity status should be "red" for build group 1
And
I should see the build group:
avatar id services
QA Team User 2 ui
And
I should see the following activities in build group 2
status activity
success Deployment succeeded
none Deployment started
success Build succeeded
none Build started
And
the activity status should be "green" for build group 2
  • @dxpcloud
View activities after promoting a build to an environment
Given
I create a project with ID "pi13"
And
I deploy services to project "pi13" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/2-services
And
I wait for the services to be healthy for "pi13" project
ui
alpine
And
I add a "dev" environment for "pi13"
And
I promote build 1 to "pi13-dev"
When
I go to the "Activities" page for "pi13-dev" project
Then
I should see the build group:
avatar id services
Tester 1 ui alpine
And
I should see the following activities in build group 1
status activity
success Deployment succeeded
none Deployment started
  • @dxpcloud
  • @teardown_tester
View pagination for Builds and Deployments activities
Given
my current user plan is "premium"
And
I create a project with ID "pi14"
And
I install these services for "pi14"
type id
Hosting hosting1
Hosting hosting2
Hosting hosting3
Hosting hosting4
Hosting hosting5
Hosting hosting6
Hosting hosting7
And
I go to the "Activities" page for "pi14" project
And
I should see the following builds and deployments activities
build status activity
7 success Deployment succeeded
7 none Deployment started
7 success Build succeeded
7 none Build started
6 success Deployment succeeded
6 none Deployment started
6 success Build succeeded
6 none Build started
5 success Deployment succeeded
5 none Deployment started
5 success Build succeeded
5 none Build started
And
I should not see activities for these builds:
4
3
2
1
When
I click the "Show 3 more builds and deployments activities" button
Then
I should see the following builds and deployments activities
build status activity
7 success Deployment succeeded
7 none Deployment started
7 success Build succeeded
7 none Build started
6 success Deployment succeeded
6 none Deployment started
6 success Build succeeded
6 none Build started
5 success Deployment succeeded
5 none Deployment started
5 success Build succeeded
5 none Build started
4 success Deployment succeeded
4 none Deployment started
4 success Build succeeded
4 none Build started
3 success Deployment succeeded
3 none Deployment started
3 success Build succeeded
3 none Build started
2 success Deployment succeeded
2 none Deployment started
2 success Build succeeded
2 none Build started
And
I should not see activities for these builds:
1
And
I click the "Show 1 more builds and deployments activities" button
And
I should see the following builds and deployments activities
build status activity
7 success Deployment succeeded
7 none Deployment started
7 success Build succeeded
7 none Build started
6 success Deployment succeeded
6 none Deployment started
6 success Build succeeded
6 none Build started
5 success Deployment succeeded
5 none Deployment started
5 success Build succeeded
5 none Build started
4 success Deployment succeeded
4 none Deployment started
4 success Build succeeded
4 none Build started
3 success Deployment succeeded
3 none Deployment started
3 success Build succeeded
3 none Build started
2 success Deployment succeeded
2 none Deployment started
2 success Build succeeded
2 none Build started
1 success Deployment succeeded
1 none Deployment started
1 success Build succeeded
1 none Build started
And
I should not see the text "Show 0 more"

Last published over 1 year ago by Christie Yoo.