User Tools

Site Tools


scripting:netdevops

This is an old revision of the document!


Nick Russo tuto:

  • LEAN
  • WIP: Work In Process. In relation to 'lean'
  • JIT: Fast and frequent delivery,

Travis-CICD

  • Workers like workers in an office. One passes the tasks ti the other one


yamllint

git pull vs git fetch: pull puts it in your working directory. Pull is just a Macro: PULL=FETCH+MERGE.

 git fetch && git merge origin/master  


  • git fetch to know the changes done in the remote repo/branch since your last pull. This is useful to allow for checking before doing an actual pull

git fetch

git diff ...origin

Concept of master (my local one) origin/master (remote)


git init .
git add .   ! rechech this in my bastion notes

vim :e :bn in vim seems to go tabs before and after!!


git pull: git fetch + git merge
git fetch -p 
git branch -all


– merge

git checkout master
git merge origin/master
git branch -d test

ansible *

  • import_playbook sjdhs.yml (inside another playbook)
  • configure ansible with debug and stuff so the config diffs are shown (check video)

vim :e :bn in vim seems to go tabs before and after!!


git pull: git fetch + git merge

git fetch -p

git branch -all


merge git checkout master git merge origin master git branch -d test


git checkout – . # quick rollback?

scripting/netdevops.1610811720.txt.gz · Last modified: (external edit)