Skip to content

Instantly share code, notes, and snippets.

Trunk-Based Development

Trunk-based development is a practice that involves developers merging small, frequent updates to the main branch of the codebase to develop features and fix bugs directly. This approach enables the team to iterate quickly and gives team members complete ownership over the code, as they are directly responsible for the health of the codebase.

Key Principles

Continuous Integration (CI)

Continuous Integration (CI) ensures that code changes are integrated immediately into the main branch, automatically tested, and built. This practice helps catch problems early, forces developers to consider the impact of their changes, and encourages the team to work together to resolve issues.

@joshagudo
joshagudo / gist:9119b0917011a3f49b7eb8f57dbe9e71
Last active March 10, 2021 12:28
failed vault_approle_auth_backend_role log
2021/03/10 23:01:16 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
Use TF_LOG=TRACE to see Terraform's internal logs.
----
2021/03/10 23:01:16 [INFO] Terraform version: 0.14.7
2021/03/10 23:01:16 [INFO] Go runtime version: go1.15.8
2021/03/10 23:01:16 [INFO] CLI args: []string{"/usr/local/bin/terraform", "plan"}
2021/03/10 23:01:16 [DEBUG] Attempting to open CLI config file: /Users/<redacted>/.terraformrc
2021/03/10 23:01:16 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2021/03/10 23:01:16 [DEBUG] ignoring non-existing provider search directory terraform.d/plugins
2021/03/10 23:01:16 [DEBUG] ignoring non-existing provider search directory /Users/<redacted>/.terraform.d/plugins
@joshagudo
joshagudo / bowling_exercise.md
Last active May 22, 2017 07:44
Bowling Scoring System Challenge

Challenge:

Write a program that counts and sums the scores of a bowling game for a single player.

Game features:

  • 1 player only
  • There are 10 pins in a frame
    • The objective in each frame is for the player to knock down all the pins
    • A player is allowed a maximum 2 rolls per frame
  • There are 10 frames in a single game
  • The highest score possible is 300