...Configuration Management verstanden. Du verstehst, warum man den Source Code von Configuration Management im Git haben möchte. Du hast den Unterschied zwischen deklarativem und prozeduralem/imperativem Configuration Management verstanden.
Aufgaben Die Inhalte, die du für das Buch erstellst, sollen in einem git repository landen. Scanne deinen Code mit ansible-lint. Du kannst das auch gerne in einen...
...in any circumstances, you may permit it. Ask someone if you are not sure. Github license pages or tldrlegal.com give a good overview about a license's permissions, limitations and...
Rubygem ntlm-http: bundle exec license_finder licenses add ntlm-http ruby --why https://github.com/trampoline/ntlm-http/blob/9a61eaf20bd93ba035c17a79df0e9c814ffe6f2e/lib/net/ntlm_http.rb Adding a hidden dependency Sometimes there may be a dependency the package manager...
...maybe just one!) commits. Each of them should have a green test suite - otherwise git bisect will not work reliably. Remember: if you for some reason have to detangle functionality...
...first ., \H: full hostname \w: current working directory, \W: same, but only the basename $(__git_ps1 "%s"): your current git branch if you're in a git directory, otherwise nothing...
...by writing export PS1='...' to your .bashrc or .profile. Examples export PS1='\h \w$(__git_ps1 "(%s)") \$ ' => mycomputer ~/apps/chess/tmp(master) $ _ export PS1='\[\e[33m\]\h\[\e[0m\]:\W\[\e[33m...
...as the last release is not yet on rubygems.org. # Gemfile gem 'puppet-ghostbuster', git: 'https://github.com/voxpupuli/puppet-ghostbuster.git', ref: 'XXXXX' After that you can use puppet-lint to find dead code...
...in your project: # You probably need to set some ENV Variables, see https://github.com/voxpupuli/puppet-ghostbuster#environment-variables export HIERA_YAML_PATH="/home/bob/code/puppet/hiera.yaml" export PUPPETDB_URL="http://localhost:9000" find . -type f -exec...
If the project you're working on has, say, 39 repositories and counting in GitLab and you need all the repos checked out for some reason, here's how to...
Checking out all repos Create a personal access token for GitLab that has the API permissions. In your terminal, store this key in an env variable.
...has a lockfile (yarn.lock) with exact version numbers. The lockfile should be checked into Git. You never touch the lockfile by hand. You change it with a yarn command instead...
It happens from time to time that a job in a GitLab pipeline...
...fails. Sometimes, however, the error message is too meaningless to be helpful. Example: Running with gitlab-runner 16.7.0 (102c81ba) on , system ID: Resolving secrets 00:00 Preparing the "shell" executor...
...to install the gem locally on your system and then override the version from git: cd ~/gems/spreewald rvm use 2.5.1 # or rbenv local 2.5.1 # use the ruby version your project...
Just run git show branch:file. Examples: git show HEAD~:bin/command git show origin/master:../lib/version.rb
...Guard starts, but we'll take care of that in the next step. Configure git As mentioned above, the esbuild_error_development.txt file must exist for Guard to watch it. [1]
...Git does not offer a way to add a file and ignore further changes, at least not in a way where this information is shared with the upstream repo. With...
Popular command line tools (>= 4 mentions) tig (17 users) Command line UI for git. htop (10 users) An improved "top". fzf (8 users) Provides super-fast fuzzy-finding in...
ag (the silver searcher) (4 users) A much faster grep, that honours your .gitignore. ripgrep (4 users) Another much faster grep, also honouring your .gitignore. bat (4 users)
...you may add an alias such as this to your ~/.bashrc: alias recent-branch="git for-each-ref --sort=-committerdate --format='%(refname:short)' refs/heads/ | fzf | sed 's/\* //g' | xargs -I...
...git checkout {}" alias rb=recent-branch Now whenever you want to switch back and forth between your most recent branches, type recent-branch, select one and press enter...
...Using nginx as HTTP load balancer Übungen Konfigurationen, die du erstellst, sollten in ein Git Repo abgelegt werden, damit dein Mentor diese reviewen kann. Pushe die Commits in einem Feature...
...RubyMine. Skip any instructions for cloud IDEs. We will not upload our code to GitHub. Push your code to our private GitLab instance instead. We are developing on Linux. Skip...
...When you're done with this exercises, discard all changes of the last exercise: git reset --hard
...you need to upgrade by deleting the existing plugin directory and calling script/plugin install https://github.com/rails/rails_xss.git If you are using the native Rails I18n API, open all your config/locales...
...file for an Amazon EKS cluster EKS Cluster authentication IAM Roles for service accounts Gitlab agent for Kubernetes Terraform Kubernetes Provider Using Helm Terraform Helm Provider Aufgaben Erstelle Merge Requests...
...konfiguriert wird. Konfiguration von Helm kann z.B. so aussehen: resource "helm_release" "gitlab_agent" { name = "gitlab-kubernetes-agent" repository = "https://charts.gitlab.io" chart = "gitlab-agent" version = var.agent_version namespace = "gitlab-agent...
...das ist keine Pflicht. Style Guide Terraform/OpenTofu Aufgaben Am besten erstellst du dir ein Git Repository und jeweils einen Merge Request für jede Aufgabe. Verwende den Docker Provider für diese...
This is how to update a gem that was cut using Bundler: Say git pull or check out a repository from Github like git clone git@github.com:makandra/geordi.git
...commit your changes. You can but don't need to push your changes to Github. If you haven't logged in to Rubygems.org before: Get credentials for Rubygems.org from the...
...took 0.33197 seconds to load) 1 example, 0 failures run the test inside a GitLab CI Job Assumed the image was build and pushed to the container registry in a...
...pull it from the container registry spec/spec_helper.rb Determine if the tests are running inside GitLab CI. If yes, authenticate against the container registry and pull the image. Otherwise build the...
...prüfen, ob du fertige roles von der Ansible Galaxy verwenden kannst. Aufgaben Erstelle ein git Repository ähnlich zu dem aus dem vorherigen Kapitel. Am besten auch mit pre-commit hooks...
...the purpose of: Feature branches Code reviews Commit squashing (and the resulting traceability through git blame) Our Merge request checklist Read the card Before you make a merge request: Checklist...
Tip If no merge request option can be found, check in your GitLab settings (general > visibility) if the slider "Merge requests" is activated. If not, do so.
...in the dump. In this example we use the initial migration without the fix. git log --reverse ./db/migrate/20200729124233_add_users.rb commit d4848ad598b2f02cbca7580a2b928d02996abeb4 Author: Some user <some.user@example.com> Date: Thu Jul...
...Fix error in users migration Checkout this commit SHA git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4 3. Delete the database, import the dump and migrate to the current branch git checkout d4848ad598b2f02cbca7580a2b928d02996abeb4
...Persist your choice in the $EDITOR variable. It defines the default for commands like git commit: # Example with vim # open the configuration file vim ~/.bashrc # navigate to the end of...