<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Edward Romero</title>
    <description>The latest articles on DEV Community by Edward Romero (@meroware).</description>
    <link>https://dev.to/meroware</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F457906%2Fe727c97e-7fe6-463d-9d2c-7967e8eb309f.jpeg</url>
      <title>DEV Community: Edward Romero</title>
      <link>https://dev.to/meroware</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/meroware"/>
    <language>en</language>
    <item>
      <title>AWS Services integration testing by leveraging Local Stack and GitHub Actions </title>
      <dc:creator>Edward Romero</dc:creator>
      <pubDate>Tue, 25 Aug 2020 03:49:56 +0000</pubDate>
      <link>https://dev.to/meroware/aws-services-integration-testing-by-leveraging-local-stack-and-github-actions-505p</link>
      <guid>https://dev.to/meroware/aws-services-integration-testing-by-leveraging-local-stack-and-github-actions-505p</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;I took some time to develop a way to do integration testing of aws services within a github action workflow. It was a lot of fun to do so I hope you find it as useful as I do in my personal and professional projects. &lt;/p&gt;

&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Maintainer Must-Haves&lt;/p&gt;

&lt;h3&gt;
  
  
  Link to Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/merowareinstance"&gt;
        merowareinstance
      &lt;/a&gt; / &lt;a href="https://github.com/merowareinstance/example-aws-services-github-worflows"&gt;
        example-aws-services-github-worflows
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Project is meant to show an example on how to use aws services through local stack in github actions for CI/CD
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
example-aws-services-github-worflows&lt;/h1&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://github.com/meroware/example-aws-services-github-worflows/workflows/Aws%20Services%20CI/badge.svg"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--qZ0mzWFP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://github.com/meroware/example-aws-services-github-worflows/workflows/Aws%2520Services%2520CI/badge.svg" alt="Aws Services CI"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Example project of aws services setup in github workflows with nodejs and localstack&lt;/p&gt;
&lt;/blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;CI pipeline provides example of integration tests utilizing dynamodb, sqs, and s3&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://raw.githubusercontent.com/merowareinstance/example-aws-services-github-worflows/master/./diagram.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O6ul_6Ol--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/merowareinstance/example-aws-services-github-worflows/master/./diagram.png" alt="Diagram"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
Resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://youtu.be/-SKjWPEc-KQ" rel="nofollow"&gt;High-Level Diagram And Workflow Walk Through&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://medium.com/@meroware/aws-services-integration-testing-by-leveraging-local-stack-and-github-actions-801241ea9bf4" rel="nofollow"&gt;Medium Article With Walk Through Of Code&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/localstack/localstack"&gt;Localstack&lt;/a&gt; - Fully functional local AWS cloud stack which we use to host s3, sqs, and dynamodb in this example. Feel free to add more services depending on which aws resource you want to test with. NOTE: Read on the documentation of localstack to verify which services are in localstack/localstack image, or whether you need to use the full image localstack/localstack-full&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS.html" rel="nofollow"&gt;AWS javascript SDK&lt;/a&gt; - used for interacting with SQS and S3 services&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://github.com/clarkie/dynogels"&gt;Dynogels&lt;/a&gt; - used in example as ORM for dynamodb. But you can use whatever you want to connect to dynamodb in the same way&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/merowareinstance/example-aws-services-github-worflows"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;
 

&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Walk through of workflow &lt;a href="https://www.youtube.com/watch?v=-SKjWPEc-KQ"&gt;https://www.youtube.com/watch?v=-SKjWPEc-KQ&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Medium article of workflow &lt;a href="https://medium.com/@meroware/aws-services-integration-testing-by-leveraging-local-stack-and-github-actions-801241ea9bf4"&gt;https://medium.com/@meroware/aws-services-integration-testing-by-leveraging-local-stack-and-github-actions-801241ea9bf4&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>actionshackathon</category>
      <category>meroware</category>
      <category>cicd</category>
      <category>aws</category>
    </item>
  </channel>
</rss>
