| 1 | package i18n |
| 2 | |
| 3 | // De infopagina staat apart, zodat de grote catalogi niet opnieuw uitgelijnd worden. |
| 4 | func init() { |
| 5 | addCatalog(en, infoEN) |
| 6 | addCatalog(nl, infoNL) |
| 7 | addCatalog(de, infoDE) |
| 8 | addCatalog(fr, infoFR) |
| 9 | } |
| 10 | |
| 11 | func addCatalog(dst, src map[string]string) { |
| 12 | for k, v := range src { |
| 13 | dst[k] = v |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | var infoEN = map[string]string{ |
| 18 | "nav.info": "Info", |
| 19 | "title.info": "CI/CD", |
| 20 | "info.lead": "Reference for blue-ci-cd.yml and the image presets Steve builds.", |
| 21 | |
| 22 | "info.col.keyword": "Keyword", |
| 23 | "info.col.meaning": "Meaning", |
| 24 | "info.col.name": "Preset", |
| 25 | "info.col.base": "Image", |
| 26 | "info.col.tools": "Contents", |
| 27 | "info.col.where": "Available", |
| 28 | |
| 29 | "info.sec.pipeline": "Pipeline", |
| 30 | "info.sec.job": "Jobs", |
| 31 | "info.sec.rules": "Rules", |
| 32 | "info.sec.variables": "Variables", |
| 33 | "info.sec.diff": "Differences with GitLab", |
| 34 | "info.sec.presets": "Image presets", |
| 35 | |
| 36 | "info.where.both": "Rules and container", |
| 37 | "info.where.container": "Container only", |
| 38 | "info.where.mr": "Merge request", |
| 39 | |
| 40 | "info.rules.intro": "The first matching rule wins. && binds more tightly than ||. Parentheses group an expression. An empty variable is null. == and != compare. =~ and !~ match a RE2 pattern. A slash in a pattern is escaped with a backslash. The flag i sits right after the closing slash. A pattern stored in a variable must be valid when the rule runs.", |
| 41 | "info.presets.intro": "A job picks a preset with its image keyword. Steve builds that Dockerfile on first use and reuses the result. Any other name, such as node:22, stays a normal Docker image.", |
| 42 | "info.presets.config": "Add or replace a preset under ci.presets in config.yml with image, dockerfile or from.", |
| 43 | "info.presets.mapped": "Uses this image as it is.", |
| 44 | |
| 45 | "info.kw.stages": "Stage order. When omitted, stages follow the order in which jobs name them. A job without a stage uses test.", |
| 46 | "info.kw.variables": "A string, or a value field. A job overrides the same name. Available in rules and in the container.", |
| 47 | "info.kw.image": "Default image, as text or as a name field. default.image wins when that is set. A preset such as bluegit/base is allowed.", |
| 48 | "info.kw.default": "image, before_script, after_script, tags, timeout, cache, retry and interruptible for jobs that do not set them.", |
| 49 | "info.kw.include": "Only a local path. A job with the same name is merged and the outer file wins each field.", |
| 50 | "info.kw.before_script": "Shell lines that run before script.", |
| 51 | "info.kw.after_script": "Shell lines that run after script, also when script fails.", |
| 52 | "info.kw.cache": "paths and a text key. Kept on this machine for one repository.", |
| 53 | "info.kw.workflow": "rules, like a job. No match, or when never, creates no pipeline.", |
| 54 | "info.kw.jobs": "Optional older map of jobs. Jobs may also sit at the top level, but not in both places.", |
| 55 | "info.kw.stage": "Stage name. Omitted means test.", |
| 56 | "info.kw.script": "Shell lines. The job fails when a line fails.", |
| 57 | "info.kw.needs": "Job names, or job and optional. An empty list starts at once. Omitted, the job waits for earlier stages. A need on a parallel job waits for every copy.", |
| 58 | "info.kw.rules": "The first match wins. Fields are if, changes, exists and when. Without rules, only and except decide.", |
| 59 | "info.kw.only": "A branch name, branches, tags, merge_requests, or a regex between slashes.", |
| 60 | "info.kw.except": "The opposite of only.", |
| 61 | "info.kw.when": "on_success is the default, also on_failure, always and manual. A rule may say never.", |
| 62 | "info.kw.allow_failure": "A failure does not stop the rest. The job itself becomes a warning.", |
| 63 | "info.kw.artifacts": "paths and expire_in. Units are seconds, minutes, hours, days, weeks, or never.", |
| 64 | "info.kw.resource_group": "Jobs that share this name in one repository do not run at the same time.", |
| 65 | "info.kw.timeout": "Replaces the server timeout for this job. The runner stops the container when the time is up.", |
| 66 | "info.kw.retry": "A number, or max and when. max runs from 0 to 2 and a higher number is cut off. when names script_failure, runner_system_failure, job_execution_timeout, stuck_or_timeout_failure or always.", |
| 67 | "info.kw.parallel": "A number up to 50, or a matrix. Numbered jobs are called name 1/N and receive CI_NODE_INDEX and CI_NODE_TOTAL. A matrix is the product of each list, then those products joined. Keys become variables.", |
| 68 | "info.kw.services": "Sidecar containers on one network with the job. Text, or name, alias, command, entrypoint and variables. Without an alias the name drops the registry and the tag. There is no health check beyond a started container.", |
| 69 | "info.kw.environment": "A name, or name and url. Sets the environment variables. There is no deployment and no stop job.", |
| 70 | "info.kw.interruptible": "Off by default. A newer pipeline on the same ref cancels older jobs that set this and are still queued or running.", |
| 71 | "info.kw.tags": "Stored on the job. Steve runs every job. Tags do not choose a runner.", |
| 72 | "info.kw.extends": "One name or a list. A job whose name starts with a dot is a template and does not run.", |
| 73 | "info.kw.if": "An expression. The first rule whose if, changes and exists all match is the winner.", |
| 74 | "info.kw.changes": "Paths in the push diff. When that diff cannot be known, the condition matches.", |
| 75 | "info.kw.exists": "Every listed path must be in the commit. When the tree is unknown, the condition matches.", |
| 76 | |
| 77 | "info.var.CI": "Always true.", |
| 78 | "info.var.CI_CONFIG_PATH": "Path of the pipeline file.", |
| 79 | "info.var.CI_SERVER_NAME": "Always BlueGit.", |
| 80 | "info.var.CI_COMMIT_SHA": "Full commit id.", |
| 81 | "info.var.CI_COMMIT_SHORT_SHA": "First eight characters of the commit id.", |
| 82 | "info.var.CI_COMMIT_REF": "Full git ref.", |
| 83 | "info.var.CI_COMMIT_REF_NAME": "Branch or tag name.", |
| 84 | "info.var.CI_COMMIT_REF_SLUG": "Ref name made safe for a URL.", |
| 85 | "info.var.CI_COMMIT_TITLE": "Commit subject.", |
| 86 | "info.var.CI_COMMIT_TIMESTAMP": "Committer time in ISO 8601.", |
| 87 | "info.var.CI_COMMIT_BRANCH": "Branch name. Empty on a tag.", |
| 88 | "info.var.CI_COMMIT_TAG": "Tag name. Empty on a branch.", |
| 89 | "info.var.CI_DEFAULT_BRANCH": "Default branch of the repository.", |
| 90 | "info.var.CI_PIPELINE_ID": "Pipeline number. Zero while rules are evaluated.", |
| 91 | "info.var.CI_PIPELINE_SOURCE": "push, web, or merge_request_event.", |
| 92 | "info.var.CI_PIPELINE_URL": "Link to the pipeline.", |
| 93 | "info.var.CI_PROJECT_PATH": "Owner and repository.", |
| 94 | "info.var.CI_PROJECT_NAME": "Repository name.", |
| 95 | "info.var.CI_PROJECT_NAMESPACE": "Owner path.", |
| 96 | "info.var.CI_PROJECT_URL": "Link to the repository.", |
| 97 | "info.var.CI_API_URL": "Root of the API.", |
| 98 | "info.var.CI_JOB_ID": "Job number.", |
| 99 | "info.var.CI_JOB_NAME": "Job name.", |
| 100 | "info.var.CI_JOB_STAGE": "Stage name.", |
| 101 | "info.var.CI_JOB_URL": "Link to the job.", |
| 102 | "info.var.CI_JOB_TOKEN": "Token for this job. It is masked in the log.", |
| 103 | "info.var.CI_NODE_INDEX": "Index of this parallel or matrix job.", |
| 104 | "info.var.CI_NODE_TOTAL": "How many parallel or matrix jobs there are.", |
| 105 | "info.var.CI_ENVIRONMENT_NAME": "Environment name.", |
| 106 | "info.var.CI_ENVIRONMENT_URL": "Environment address.", |
| 107 | "info.var.CI_MERGE_REQUEST_ID": "Internal id of the merge request.", |
| 108 | "info.var.CI_MERGE_REQUEST_IID": "Number of the merge request in the project.", |
| 109 | "info.var.CI_MERGE_REQUEST_TITLE": "Title of the merge request.", |
| 110 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_NAME": "Source branch.", |
| 111 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_SHA": "Commit of the source branch.", |
| 112 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_NAME": "Target branch.", |
| 113 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_SHA": "Tip of the target branch.", |
| 114 | "info.var.CI_MERGE_REQUEST_PROJECT_PATH": "Project path of the merge request.", |
| 115 | "info.var.CI_MERGE_REQUEST_PROJECT_URL": "Link to that project.", |
| 116 | |
| 117 | "info.diff.file": "The file is blue-ci-cd.yml, not the GitLab filename.", |
| 118 | "info.diff.runner": "There is one runner. Its name is runner.name and the default is Steve. tags do not select another runner.", |
| 119 | "info.diff.include": "include only reads a local file. A project, remote or template include is ignored.", |
| 120 | "info.diff.unsupported": "pages, spec, trigger pipelines, child pipelines, coverage, id_tokens, inherit and hooks are ignored with a warning.", |
| 121 | "info.diff.services": "services at the top level is ignored. Job services share a network and have no health check beyond a started container.", |
| 122 | "info.diff.env": "environment only sets variables. There is no deployment and no stop job.", |
| 123 | "info.diff.retry": "retry max is capped at 2.", |
| 124 | "info.diff.parallel": "parallel is capped at 50.", |
| 125 | "info.diff.rules": "The pipeline number is zero while rules run. Job, node and environment variables exist only in the container.", |
| 126 | "info.diff.mr": "A merge request pipeline runs on the source commit, not a merged tree. It starts when the request opens, on every push to the source, and again when someone pushes the target.", |
| 127 | "info.diff.cache": "cache stays on this machine and is not shared.", |
| 128 | "info.diff.images": "An image name that matches a preset is built locally. Every other name is a normal Docker image.", |
| 129 | } |
| 130 | |
| 131 | var infoNL = map[string]string{ |
| 132 | "nav.info": "Info", |
| 133 | "title.info": "CI/CD", |
| 134 | "info.lead": "Naslag voor blue-ci-cd.yml en de image-presets die Steve bouwt.", |
| 135 | |
| 136 | "info.col.keyword": "Sleutelwoord", |
| 137 | "info.col.meaning": "Betekenis", |
| 138 | "info.col.name": "Preset", |
| 139 | "info.col.base": "Image", |
| 140 | "info.col.tools": "Inhoud", |
| 141 | "info.col.where": "Beschikbaar", |
| 142 | |
| 143 | "info.sec.pipeline": "Pipeline", |
| 144 | "info.sec.job": "Jobs", |
| 145 | "info.sec.rules": "Rules", |
| 146 | "info.sec.variables": "Variabelen", |
| 147 | "info.sec.diff": "Verschillen met GitLab", |
| 148 | "info.sec.presets": "Image-presets", |
| 149 | |
| 150 | "info.where.both": "Rules en container", |
| 151 | "info.where.container": "Alleen in de container", |
| 152 | "info.where.mr": "Merge request", |
| 153 | |
| 154 | "info.rules.intro": "De eerste rule die klopt wint. && bindt sterker dan ||. Haakjes groeperen. Een lege variabele is null. == en != vergelijken. =~ en !~ passen op een RE2-patroon. Een slash in een patroon schrijf je met een backslash. De vlag i staat direct achter de sluithaak. Een patroon in een variabele moet geldig zijn op het moment dat de rule draait.", |
| 155 | "info.presets.intro": "Een job kiest een preset met het sleutelwoord image. Steve bouwt die Dockerfile bij het eerste gebruik en hergebruikt het resultaat. Elke andere naam, zoals node:22, blijft een gewoon Docker-image.", |
| 156 | "info.presets.config": "Een preset toevoegen of vervangen doe je onder ci.presets in config.yml, met image, dockerfile of from.", |
| 157 | "info.presets.mapped": "Gebruikt dit image zoals het is.", |
| 158 | |
| 159 | "info.kw.stages": "Volgorde van de stages. Weggelaten volgen de stages de volgorde waarin jobs ze noemen. Een job zonder stage gebruikt test.", |
| 160 | "info.kw.variables": "Een tekst, of een veld value. Een job overschrijft dezelfde naam. Beschikbaar in rules en in de container.", |
| 161 | "info.kw.image": "Standaardimage, als tekst of als veld name. default.image wint als dat gezet is. Een preset zoals bluegit/base mag.", |
| 162 | "info.kw.default": "image, before_script, after_script, tags, timeout, cache, retry en interruptible voor jobs die ze zelf niet zetten.", |
| 163 | "info.kw.include": "Alleen een lokaal pad. Een job met dezelfde naam wordt samengevoegd en het buitenste bestand wint per veld.", |
| 164 | "info.kw.before_script": "Shellregels die voor script draaien.", |
| 165 | "info.kw.after_script": "Shellregels die na script draaien, ook als script mislukt.", |
| 166 | "info.kw.cache": "paths en een tekstuele key. Blijft op deze machine voor één repository.", |
| 167 | "info.kw.workflow": "rules, zoals bij een job. Geen treffer, of when never, maakt geen pipeline.", |
| 168 | "info.kw.jobs": "Optionele oudere map van jobs. Jobs mogen ook op het hoogste niveau staan, maar niet op beide plekken.", |
| 169 | "info.kw.stage": "Naam van de stage. Weggelaten betekent test.", |
| 170 | "info.kw.script": "Shellregels. De job faalt als een regel faalt.", |
| 171 | "info.kw.needs": "Jobnamen, of job en optional. Een lege lijst start meteen. Weggelaten wacht de job op eerdere stages. Een need op een parallel-job wacht op elk exemplaar.", |
| 172 | "info.kw.rules": "De eerste treffer wint. Velden zijn if, changes, exists en when. Zonder rules beslissen only en except.", |
| 173 | "info.kw.only": "Een taknaam, branches, tags, merge_requests, of een regex tussen slashes.", |
| 174 | "info.kw.except": "Het omgekeerde van only.", |
| 175 | "info.kw.when": "on_success is de standaard, verder on_failure, always en manual. Een rule mag never zeggen.", |
| 176 | "info.kw.allow_failure": "Een mislukking stopt de rest niet. De job zelf wordt een waarschuwing.", |
| 177 | "info.kw.artifacts": "paths en expire_in. Eenheden zijn seconden, minuten, uren, dagen, weken, of never.", |
| 178 | "info.kw.resource_group": "Jobs met deze naam in één repository draaien niet tegelijk.", |
| 179 | "info.kw.timeout": "Vervangt de servertime-out voor deze job. De runner stopt de container als de tijd om is.", |
| 180 | "info.kw.retry": "Een getal, of max en when. max loopt van 0 tot 2 en een hoger getal wordt afgekapt. when noemt script_failure, runner_system_failure, job_execution_timeout, stuck_or_timeout_failure of always.", |
| 181 | "info.kw.parallel": "Een getal tot 50, of een matrix. Genummerde jobs heten naam 1/N en krijgen CI_NODE_INDEX en CI_NODE_TOTAL. Een matrix is het product van elke lijst, en die producten achter elkaar. Sleutels worden variabelen.", |
| 182 | "info.kw.services": "Sidecar-containers op één netwerk met de job. Tekst, of name, alias, command, entrypoint en variables. Zonder alias vervalt de registry en de tag. Er is geen healthcheck verder dan een gestarte container.", |
| 183 | "info.kw.environment": "Een naam, of name en url. Zet de omgevingsvariabelen. Er is geen deployment en geen stop-job.", |
| 184 | "info.kw.interruptible": "Standaard uit. Een nieuwere pipeline op dezelfde ref annuleert oudere jobs die dit aan hebben en nog in de wachtrij staan of lopen.", |
| 185 | "info.kw.tags": "Bewaard bij de job. Steve draait elke job. Tags kiezen geen runner.", |
| 186 | "info.kw.extends": "Eén naam of een lijst. Een job waarvan de naam met een punt begint is een sjabloon en draait niet.", |
| 187 | "info.kw.if": "Een expressie. De eerste rule waarvan if, changes en exists allemaal kloppen wint.", |
| 188 | "info.kw.changes": "Paden in de diff van de push. Is die diff niet te bepalen, dan klopt de voorwaarde.", |
| 189 | "info.kw.exists": "Elk genoemd pad moet in de commit staan. Is de boom onbekend, dan klopt de voorwaarde.", |
| 190 | |
| 191 | "info.var.CI": "Altijd waar.", |
| 192 | "info.var.CI_CONFIG_PATH": "Pad van het pipelinebestand.", |
| 193 | "info.var.CI_SERVER_NAME": "Altijd BlueGit.", |
| 194 | "info.var.CI_COMMIT_SHA": "Volledige commit-id.", |
| 195 | "info.var.CI_COMMIT_SHORT_SHA": "Eerste acht tekens van de commit-id.", |
| 196 | "info.var.CI_COMMIT_REF": "Volledige git-ref.", |
| 197 | "info.var.CI_COMMIT_REF_NAME": "Naam van de tak of de tag.", |
| 198 | "info.var.CI_COMMIT_REF_SLUG": "Ref-naam die veilig is in een URL.", |
| 199 | "info.var.CI_COMMIT_TITLE": "Onderwerp van de commit.", |
| 200 | "info.var.CI_COMMIT_TIMESTAMP": "Committer-tijd in ISO 8601.", |
| 201 | "info.var.CI_COMMIT_BRANCH": "Taknaam. Leeg op een tag.", |
| 202 | "info.var.CI_COMMIT_TAG": "Tagnaam. Leeg op een tak.", |
| 203 | "info.var.CI_DEFAULT_BRANCH": "Standaardtak van de repository.", |
| 204 | "info.var.CI_PIPELINE_ID": "Pipelinenummer. Nul zolang rules worden beoordeeld.", |
| 205 | "info.var.CI_PIPELINE_SOURCE": "push, web, of merge_request_event.", |
| 206 | "info.var.CI_PIPELINE_URL": "Link naar de pipeline.", |
| 207 | "info.var.CI_PROJECT_PATH": "Eigenaar en repository.", |
| 208 | "info.var.CI_PROJECT_NAME": "Naam van de repository.", |
| 209 | "info.var.CI_PROJECT_NAMESPACE": "Pad van de eigenaar.", |
| 210 | "info.var.CI_PROJECT_URL": "Link naar de repository.", |
| 211 | "info.var.CI_API_URL": "Wortel van de API.", |
| 212 | "info.var.CI_JOB_ID": "Jobnummer.", |
| 213 | "info.var.CI_JOB_NAME": "Naam van de job.", |
| 214 | "info.var.CI_JOB_STAGE": "Naam van de stage.", |
| 215 | "info.var.CI_JOB_URL": "Link naar de job.", |
| 216 | "info.var.CI_JOB_TOKEN": "Token van deze job. In het log staat een masker.", |
| 217 | "info.var.CI_NODE_INDEX": "Index van deze parallel- of matrixjob.", |
| 218 | "info.var.CI_NODE_TOTAL": "Aantal parallel- of matrixjobs.", |
| 219 | "info.var.CI_ENVIRONMENT_NAME": "Naam van de omgeving.", |
| 220 | "info.var.CI_ENVIRONMENT_URL": "Adres van de omgeving.", |
| 221 | "info.var.CI_MERGE_REQUEST_ID": "Interne id van de merge request.", |
| 222 | "info.var.CI_MERGE_REQUEST_IID": "Nummer van de merge request in het project.", |
| 223 | "info.var.CI_MERGE_REQUEST_TITLE": "Titel van de merge request.", |
| 224 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_NAME": "Brontak.", |
| 225 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_SHA": "Commit van de brontak.", |
| 226 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_NAME": "Doeltak.", |
| 227 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_SHA": "Punt van de doeltak.", |
| 228 | "info.var.CI_MERGE_REQUEST_PROJECT_PATH": "Projectpad van de merge request.", |
| 229 | "info.var.CI_MERGE_REQUEST_PROJECT_URL": "Link naar dat project.", |
| 230 | |
| 231 | "info.diff.file": "Het bestand heet blue-ci-cd.yml, niet de GitLab-bestandsnaam.", |
| 232 | "info.diff.runner": "Er is één runner. De naam staat in runner.name en is standaard Steve. tags kiezen geen andere runner.", |
| 233 | "info.diff.include": "include leest alleen een lokaal bestand. Een include van een project, een URL of een template wordt genegeerd.", |
| 234 | "info.diff.unsupported": "pages, spec, trigger-pipelines, child-pipelines, coverage, id_tokens, inherit en hooks worden genegeerd met een waarschuwing.", |
| 235 | "info.diff.services": "services op het hoogste niveau wordt genegeerd. Job-services delen een netwerk en hebben geen healthcheck verder dan een gestarte container.", |
| 236 | "info.diff.env": "environment zet alleen variabelen. Er is geen deployment en geen stop-job.", |
| 237 | "info.diff.retry": "retry max is hoogstens 2.", |
| 238 | "info.diff.parallel": "parallel is hoogstens 50.", |
| 239 | "info.diff.rules": "Het pipelinenummer is nul zolang rules draaien. Job-, node- en omgevingsvariabelen bestaan alleen in de container.", |
| 240 | "info.diff.mr": "Een merge-request-pipeline draait op de commit van de bron, niet op een samengevoegde boom. Hij start bij het openen, bij elke push naar de bron, en opnieuw als iemand naar de doeltak pusht.", |
| 241 | "info.diff.cache": "cache blijft op deze machine en wordt niet gedeeld.", |
| 242 | "info.diff.images": "Een imagenaam die een preset is wordt lokaal gebouwd. Elke andere naam is een gewoon Docker-image.", |
| 243 | } |
| 244 | |
| 245 | var infoDE = map[string]string{ |
| 246 | "nav.info": "Info", |
| 247 | "title.info": "CI/CD", |
| 248 | "info.lead": "Nachschlagewerk für blue-ci-cd.yml und die Image-Presets, die Steve baut.", |
| 249 | |
| 250 | "info.col.keyword": "Schlüsselwort", |
| 251 | "info.col.meaning": "Bedeutung", |
| 252 | "info.col.name": "Preset", |
| 253 | "info.col.base": "Image", |
| 254 | "info.col.tools": "Inhalt", |
| 255 | "info.col.where": "Verfügbar", |
| 256 | |
| 257 | "info.sec.pipeline": "Pipeline", |
| 258 | "info.sec.job": "Jobs", |
| 259 | "info.sec.rules": "Regeln", |
| 260 | "info.sec.variables": "Variablen", |
| 261 | "info.sec.diff": "Unterschiede zu GitLab", |
| 262 | "info.sec.presets": "Image-Presets", |
| 263 | |
| 264 | "info.where.both": "Regeln und Container", |
| 265 | "info.where.container": "Nur im Container", |
| 266 | "info.where.mr": "Merge Request", |
| 267 | |
| 268 | "info.rules.intro": "Die erste passende Regel gewinnt. && bindet stärker als ||. Klammern gruppieren. Eine leere Variable ist null. == und != vergleichen. =~ und !~ prüfen ein RE2-Muster. Ein Schrägstrich im Muster wird mit einem Backslash geschrieben. Die Flagge i steht direkt hinter der schließenden Klammer. Ein Muster in einer Variable muss gültig sein, wenn die Regel läuft.", |
| 269 | "info.presets.intro": "Ein Job wählt ein Preset mit dem Schlüsselwort image. Steve baut das Dockerfile beim ersten Gebrauch und verwendet das Ergebnis wieder. Jeder andere Name, etwa node:22, bleibt ein normales Docker-Image.", |
| 270 | "info.presets.config": "Ein Preset ergänzt oder ersetzt man unter ci.presets in config.yml, mit image, dockerfile oder from.", |
| 271 | "info.presets.mapped": "Verwendet dieses Image unverändert.", |
| 272 | |
| 273 | "info.kw.stages": "Reihenfolge der Stages. Fehlt sie, folgen die Stages der Reihenfolge, in der Jobs sie nennen. Ein Job ohne Stage nutzt test.", |
| 274 | "info.kw.variables": "Ein Text oder ein Feld value. Ein Job überschreibt denselben Namen. Verfügbar in Regeln und im Container.", |
| 275 | "info.kw.image": "Standardimage, als Text oder als Feld name. default.image gewinnt, wenn es gesetzt ist. Ein Preset wie bluegit/base ist erlaubt.", |
| 276 | "info.kw.default": "image, before_script, after_script, tags, timeout, cache, retry und interruptible für Jobs, die sie nicht selbst setzen.", |
| 277 | "info.kw.include": "Nur ein lokaler Pfad. Ein Job mit demselben Namen wird zusammengeführt und die äußere Datei gewinnt je Feld.", |
| 278 | "info.kw.before_script": "Shell-Zeilen, die vor script laufen.", |
| 279 | "info.kw.after_script": "Shell-Zeilen, die nach script laufen, auch wenn script scheitert.", |
| 280 | "info.kw.cache": "paths und ein Textschlüssel. Bleibt auf diesem Rechner für ein Repository.", |
| 281 | "info.kw.workflow": "rules wie bei einem Job. Kein Treffer oder when never erzeugt keine Pipeline.", |
| 282 | "info.kw.jobs": "Optionale ältere Map von Jobs. Jobs dürfen auch auf der obersten Ebene stehen, aber nicht an beiden Stellen.", |
| 283 | "info.kw.stage": "Name der Stage. Weggelassen bedeutet test.", |
| 284 | "info.kw.script": "Shell-Zeilen. Der Job scheitert, wenn eine Zeile scheitert.", |
| 285 | "info.kw.needs": "Jobnamen oder job und optional. Eine leere Liste startet sofort. Weggelassen wartet der Job auf frühere Stages. Ein need auf einen Parallel-Job wartet auf jede Kopie.", |
| 286 | "info.kw.rules": "Der erste Treffer gewinnt. Felder sind if, changes, exists und when. Ohne rules entscheiden only und except.", |
| 287 | "info.kw.only": "Ein Branchname, branches, tags, merge_requests oder ein Regex zwischen Schrägstrichen.", |
| 288 | "info.kw.except": "Das Gegenteil von only.", |
| 289 | "info.kw.when": "on_success ist der Standard, außerdem on_failure, always und manual. Eine Regel darf never sagen.", |
| 290 | "info.kw.allow_failure": "Ein Fehler stoppt den Rest nicht. Der Job selbst wird eine Warnung.", |
| 291 | "info.kw.artifacts": "paths und expire_in. Einheiten sind Sekunden, Minuten, Stunden, Tage, Wochen oder never.", |
| 292 | "info.kw.resource_group": "Jobs mit diesem Namen in einem Repository laufen nicht gleichzeitig.", |
| 293 | "info.kw.timeout": "Ersetzt das Server-Timeout für diesen Job. Der Runner stoppt den Container, wenn die Zeit um ist.", |
| 294 | "info.kw.retry": "Eine Zahl oder max und when. max liegt zwischen 0 und 2, eine höhere Zahl wird gekappt. when nennt script_failure, runner_system_failure, job_execution_timeout, stuck_or_timeout_failure oder always.", |
| 295 | "info.kw.parallel": "Eine Zahl bis 50 oder eine Matrix. Nummerierte Jobs heißen Name 1/N und erhalten CI_NODE_INDEX und CI_NODE_TOTAL. Eine Matrix ist das Produkt jeder Liste, danach aneinandergereiht. Schlüssel werden Variablen.", |
| 296 | "info.kw.services": "Sidecar-Container im selben Netz wie der Job. Text oder name, alias, command, entrypoint und variables. Ohne Alias entfallen Registry und Tag. Es gibt keine Health-Prüfung außer einem gestarteten Container.", |
| 297 | "info.kw.environment": "Ein Name oder name und url. Setzt die Umgebungsvariablen. Es gibt kein Deployment und keinen Stop-Job.", |
| 298 | "info.kw.interruptible": "Standardmäßig aus. Eine neuere Pipeline auf derselben Ref bricht ältere Jobs ab, die dies gesetzt haben und noch warten oder laufen.", |
| 299 | "info.kw.tags": "Am Job gespeichert. Steve führt jeden Job aus. Tags wählen keinen Runner.", |
| 300 | "info.kw.extends": "Ein Name oder eine Liste. Ein Job, dessen Name mit einem Punkt beginnt, ist eine Vorlage und läuft nicht.", |
| 301 | "info.kw.if": "Ein Ausdruck. Die erste Regel, deren if, changes und exists alle passen, gewinnt.", |
| 302 | "info.kw.changes": "Pfade im Diff des Push. Ist der Diff nicht bestimmbar, trifft die Bedingung zu.", |
| 303 | "info.kw.exists": "Jeder genannte Pfad muss im Commit stehen. Ist der Baum unbekannt, trifft die Bedingung zu.", |
| 304 | |
| 305 | "info.var.CI": "Immer wahr.", |
| 306 | "info.var.CI_CONFIG_PATH": "Pfad der Pipeline-Datei.", |
| 307 | "info.var.CI_SERVER_NAME": "Immer BlueGit.", |
| 308 | "info.var.CI_COMMIT_SHA": "Volle Commit-Id.", |
| 309 | "info.var.CI_COMMIT_SHORT_SHA": "Die ersten acht Zeichen der Commit-Id.", |
| 310 | "info.var.CI_COMMIT_REF": "Volle Git-Ref.", |
| 311 | "info.var.CI_COMMIT_REF_NAME": "Name des Branches oder des Tags.", |
| 312 | "info.var.CI_COMMIT_REF_SLUG": "Ref-Name, der in einer URL sicher ist.", |
| 313 | "info.var.CI_COMMIT_TITLE": "Betreff des Commits.", |
| 314 | "info.var.CI_COMMIT_TIMESTAMP": "Committer-Zeit in ISO 8601.", |
| 315 | "info.var.CI_COMMIT_BRANCH": "Branchname. Leer bei einem Tag.", |
| 316 | "info.var.CI_COMMIT_TAG": "Tagname. Leer bei einem Branch.", |
| 317 | "info.var.CI_DEFAULT_BRANCH": "Standardbranch des Repositorys.", |
| 318 | "info.var.CI_PIPELINE_ID": "Pipelinenummer. Null, solange Regeln geprüft werden.", |
| 319 | "info.var.CI_PIPELINE_SOURCE": "push, web oder merge_request_event.", |
| 320 | "info.var.CI_PIPELINE_URL": "Link zur Pipeline.", |
| 321 | "info.var.CI_PROJECT_PATH": "Besitzer und Repository.", |
| 322 | "info.var.CI_PROJECT_NAME": "Name des Repositorys.", |
| 323 | "info.var.CI_PROJECT_NAMESPACE": "Pfad des Besitzers.", |
| 324 | "info.var.CI_PROJECT_URL": "Link zum Repository.", |
| 325 | "info.var.CI_API_URL": "Wurzel der API.", |
| 326 | "info.var.CI_JOB_ID": "Jobnummer.", |
| 327 | "info.var.CI_JOB_NAME": "Name des Jobs.", |
| 328 | "info.var.CI_JOB_STAGE": "Name der Stage.", |
| 329 | "info.var.CI_JOB_URL": "Link zum Job.", |
| 330 | "info.var.CI_JOB_TOKEN": "Token dieses Jobs. Im Log steht eine Maske.", |
| 331 | "info.var.CI_NODE_INDEX": "Index dieses Parallel- oder Matrix-Jobs.", |
| 332 | "info.var.CI_NODE_TOTAL": "Anzahl der Parallel- oder Matrix-Jobs.", |
| 333 | "info.var.CI_ENVIRONMENT_NAME": "Name der Umgebung.", |
| 334 | "info.var.CI_ENVIRONMENT_URL": "Adresse der Umgebung.", |
| 335 | "info.var.CI_MERGE_REQUEST_ID": "Interne Id des Merge Requests.", |
| 336 | "info.var.CI_MERGE_REQUEST_IID": "Nummer des Merge Requests im Projekt.", |
| 337 | "info.var.CI_MERGE_REQUEST_TITLE": "Titel des Merge Requests.", |
| 338 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_NAME": "Quellbranch.", |
| 339 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_SHA": "Commit des Quellbranches.", |
| 340 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_NAME": "Zielbranch.", |
| 341 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_SHA": "Spitze des Zielbranches.", |
| 342 | "info.var.CI_MERGE_REQUEST_PROJECT_PATH": "Projektpfad des Merge Requests.", |
| 343 | "info.var.CI_MERGE_REQUEST_PROJECT_URL": "Link zu diesem Projekt.", |
| 344 | |
| 345 | "info.diff.file": "Die Datei heißt blue-ci-cd.yml, nicht der GitLab-Dateiname.", |
| 346 | "info.diff.runner": "Es gibt einen Runner. Der Name steht in runner.name und ist standardmäßig Steve. tags wählen keinen anderen Runner.", |
| 347 | "info.diff.include": "include liest nur eine lokale Datei. Ein Include aus einem Projekt, einer URL oder einer Vorlage wird ignoriert.", |
| 348 | "info.diff.unsupported": "pages, spec, Trigger-Pipelines, Child-Pipelines, coverage, id_tokens, inherit und hooks werden mit einer Warnung ignoriert.", |
| 349 | "info.diff.services": "services auf der obersten Ebene wird ignoriert. Job-Services teilen ein Netz und haben keine Health-Prüfung außer einem gestarteten Container.", |
| 350 | "info.diff.env": "environment setzt nur Variablen. Es gibt kein Deployment und keinen Stop-Job.", |
| 351 | "info.diff.retry": "retry max ist höchstens 2.", |
| 352 | "info.diff.parallel": "parallel ist höchstens 50.", |
| 353 | "info.diff.rules": "Die Pipelinenummer ist null, solange Regeln laufen. Job-, Node- und Umgebungsvariablen gibt es nur im Container.", |
| 354 | "info.diff.mr": "Eine Merge-Request-Pipeline läuft auf dem Quell-Commit, nicht auf einem zusammengeführten Baum. Sie startet beim Öffnen, bei jedem Push zur Quelle und erneut, wenn jemand den Zielbranch pusht.", |
| 355 | "info.diff.cache": "cache bleibt auf diesem Rechner und wird nicht geteilt.", |
| 356 | "info.diff.images": "Ein Imagename, der ein Preset ist, wird lokal gebaut. Jeder andere Name ist ein normales Docker-Image.", |
| 357 | } |
| 358 | |
| 359 | var infoFR = map[string]string{ |
| 360 | "nav.info": "Info", |
| 361 | "title.info": "CI/CD", |
| 362 | "info.lead": "Référence de blue-ci-cd.yml et des presets d'image que Steve construit.", |
| 363 | |
| 364 | "info.col.keyword": "Mot-clé", |
| 365 | "info.col.meaning": "Signification", |
| 366 | "info.col.name": "Preset", |
| 367 | "info.col.base": "Image", |
| 368 | "info.col.tools": "Contenu", |
| 369 | "info.col.where": "Disponible", |
| 370 | |
| 371 | "info.sec.pipeline": "Pipeline", |
| 372 | "info.sec.job": "Jobs", |
| 373 | "info.sec.rules": "Règles", |
| 374 | "info.sec.variables": "Variables", |
| 375 | "info.sec.diff": "Différences avec GitLab", |
| 376 | "info.sec.presets": "Presets d'image", |
| 377 | |
| 378 | "info.where.both": "Règles et conteneur", |
| 379 | "info.where.container": "Conteneur seulement", |
| 380 | "info.where.mr": "Merge request", |
| 381 | |
| 382 | "info.rules.intro": "La première règle qui correspond gagne. && lie plus fort que ||. Les parenthèses groupent. Une variable vide vaut null. == et != comparent. =~ et !~ testent un motif RE2. Un slash dans un motif s'écrit avec un backslash. Le drapeau i suit juste la parenthèse fermante. Un motif dans une variable doit être valide au moment où la règle tourne.", |
| 383 | "info.presets.intro": "Un job choisit un preset avec le mot-clé image. Steve construit ce Dockerfile au premier usage et réutilise le résultat. Tout autre nom, comme node:22, reste une image Docker ordinaire.", |
| 384 | "info.presets.config": "On ajoute ou remplace un preset sous ci.presets dans config.yml, avec image, dockerfile ou from.", |
| 385 | "info.presets.mapped": "Utilise cette image telle quelle.", |
| 386 | |
| 387 | "info.kw.stages": "Ordre des stages. S'il manque, les stages suivent l'ordre dans lequel les jobs les nomment. Un job sans stage utilise test.", |
| 388 | "info.kw.variables": "Un texte, ou un champ value. Un job remplace le même nom. Disponible dans les règles et dans le conteneur.", |
| 389 | "info.kw.image": "Image par défaut, en texte ou en champ name. default.image gagne s'il est posé. Un preset comme bluegit/base est permis.", |
| 390 | "info.kw.default": "image, before_script, after_script, tags, timeout, cache, retry et interruptible pour les jobs qui ne les posent pas.", |
| 391 | "info.kw.include": "Seulement un chemin local. Un job du même nom est fusionné et le fichier extérieur gagne chaque champ.", |
| 392 | "info.kw.before_script": "Lignes de shell qui tournent avant script.", |
| 393 | "info.kw.after_script": "Lignes de shell qui tournent après script, même si script échoue.", |
| 394 | "info.kw.cache": "paths et une clé texte. Reste sur cette machine pour un dépôt.", |
| 395 | "info.kw.workflow": "rules, comme pour un job. Aucune correspondance, ou when never, ne crée pas de pipeline.", |
| 396 | "info.kw.jobs": "Ancienne map optionnelle de jobs. Les jobs peuvent aussi être au premier niveau, mais pas aux deux endroits.", |
| 397 | "info.kw.stage": "Nom du stage. Absent signifie test.", |
| 398 | "info.kw.script": "Lignes de shell. Le job échoue si une ligne échoue.", |
| 399 | "info.kw.needs": "Noms de jobs, ou job et optional. Une liste vide démarre tout de suite. Absente, le job attend les stages précédents. Un need sur un job parallèle attend chaque copie.", |
| 400 | "info.kw.rules": "La première correspondance gagne. Les champs sont if, changes, exists et when. Sans rules, only et except décident.", |
| 401 | "info.kw.only": "Un nom de branche, branches, tags, merge_requests, ou une regex entre des slashes.", |
| 402 | "info.kw.except": "Le contraire de only.", |
| 403 | "info.kw.when": "on_success est le défaut, aussi on_failure, always et manual. Une règle peut dire never.", |
| 404 | "info.kw.allow_failure": "Un échec n'arrête pas le reste. Le job lui-même devient un avertissement.", |
| 405 | "info.kw.artifacts": "paths et expire_in. Les unités sont secondes, minutes, heures, jours, semaines, ou never.", |
| 406 | "info.kw.resource_group": "Les jobs qui partagent ce nom dans un dépôt ne tournent pas en même temps.", |
| 407 | "info.kw.timeout": "Remplace le délai du serveur pour ce job. Le runner arrête le conteneur quand le temps est fini.", |
| 408 | "info.kw.retry": "Un nombre, ou max et when. max va de 0 à 2 et un nombre plus haut est coupé. when nomme script_failure, runner_system_failure, job_execution_timeout, stuck_or_timeout_failure ou always.", |
| 409 | "info.kw.parallel": "Un nombre jusqu'à 50, ou une matrice. Les jobs numérotés s'appellent nom 1/N et reçoivent CI_NODE_INDEX et CI_NODE_TOTAL. Une matrice est le produit de chaque liste, puis ces produits à la suite. Les clés deviennent des variables.", |
| 410 | "info.kw.services": "Conteneurs sidecar sur un réseau avec le job. Texte, ou name, alias, command, entrypoint et variables. Sans alias, le registre et le tag tombent. Il n'y a pas de contrôle de santé au-delà d'un conteneur démarré.", |
| 411 | "info.kw.environment": "Un nom, ou name et url. Pose les variables d'environnement. Il n'y a pas de déploiement et pas de job d'arrêt.", |
| 412 | "info.kw.interruptible": "Éteint par défaut. Une pipeline plus récente sur la même ref annule les jobs plus anciens qui ont ceci et qui attendent encore ou tournent.", |
| 413 | "info.kw.tags": "Conservé sur le job. Steve exécute chaque job. Les tags ne choisissent pas un runner.", |
| 414 | "info.kw.extends": "Un nom ou une liste. Un job dont le nom commence par un point est un modèle et ne tourne pas.", |
| 415 | "info.kw.if": "Une expression. La première règle dont if, changes et exists correspondent tous gagne.", |
| 416 | "info.kw.changes": "Chemins dans le diff du push. Si ce diff est inconnu, la condition correspond.", |
| 417 | "info.kw.exists": "Chaque chemin cité doit être dans le commit. Si l'arbre est inconnu, la condition correspond.", |
| 418 | |
| 419 | "info.var.CI": "Toujours vrai.", |
| 420 | "info.var.CI_CONFIG_PATH": "Chemin du fichier de pipeline.", |
| 421 | "info.var.CI_SERVER_NAME": "Toujours BlueGit.", |
| 422 | "info.var.CI_COMMIT_SHA": "Identifiant complet du commit.", |
| 423 | "info.var.CI_COMMIT_SHORT_SHA": "Huit premiers caractères de l'identifiant du commit.", |
| 424 | "info.var.CI_COMMIT_REF": "Réf git complète.", |
| 425 | "info.var.CI_COMMIT_REF_NAME": "Nom de la branche ou du tag.", |
| 426 | "info.var.CI_COMMIT_REF_SLUG": "Nom de réf sûr dans une URL.", |
| 427 | "info.var.CI_COMMIT_TITLE": "Sujet du commit.", |
| 428 | "info.var.CI_COMMIT_TIMESTAMP": "Heure du committer au format ISO 8601.", |
| 429 | "info.var.CI_COMMIT_BRANCH": "Nom de branche. Vide sur un tag.", |
| 430 | "info.var.CI_COMMIT_TAG": "Nom du tag. Vide sur une branche.", |
| 431 | "info.var.CI_DEFAULT_BRANCH": "Branche par défaut du dépôt.", |
| 432 | "info.var.CI_PIPELINE_ID": "Numéro de pipeline. Zéro pendant l'évaluation des règles.", |
| 433 | "info.var.CI_PIPELINE_SOURCE": "push, web, ou merge_request_event.", |
| 434 | "info.var.CI_PIPELINE_URL": "Lien vers la pipeline.", |
| 435 | "info.var.CI_PROJECT_PATH": "Propriétaire et dépôt.", |
| 436 | "info.var.CI_PROJECT_NAME": "Nom du dépôt.", |
| 437 | "info.var.CI_PROJECT_NAMESPACE": "Chemin du propriétaire.", |
| 438 | "info.var.CI_PROJECT_URL": "Lien vers le dépôt.", |
| 439 | "info.var.CI_API_URL": "Racine de l'API.", |
| 440 | "info.var.CI_JOB_ID": "Numéro du job.", |
| 441 | "info.var.CI_JOB_NAME": "Nom du job.", |
| 442 | "info.var.CI_JOB_STAGE": "Nom du stage.", |
| 443 | "info.var.CI_JOB_URL": "Lien vers le job.", |
| 444 | "info.var.CI_JOB_TOKEN": "Jeton de ce job. Le journal le masque.", |
| 445 | "info.var.CI_NODE_INDEX": "Index de ce job parallèle ou de matrice.", |
| 446 | "info.var.CI_NODE_TOTAL": "Nombre de jobs parallèles ou de matrice.", |
| 447 | "info.var.CI_ENVIRONMENT_NAME": "Nom de l'environnement.", |
| 448 | "info.var.CI_ENVIRONMENT_URL": "Adresse de l'environnement.", |
| 449 | "info.var.CI_MERGE_REQUEST_ID": "Identifiant interne de la merge request.", |
| 450 | "info.var.CI_MERGE_REQUEST_IID": "Numéro de la merge request dans le projet.", |
| 451 | "info.var.CI_MERGE_REQUEST_TITLE": "Titre de la merge request.", |
| 452 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_NAME": "Branche source.", |
| 453 | "info.var.CI_MERGE_REQUEST_SOURCE_BRANCH_SHA": "Commit de la branche source.", |
| 454 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_NAME": "Branche cible.", |
| 455 | "info.var.CI_MERGE_REQUEST_TARGET_BRANCH_SHA": "Pointe de la branche cible.", |
| 456 | "info.var.CI_MERGE_REQUEST_PROJECT_PATH": "Chemin du projet de la merge request.", |
| 457 | "info.var.CI_MERGE_REQUEST_PROJECT_URL": "Lien vers ce projet.", |
| 458 | |
| 459 | "info.diff.file": "Le fichier s'appelle blue-ci-cd.yml, pas le nom de fichier GitLab.", |
| 460 | "info.diff.runner": "Il y a un seul runner. Son nom est runner.name et vaut Steve par défaut. Les tags ne choisissent pas un autre runner.", |
| 461 | "info.diff.include": "include ne lit qu'un fichier local. Un include de projet, d'URL ou de modèle est ignoré.", |
| 462 | "info.diff.unsupported": "pages, spec, les pipelines déclenchées, les pipelines enfants, coverage, id_tokens, inherit et hooks sont ignorés avec un avertissement.", |
| 463 | "info.diff.services": "services au premier niveau est ignoré. Les services d'un job partagent un réseau et n'ont pas de contrôle de santé au-delà d'un conteneur démarré.", |
| 464 | "info.diff.env": "environment ne fait que poser des variables. Il n'y a pas de déploiement et pas de job d'arrêt.", |
| 465 | "info.diff.retry": "retry max est plafonné à 2.", |
| 466 | "info.diff.parallel": "parallel est plafonné à 50.", |
| 467 | "info.diff.rules": "Le numéro de pipeline est zéro pendant les règles. Les variables de job, de nœud et d'environnement n'existent que dans le conteneur.", |
| 468 | "info.diff.mr": "Une pipeline de merge request tourne sur le commit source, pas sur un arbre fusionné. Elle démarre à l'ouverture, à chaque push vers la source, et encore quand quelqu'un pousse la cible.", |
| 469 | "info.diff.cache": "cache reste sur cette machine et n'est pas partagé.", |
| 470 | "info.diff.images": "Un nom d'image qui est un preset est construit localement. Tout autre nom est une image Docker ordinaire.", |
| 471 | } |