Skip to content
This repository was archived by the owner on Nov 4, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
44 changes: 8 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,42 +1,14 @@
# CI/CD for Serverless Applications Workshop

In this workshop, you will learn how to start a new Serverless application from scratch using the
AWS Serverless Application Model (AWS SAM) and how to fully automate builds and deployments. You
will bootstrap a fully-automated CI/CD pipeline using
[SAM Pipelines](https://aws.amazon.com/blogs/compute/introducing-aws-sam-pipelines-automatically-generate-deployment-pipelines-for-serverless-applications/).
At the end of the workshop you will have a self-updating pipeline which
<h1><b>This repository is archived an no longer maintained!</b></h1>

1. Deploys two stages, `dev` and `prod`
1. Runs unit tests
1. Deploys gradually using canary deployments
1. Monitors for errors
1. Aborts deployments when errors occur
The serverless CI/CD content has been moved to:

You will also learn how to run a Serverless application locally using the SAM CLI
**[The Complete AWS SAM Workshop](https://catalog.workshops.aws/complete-aws-sam/)**

![Image](workshop/static/images/github-home.svg)

## Getting Started

Visit the workshop on this URL: [https://cicd.serverlessworkshops.io](https://cicd.serverlessworkshops.io)

## Older workshop versions

This workshop has been evolving thanks to community contributions. We keep older versions for those
who prefer different approaches for creating CI/CD pipelines.
Every major update, we create a branch with the old version and make it available in the following URLs:

| Version | Description | URL |
| ------------- | ------------- | ------------- |
| v1 | Raw cloudformation, no CDK | [https://v1.cicd.serverlessworkshops.io](https://v1.cicd.serverlessworkshops.io) |
| v2 | No multi-language, javascript only | [https://v2.cicd.serverlessworkshops.io](https://v2.cicd.serverlessworkshops.io) |
| v3 | CDK, without SAM Pipelines | [https://v3.cicd.serverlessworkshops.io](https://v3.cicd.serverlessworkshops.io) |

## Want to contribute?

Check our [contribution guidelines](CONTRIBUTING.md) before submitting a pull request.

## License

This library is licensed under the MIT-0 License. See the LICENSE file.
Keep an eye on [The Complete AWS SAM Workshop](https://catalog.workshops.aws/complete-aws-sam/)
workshop as we continue to add modules for different CI/CD provides as well as new modules about
other features of SAM.

Contributions, issues and pull requests are no longer accepted to this repository. We continue to
work on a mechanism to accept feedback for the new workshop.
2 changes: 1 addition & 1 deletion amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ frontend:
phases:
build:
commands:
- git clone --depth=1 https://github.com/matcornic/hugo-theme-learn.git workshop/themes/learn
- git clone --depth=1 https://github.com/theNewDynamic/gohugo-theme-ananke.git workshop/themes/ananke
- hugo --source workshop --destination ../public --quiet
artifacts:
baseDirectory: /public
Expand Down
44 changes: 8 additions & 36 deletions workshop/config.toml
Original file line number Diff line number Diff line change
@@ -1,40 +1,12 @@
RelativeURLs=true
CanonifyURLs=true
languageCode = "en-US"
defaultContentLanguage = "en"

title = "CI/CD for Serverless Applications"
theme = "learn"
metaDataFormat = "yaml"
defaultContentLanguageInSubdir= true

uglyurls = true
sectionPagesMenu = "main"
pygmentsCodeFences = true
pygmentsStyle = "monokai"
baseURL = "https://cicd.serverlessworkshops.io"
languageCode = "en-us"

[params]
editURL = "https://github.com/aws-samples/aws-serverless-cicd-workshop/tree/master/workshop/content/"
description = "Building a CI/CD pipeline for Serverless applications"
author = "Brian Zambrano <zambb@amazon.com"
disableBreadcrumb = false
disableNextPrev = false
themeVariant = "aws"
disableSearch = false
disableAssetsBusting = true
disableLanguageSwitchingButton = false
disableShortcutsTitle = true
disableInlineCopyToClipBoard = true
theme = "ananke"

[outputs]
home = [ "HTML", "RSS", "JSON"]
DefaultContentLanguage = "en"
SectionPagesMenu = "main"

[blackfriday]
plainIDAnchors = true
hrefTargetBlank = true

[Languages]
[Languages.en]
title = ""
weight = 1
languageName = "English"
[params]
author = "Brian Zambrano <zambb@amazon.com>"
favicon = "https://a0.awsstatic.com/libra-css/images/site/fav/favicon.ico"
33 changes: 15 additions & 18 deletions workshop/content/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
+++
title = "CI/CD for Serverless Applications"
chapter = true
weight = 1
+++
---
title: CI/CD for Serverless Applications
omit_header_text: true
type: post
---

# CI/CD for Serverless Applications
![AWS](/images/aws-logo.png)

In this workshop, you will learn how to start a new Serverless application from scratch using the
AWS Serverless Application Model (AWS SAM) and how to fully automate builds and deployments.
You will use a feature of SAM called SAM Pipelines to bootstrap a continous delivery pipeline. You
will also learn how to run a serverless application locally using the SAM CLI.
This workshop has moved! The serverless CI/CD content is now included in:

![Intro](/images/github-home.svg)
# [The Complete AWS SAM Workshop](https://catalog.workshops.aws/complete-aws-sam/)

### Issues, Comments, Feedback?
We have updated the CI/CD modules to include steps to setup CI/CD using both
[AWS CodePipeline](https://catalog.workshops.aws/complete-aws-sam/en-US/module-4-cicd/module-4-cicd-codepipeline)
and [GitHub
Actions](https://catalog.workshops.aws/complete-aws-sam/en-US/module-4-cicd/module-4-cicd-gh).

I’m open source! If you see an issue, want to contribute content, or have overall feedback please
open an issue or pull request in our GitHub repository:
[github.com/aws-samples/aws-serverless-cicd-workshop](https://github.com/aws-samples/aws-serverless-cicd-workshop).

{{% button href="https://github.com/aws-samples/aws-serverless-cicd-workshop/issues" icon="fas fa-bug" %}}Report an issue{{% /button %}}
{{% button href="https://aws.amazon.com/serverless/developer-tools" icon="fas fa-graduation-cap" %}}Learn more{{% /button %}}
Keep an eye on [The Complete AWS SAM Workshop](https://catalog.workshops.aws/complete-aws-sam/)
workshop as we continue to add modules for different CI/CD provides as well as new modules about
other features of SAM.
163 changes: 0 additions & 163 deletions workshop/content/appendix/_index.en.md

This file was deleted.

19 changes: 0 additions & 19 deletions workshop/content/buildpipe/_index.en.md

This file was deleted.

32 changes: 0 additions & 32 deletions workshop/content/buildpipe/credhelper/_index.en.md

This file was deleted.

Loading