Skip to content
sarken edited this page Jun 3, 2024 · 1 revision

We use CodeShip to deploy code to our staging environment so we can manually test it. Access to CodeShip is granted to AD&T Senior Volunteers with merge permissions.

Workflow

When an AD&T Senior Volunteer merges multiple pull requests at the same time, they will typically log in to CodeShip and cancel all builds except the one that is currently running and the most recent. This minimizes the number of deploys, which speeds up the process and makes Slack less noisy.

  1. Log in to CodeShip.

  2. Select "Projects" from the main navigation.

  3. Select the "otwarchive" project to access a list of builds.

  4. For the first build with the "Queued" status, select the vertical ellipsis icon (⋮) to access the build options.

  5. Choose the "Cancel Build" option.

  6. Repeat for all builds except the one at the top.

Inviting new users

AD&T Senior Volunteers must be invited to join CodeShip by an AD&T Chair, logged in to the AD&T Chair account, not their personal account.

  1. Log in to CodeShip.

  2. Select "Teams" from the main navigation.

  3. Select the "Otwcode Otwarchive" team to access a list of team members.

  4. Enter the new user's OTW email address in the "Add new members by E-Mail address" field.

  5. Press "Add Member" to send an invitation.

Creating an account

Once invited, you should receive an invitation from codeship-invites@cloudbees.com. It will be delivered almost immediately, so please check your spam folder if you can't find it.

  1. Follow the link in the email to access the sign-up page.

  2. The form will be prefilled with your name and email address, but the name field (the first field) will be incorrect. Please update it to your OTW name.

  3. Complete the rest of the form and press "Accept Invitation."