Cockpit 🚁
An app that alerts you to the status of all your AWS Pipelines
How it works
You'll receive a push notification on your favorite iDevice every time an AWS Pipeline starts, succeeds or fails
Installation
- Go to https://developer.apple.com/account/resources/authkeys/list (or https://developer.apple.com > Account > Certificates, Identifiers & Profiles > Keys)
- Create a new Key with APNS enabled
- Save this file to the
Backend
directory asapns.p8
- Update the URL where
Backend
will be hosted inAppDelegate.swift
in theiOS
directory - Build and install the iOS app in the
iOS
directory to your device - Update the config variables at the top of
apns.php
keyfile
shouldn't changekeyid
is the Key ID from the Apple Developer consoleteamid
can be found in the top right corner of the Apple Developer consolebundleid
is whatever you change the iOS app bundle ID tourl
shouldn't change
- Deploy the
Backend
directory to a PHP capable server - In the AWS Management Console, go to Simple Notification Service
- Create a new Topic (call it
PipelineNotifications
for example) - Create a new Subscription (type: HTTPS, URL: https://your-backend-deployment/push.php)
- It should auto-confirm the subscription, if it doesn't then you'll want to retry the subscription with
Request Confirmation
- Go to EventBridge
- Create a new rule
- Specify the event pattern using
pattern.json
- Specify the target as your SNS topic from step 10
Now any pipeline on this AWS account will trigger a push notification to your device whenever the pipeline starts, succeeds or fails.