GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - josephhaddad55/angular-gitlab-ci-cd-example: A start project for anyone interested in creating an automated CI/CD pipeline from GitLab to AWS EC2 via AWS CodeDeploy

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
e2e
e2e
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.gitlab-ci.yml
.gitlab-ci.yml
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
angular.json
angular.json
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
tslint.json
tslint.json
 
 

Repository files navigation

Angular GitLab CI/CD Example Project

I've generated this project with the Angular CLI version 7.1.0. I've also added the appsepc.yml and .gitlab-ci.yml files necessary to start building a simple automated CI/CD pipeline from GitLab to AWS EC2.

Remember to change the name of the path to the files in .gitlab-ci.yml since you're group and project name will be different than mine.

Follow this tutorial to get started Simple Angular CI/CD pipeline with GitLab & AWS

On a high level the process will look like this:

  1. Push changes to the master branch

  2. GitLab will detect changes and start building the production bundle (via the instructions in .gitlab-ci.yml)

  3. Once done building GitLab will push the build artifact to AWS S3

  4. AWS CodeDeploy will detect a change in the S3 Bucket and deploy the build artifact (via the instructions in .appsepc.yml)

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

About

A start project for anyone interested in creating an automated CI/CD pipeline from GitLab to AWS EC2 via AWS CodeDeploy

joeonsoftware.com/2018/12/03/simple-angular-ci-cd-pipeline-with-gitlab-aws/

Topics

angularawscodedeploygitlab-ci

Resources

Readme
MIT license
Activity

Stars

12 stars

Watchers

1 watching

Forks

10 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.