...view the respective files or, for a short summary: /var/lib/apt/lists $ grep -E "(Package|Version)" ppa.launchpadcontent.net_git-core_ppa_ubuntu_dists_jammy_main_binary-amd64_Packages | paste - - | column -t

...Version: 1:2.41.0-0ppa1~ubuntu22.04.1 Package: git-all Version: 1:2.41.0-0ppa1~ubuntu22.04.1 Package: git-cvs Version: 1:2.41.0-0ppa1~ubuntu22.04.1 Package: git-daemon-run Version...

Boot back into the regular Ubuntu system and install throttled: $ sudo apt install git build-essential python3-dev libdbus-glib...

...dev libgirepository1.0-dev libcairo2-dev python3-cairo-dev python3-venv python3-wheel $ git clone https://github.com/erpalma/throttled.git $ sudo ./throttled/install.sh as per the documentation, you should also disable thermald: $ sudo systemctl stop...

...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.

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...

...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...

docs.gitlab.com

Short hint: If you want to push to a git repository that has CI configured, you can skip the CI pipeline for commits that don't need a CI run...

...git push -o ci.skip This has a few cavates: Skips only branch pipelines and not merge request pipelines. This does not skip pipelines for CI/CD integrations, such as Jenkins...

...on different machines. This means that if you're collaborating with colleages e.g. via git, each run of terraform will possibly see a different hash of the code's ZIP...

Best results in other decks

...pushed when saying git push. Our recommendation is to set it to current. From the git-config documentation: push.default Defines the action git push should take if no refspec is...

...check your setting, do the following. By default, it will return matching (see above). $ git config --global push.default matching So to change that to push only current branches, just go...

makandra dev

git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for restoring tasks, use git restore instead. With this command you...

Info For this use case you can also use git checkout. Sources Git - git-restore Documentation Also see Git commands to discard changes Git restore vs reset

Search in all decks