To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorDeployment
Connect to a github repository, assert correct services are installed,
and disconnect from repository.
- Background
-
- Given
- I sign in to WeDeploy as a test user
- Scenarios
-
- Connect a project to GitHub
- Redeploy a project connected to GitHub
- Cannot deploy if number of services exceeds quota
- Cannot deploy if number of cpu exceeds quota
- Cannot deploy if memory requirement exceeds quota
- Deploy with private docker image from WeDeploy
- View deployment order when wedeploy.json specifies dependencies
- Connect a project to GitHub
-
- Given
- I create a project with ID "lambda1"
- When
- I go to the "Deployment" page for "lambda1" project
- Then
- I should be at url ending with "/projects/lambda1/deployment"
- And
- I should see the page title "Deployment"
- When
- I click the "GitHub" tab
- And
- I click the "Connect to GitHub" button
- Then
- I should be at the GitHub login page
- When
- I enter the GitHub login credentials
- Then
- I should be at url ending with "/projects/lambda1/github"
- When
-
I select the following values:
Owner WeDeploy-QA Repository deployment-tests Branch master - And
- I click the "Connect Repository" button
- Then
- I should see the text "Your Project is Connected to Github"
- When
- I click "Services" in the sidebar
- Then
-
I should see the service
ui - When
- I click "Deployment" in the sidebar
- And
- I click the "GitHub" tab
- And
- I click the "Disconnect" button
- Then
- I should see the text "Connect to GitHub"
- When
- I click "Services" in the sidebar
- Then
-
I should see the service
ui - When
- I click "Activities" in the sidebar
- Then
-
I should see listed in the General Activities
GitHub repository disconnected from WeDeploy-QA/deployment-tests#master GitHub repository connected to WeDeploy-QA/deployment-tests#master GitHub account access authorized - And
-
I should see listed in the Builds and Deployment Activities
Deployment succeeded Deployment started
- Redeploy a project connected to GitHub
-
The repo has 3 services that add up to 2 CPU
- Given
- my current user plan is "Basic"
- And
- I create a project with ID "lambda2"
- And
-
I connect the project to GitHub with the following:
Owner WeDeploy-QA Repository deployment-tests Branch 3-services-with-cpu - And
-
I should see listed in the Builds and Deployment Activities
Deployment succeeded Deployment started Build succeeded Build started - When
- I click "Deployment" in the sidebar
- And
- I click the "GitHub" tab
- And
- I click the "Redeploy" button
- Then
-
I should see Deployment Activities in this order:
Deployment succeeded Deployment started Build succeeded Build started Deployment succeeded Deployment started Build succeeded Build started
- Cannot deploy if number of services exceeds quota
-
This repo has 3 services but Free plan only allows up to 2
- Given
- my current user plan is "Free"
- And
- I create a project with ID "lambda3"
- When
-
I connect the project to GitHub with the following:
Owner WeDeploy-QA Repository deployment-tests Branch 3-services-with-cpu - Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 2 services.
- When
- I click the "Redeploy" button
- Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 2 services.
- Cannot deploy if number of cpu exceeds quota
-
This repo requires 3 cpu but Free plan has 1 cpu
- Given
- my current user plan is "Free"
- And
- I create a project with ID "lambda4"
- When
-
I connect the project to GitHub with the following:
Owner WeDeploy-QA Repository deployment-tests Branch 1-service-with-cpu - Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 1 cpu.
- When
- I click the "Redeploy" button
- Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 1 cpu.
- Cannot deploy if memory requirement exceeds quota
-
This repo requires 2 GB memory but Free plan has 1 GB
- Given
- my current user plan is "Free"
- And
- I create a project with ID "lambda5"
- When
-
I connect the project to GitHub with the following:
Owner WeDeploy-QA Repository deployment-tests Branch 1-service-with-memory - Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 1 GB memory.
- When
- I click the "Redeploy" button
- Then
-
I should see the notification
Sorry, the current plan only allows for a maximum of 1 GB memory.
- Deploy with private docker image from WeDeploy
-
wedeploy.json contains "image": "wedeploy/git:2.4.0"
- When
-
I deploy services to project "lambda6" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/private-wedeploy-docker-image
- Then
-
I should see listed in the Builds and Deployment Activities
Build started
- View deployment order when wedeploy.json specifies dependencies
-
- Given
- my current user plan is "basic"
- When
-
I deploy services to project "lambda7" from this repo:
https://github.com/wedeploy-qa/deployment-tests/tree/3-services-with-dependencies
- Then
-
I should see General Activities in this order:
Service installed hostingservicecpu1 Service installed hostingservicecpu2 Service installed hostingservicecpu3
Last published almost 4 years ago by Christie Yoo.