CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 00:44:34 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"24fcf47a0a4d9b125ec6751c40ddf2bd"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=qGnvWF%2BsraLsHrMsKWB0jOZct3wbN%2Bs9%2BHRfF%2BxLxtIuB7GUXjxXGQTvz%2FudDJzgvDgqYxjmJj%2FTw6ArPpdbGI4UJKIHv1igLrM0hGD2CRQH0nXmHuC37FcVU%2Fsrx6XPTVFnuGfQKKh7bNTW%2BE%2BuKjTpzh5XX2%2BW%2FEpd48vruRf%2BUF8OyfCta5OYkZX6FpW10MowjMJiYOnDm7FjqpyRf%2FhE06b0kep5i6oiEs%2F1ts0Nk1HgEyX5yf%2BlhEAK4%2BcX8y1UiR%2FgTih2Vyz%2BHWQLzA%3D%3D--2C4VLUgM8AgpNJGd--tpHPuFAPrJoD5cjBl%2F3Vbg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1047629035.1753404274; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:44:34 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 25 Jul 2026 00:44:34 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A3E2:69B36:54929:83671:6882D372
Pipelines · stelligent/mu Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 132
Pipelines
Casey Lee edited this page Oct 26, 2018
·
16 revisions

A pipeline can be created for each service that consists of the following steps:
- Source - Retrieve source from GitHub for a specific branch. Triggered on each commit.
-
Build Artifact - Compile the source code via CodeBuild and a
buildspec.yml
. - Build Image - Build the Docker image and push to ECR repository.
- Acceptance - Deploy to acceptance environment and run automated tests.
- Production - Wait for manual approval, then deploy to production environment.
Define your tests in the form of CodeBuild projects. Simply create a file named buildspec-test.yml
and a file named buildspec-prod.yml
in your repo with the actions you'd like to take for validating the application. Additionally, you can control the CodeBuild image via the image
attribute under the service.pipeline.acceptance
in the mu.yml file. An example is available in the mu GitHub repo.
---
service:
name: my-service
# ... service config goes here ...
# Define the behavior of the pipeline
pipeline:
source:
provider: GitHub # GitHub or CodeCommit (default: GitHub)
repo: stelligent/microservice-exemplar # The GitHub repo slug or CodeCommit repo name to build (default: none)
branch: mu # The branch to build from (default: master)
build:
disabled: false # Disable the build stage of the pipeline (default: false)
image: aws/codebuild/java:openjdk-8 # The image to use for CodeBuild job (default: aws/codebuild/ubuntu-base:latest)
type: linuxContainer
computeType: BUILD_GENERAL1_SMALL # The type of compute instance for builds (default: BUILD_GENERAL1_SMALL)
acceptance:
disabled: false # Disable the acceptance stage of the pipeline (default: false)
environment: acceptance # The environment name to deploy to for testing (default: acceptance)
image: aws/codebuild/java:openjdk-8 # The image to use for CodeBuild test job (default: aws/codebuild/ubuntu-base:latest)
type: linuxContainer
computeType: BUILD_GENERAL1_SMALL # The type of compute instance for testing builds (default: BUILD_GENERAL1_SMALL)
production:
disabled: false # Disable the production stage of the pipeline (default: false)
environment: production # The environment name to deploy to for production (default: production)
notify: # List of email addresses to notify on pipeline results
- joe@getmu.io
- bob@getmu.io
kmsKey: arn:aws.... # The ARN of the KMS key to use for the pipeline
# List the pipelines
> mu pipeline list
# Upsert the pipeline
> mu pipeline up [-t <repo_token>]
# View the logs from the CodeBuild project in your pipeline
> mu pipeline logs [--follow] [-s <service_name>] [filter]
# Terminate the pipeline
> mu pipeline terminate [<service_name>]
Clone this wiki locally
You can’t perform that action at this time.