Skip to content

panas2567/fjfi-devops-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Continuous integration pipeline

Contribution guideline

To start contributing on this repository, create new branch locally based on the main branch. The new branch's name should be in the following format:

  • feature/<initials>/fix-unit-tests-evaluate

After making your changes, push them to remote:

  • git add . (from project's root),
  • git commit -m "<commit message>"
  • git push

Once the remote branch is created, create a pull request to apply the changes to the main branch.

Main branch is protected and each PR needs at least one approval from the reviewers in order to be merged.

Try to use semantic commits convention. For reference check: https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716

fjfi-devops-demo

Demonstration of the CI/CD routine

Steps to download the repo and set up the environment using command line (Powershell, Terminal):

Optional - setup virtual environment:

  • pyenv install 3.12
  • pyenv local 3.12
    • Check with python3 --version, if it's not the 3.12, then
      • on Mac run: eval "$(pyenv init --path)"
      • on Windows move the correct version to the top of the PATH environment variable.
        • Restart the command line.
  • python3 -m venv .venv-dev
  • Activate the .venv-dev:
    • Mac: source .venv-dev/bin/activate
    • Win: . .\.venv-dev\bin\activate
  • pip3 install -r requirements.txt
  • Check the correct installation in the venv with pip freeze --local.

About

Demonstration of the CI/CD routine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7