diff --git a/slides/2024-11-21/160_gitlab_ci/020_variables/ci.md b/slides/2024-11-21/160_gitlab_ci/020_variables/ci.md index bd69f6c3..03b0d5d6 100644 --- a/slides/2024-11-21/160_gitlab_ci/020_variables/ci.md +++ b/slides/2024-11-21/160_gitlab_ci/020_variables/ci.md @@ -16,7 +16,7 @@ See chapter [Variables](/hands-on/2024-11-21/020_variables/exercise/) --- -## Pro tip: Masked variables for all values +## Pro tip 1: Masked variables for all values Many values are rejected by GitLab diff --git a/slides/2024-11-21/160_gitlab_ci/100_environments/slides.md b/slides/2024-11-21/160_gitlab_ci/100_environments/slides.md index 7e8bdf26..6a65b6cb 100644 --- a/slides/2024-11-21/160_gitlab_ci/100_environments/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/100_environments/slides.md @@ -30,7 +30,7 @@ See chapter [Environments](/hands-on/2024-11-21/100_environments/exercise/) --- -## Pro tip +## Pro tip 1 Branches can be used to represent target environments: @@ -39,7 +39,7 @@ Branches can be used to represent target environments: --- -## Pro tip: Disposable environments +## Pro tip 2: Disposable environments Additonal use of environments: disposable review apps diff --git a/slides/2024-11-21/160_gitlab_ci/120_templates/slides.md b/slides/2024-11-21/160_gitlab_ci/120_templates/slides.md index d24cdf69..f4d5d11f 100644 --- a/slides/2024-11-21/160_gitlab_ci/120_templates/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/120_templates/slides.md @@ -121,7 +121,7 @@ See chapter [Templates](/hands-on/2024-11-21/120_templates/exercise/) --- -## Pro tip: Multiple inheritence +## Pro tip 1: Multiple inheritence Jobs can inherit from multiple templates diff --git a/slides/2024-11-21/160_gitlab_ci/130_rules/slides.md b/slides/2024-11-21/160_gitlab_ci/130_rules/slides.md index 6a9243ae..9f38a012 100644 --- a/slides/2024-11-21/160_gitlab_ci/130_rules/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/130_rules/slides.md @@ -64,7 +64,7 @@ workflow: --- -## Pro tip: Mind the order +## Pro tip 1: Mind the order Rules are evaluated in-order @@ -82,7 +82,7 @@ See chapter [Rules](/hands-on/2024-11-21/130_rules/exercise/) --- -## Pro tip: Use CI_DEPLOY_FREEZE with rules +## Pro tip 2: Use CI_DEPLOY_FREEZE with rules Disable pipeline: @@ -107,7 +107,7 @@ Template to disable job: --- -## Pro tip: Fields for rules +## Pro tip 3: Fields for rules Rules not only control execution of jobs but can also configure jobs through the use of the following fields: @@ -120,7 +120,7 @@ Rules become especially powerful when combining the fields supported by rules - -- -## Pro tip: Avoid pipeline on push +## Pro tip 4: Avoid pipeline on push Pipelines can be skipped by adding `[skip ci]` to the commit message diff --git a/slides/2024-11-21/160_gitlab_ci/160_variable_precedence/slides.md b/slides/2024-11-21/160_gitlab_ci/160_variable_precedence/slides.md index befc75ef..28a42363 100644 --- a/slides/2024-11-21/160_gitlab_ci/160_variable_precedence/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/160_variable_precedence/slides.md @@ -26,11 +26,13 @@ The order from lowest to highest precedence is: - Scan execution policy variables [](https://docs.gitlab.com/ee/user/application_security/policies/scan_execution_policies.html) - Pipeline execution policy variables [](https://docs.gitlab.com/ee/user/application_security/policies/pipeline_execution_policies.html#cicd-variables) + + --- ## More about pipeline variables -XXX pipeline variables [](https://docs.gitlab.com/ee/ci/variables/#use-pipeline-variables) +Variables that are passed when starting a pipeline [](https://docs.gitlab.com/ee/ci/variables/#use-pipeline-variables) They have the same precedence: diff --git a/slides/2024-11-21/160_gitlab_ci/250_releases/slides.md b/slides/2024-11-21/160_gitlab_ci/250_releases/slides.md index c21b5afc..f822d2c6 100644 --- a/slides/2024-11-21/160_gitlab_ci/250_releases/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/250_releases/slides.md @@ -34,7 +34,7 @@ See chapter [Releases](/hands-on/2024-11-21/250_releases/exercise/) --- -## Pro tip: Publish asset in package registry 1/ +## Pro tip 1: Publish asset in package registry 1/ Release binaries can be published to generic package registry [](https://docs.gitlab.com/ee/user/packages/generic_packages/) @@ -44,7 +44,7 @@ Use `$CI_JOB_TOKEN` to authenticate --- -## Pro tip: Publish asset in package registry 2/2 +## Pro tip 2: Publish asset in package registry 2/2 ### Upload a file diff --git a/slides/2024-11-21/160_gitlab_ci/260_runners/slides.md b/slides/2024-11-21/160_gitlab_ci/260_runners/slides.md index 2cbe84eb..b0a6a6df 100644 --- a/slides/2024-11-21/160_gitlab_ci/260_runners/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/260_runners/slides.md @@ -107,7 +107,7 @@ All features work across different runners --- -## Pro tip: Finding existing runners +## Pro tip 1: Finding existing runners No single place to discover runners diff --git a/slides/2024-11-21/160_gitlab_ci/265_caches/slides.md b/slides/2024-11-21/160_gitlab_ci/265_caches/slides.md index 07a5da4f..0aaf1869 100644 --- a/slides/2024-11-21/160_gitlab_ci/265_caches/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/265_caches/slides.md @@ -32,7 +32,7 @@ See chapter [caches](/hands-on/2024-11-21/265_caches/exercise/) --- -## Pro tip: Clear the cache +## Pro tip 1: Clear the cache Clear the cache [](https://docs.gitlab.com/ee/ci/caching/#clearing-the-cache) in two ways: diff --git a/slides/2024-11-21/160_gitlab_ci/270_renovate/slides.md b/slides/2024-11-21/160_gitlab_ci/270_renovate/slides.md index 57a1c29a..ffa1048a 100644 --- a/slides/2024-11-21/160_gitlab_ci/270_renovate/slides.md +++ b/slides/2024-11-21/160_gitlab_ci/270_renovate/slides.md @@ -50,7 +50,7 @@ See chapter [Renovate](/hands-on/2024-11-21/270_renovate/exercise/) --- -## Pro tip: Automerge +## Pro tip 1: Automerge Renovate can automatically merge updates @@ -70,7 +70,7 @@ Start with specific dependencies... --- -## Pro tip: Use slim image +## Pro tip 2: Use slim image Image is smaller and loads faster