File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
2-
31# Post-deploy testing pipeline example in Ruby with Assertible and Codeship
42
53This is an example of ** an automated post-deployment testing
@@ -8,7 +6,7 @@ API. The project
86uses [ Codehsip] ( https://codeship.com ) , [ Heroku] ( https://heroku.com ) ,
97and [ assertible] ( https://assertible ) .
108
11- ## How it work
9+ ## How it works
1210
13111 . Push code to a repository, which is picked up a Codeship.
14122 . Have a custom deploy script in Codeship to deliver the application
Original file line number Diff line number Diff line change 33ENVIRONMENT=production
44VERSION=$CI_COMMIT_ID
55SERVICE=$ASSERTIBLE_SERVICE
6- TOKEN=$ASSERTIBLE_TOKEN
76
8- curl -u $TOKEN : -XPOST " https://assertible.com/deployments" -d' {
7+ curl -u $ASSERTIBLE_TOKEN : -XPOST " https://assertible.com/deployments" -d' {
98 "service": "' " ${SERVICE} " ' ",
109 "environmentName": "' " ${ENVIRONMENT} " ' ",
1110 "version": "' " ${VERSION} " ' "
You can’t perform that action at this time.
0 commit comments