In this playground, we'll be exploring Amazon CodeCatalyst, a new development/collaboration tool announced by AWS at re:Invent 2022. (The keynote announcement can be viewed here).
We'll walk through various components of CodeCatalyst and try to deploy some python code, building a pipeline in CodeCatalyst to test and deploy the code as an AWS Lambda using Terraform.
As long as you registered for the PlayGround through MeetUp (or if you're internal to GlobalLogic, you responded to the email invite), you should be able to login to https://lab.devopsplayground.org/. In the username field, enter your meetup 'display name' or if you're internal, use 'firstname lastname'. When you click the Submit
button, you'll be shown some details as shown below:
For the walkthrough, we'll ask you to login to https://codecatalyst.aws/login using the Login email and Password from the provided details. You'll also be allocated a 'panda name' which you can use throughout the workshop - this is the part of the email after the +
, so if your login email was [email protected]
, then your panda name is chilled-panda
.
Before the session started, we've created a CodeCatalyst Space and allocated each of you an individual project which uses your panda-name, and in each project, we've created a repository which contains some code we'll us throughout the project. The repository is cloned from https://github.com/DevOpsPlayground/hands-on-with-codecatalyst. If you want to follow along, this README file is available in the repo here.
The session should take approximately 60 minutes. Attendees do not need to have any previous experience with CodeCatalyst, Python or Terraform as example code will be provided in the repo we've created in the project.
- exploring CodeCatalyst
- creating a workflow
- adding build action
- running the workflow
- adding a test action to the workflow
- huh - it didn't work?
- adding test steps
- capturing test reports
- running workflow
- what's a dev environment
- creating a dev environment
- using the dev environment
- VSCode demo
- adding workflow step via the dev environment
- installing terraform
- terraform init and plan
- deploy
- testing live (use restninja.io or https://www.site24x7.com/tools/restapi-tester.html)