Skip to content

ChrisSchreiber/presentation-exercise

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevOps Engineering Exercise

alt text

In this exercise, you will be acting as a developer in an Enterprise level organization.

For your first task, you will be fixing code another developer wrote, a common occurance at a typical developer job. You and the developer have been working on different features for the application but began at the same time. The developer had written his code on the branch, "feature_A", and has already merged his code into master. You will be fixing his code on your own branch labeled, "feature_B", which already has some commits.

Take the following steps to fix the dev's code:

  1. Fork the repository to your own account on Github. https://github.com/liatrio/presentation-exercise
  2. Clone the repo onto your machine.
  3. Change from the "master" branch to your "feature_B" branch.
  4. Fix the developer's mistake on line 272 of the index.html file to increment time correctly.
  5. Commit and push your change to your branch, then merge the change into your master branch.
  6. Fix any errors and push the changes back into your master branch.
  7. Now head to Travis-CI. https://travis-ci.org/
  8. Sign in with Github, navigate to your profile, and switch on the repository for the presentation-exercise. The repository may take a few seconds to show up.
  9. Now head back to Github to generate your authentification token under Settings -> Developer settings -> Personal access tokens
  10. Enter your auth token in Travis-CI by going to your Dashboard, clicking on the alt text icon in Travis-CI, and head to settings.
  11. Enter your auth token under Environemnt Variables, use the name, "GITHUB_TOKEN", and make sure that "Display value in build log" is inactivate.
  12. Head back to the Dashboard and trigger a build for presentation-exercise.
  13. If your build succeeded, head over back to your fork of your Github repo, go to your environment tab, and click on view deployment to view the web page!
  14. (OPTIONAL) Make a change to the index file and redeploy it to your changes on your web page. The change may take some time after committing due to Travis-CI. You can also navigate to your Travis-CI build status from your Github repo commit history.

About

A short DevOps engineering exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%