sourcegraph/dev/ci
William Bezuidenhout 8bb0ab54eb
release: never use build number in image family (#63157)
the executor image and docker mirror image should now follow the
following naming convention:

Image family:
`sourcegraph-executors-[nightly|internal|'']-<MAJOR>-<MINOR>`
Image name:
`sourcegraph-executor-[nightly|internal|'']-<MAJOR>-<MINOR>-<BUILD_NUMBER>`

example:
Image family: `sourcegraph-executors-5-4`
Image name: `sourcegraph-executor-5-4-277666`

## What happens during releases and _not_ releases?
#### Nightly
**`nightly` suffix**
Image family: `sourcegraph-executors-nightly-<MAJOR>-<MINOR>`
Image name:
`sourcegraph-executor-nightly-<MAJOR>-<MINOR>-<BUILD_NUMBER>`
#### Internal
**`internal` suffix**
Image family: `sourcegraph-executors-internal-<MAJOR>-<MINOR>`
Image name:
`sourcegraph-executor-internal-<MAJOR>-<MINOR>-<BUILD_NUMBER>`
#### Public / Promote to public

** No suffix **

Image family: `sourcegraph-executors-<MAJOR>-<MINOR>`
Image name: `sourcegraph-executor-<MAJOR>-<MINOR>-<BUILD_NUMBER>`

>  [!IMPORTANT]
> Should we keep the imagine name stable at
`sourcegraph-executor-<MAJOR>-<MINOR>-<BUILD_NUMBER>`
> and only change the family name? 
>
> **Why?**
>
> The Image family dictates the collection of images and that changes
each major minor and or release phase so there is really no use in
changing the image name too, except at a glance you can see from the
name what image family it belongs to?
## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs-legacy.sourcegraph.com/dev/background-information/testing_principles
-->


## Changelog

<!--
1. Ensure your pull request title is formatted as: $type($domain): $what
2. Add bullet list items for each additional detail you want to cover
(see example below)
3. You can edit this after the pull request was merged, as long as
release shipping it hasn't been promoted to the public.
4. For more information, please see this how-to
https://www.notion.so/sourcegraph/Writing-a-changelog-entry-dd997f411d524caabf0d8d38a24a878c?

Audience: TS/CSE > Customers > Teammates (in that order).

Cheat sheet: $type = chore|fix|feat $domain:
source|search|ci|release|plg|cody|local|...
-->

<!--
Example:

Title: fix(search): parse quotes with the appropriate context
Changelog section:

## Changelog

- When a quote is used with regexp pattern type, then ...
- Refactored underlying code.
-->
2024-06-07 17:23:24 +02:00
..
gitops bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
helpers chore(bazel): update ownership tags to increase coverage (#63001) 2024-05-31 14:10:29 +00:00
images chore(tooling): bump Go version to 1.22.4 (#63124) 2024-06-06 15:19:03 +00:00
integration/executors chore: Remove client construction from SignUp/In funcs (#62789) 2024-05-21 15:18:58 +02:00
internal release: never use build number in image family (#63157) 2024-06-07 17:23:24 +02:00
runtype feat(ci): docker-images runtype (#62708) 2024-05-27 14:45:01 +02:00
scripts bazel: Cleanup oci_deps.bzl (#62769) 2024-05-28 10:00:31 +01:00
trivy fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
annotate-cloud-ephemeral.sh sg+ci: cloud ephemeral annotation (#62489) 2024-05-07 17:57:54 +02:00
asdf-install.sh app: add step for intel mac builds (#52540) 2023-05-29 20:21:06 +02:00
bazel-build-sg.sh ci: call Aspect Agent Health check before doing rc gen (#61216) 2024-03-18 15:24:27 +02:00
bazel-configure.sh Reapply "ci: use aspect workflow agents (#60317)" (#60856)" (#60860) 2024-03-06 11:37:49 +02:00
bazel-gomodtidy.sh ci: call Aspect Agent Health check before doing rc gen (#61216) 2024-03-18 15:24:27 +02:00
bazel-prechecks-apply.sh aspect: use different dep step key if running as part of aspect (#58676) 2023-11-30 16:48:14 +02:00
bazel-prechecks.sh fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
bazel.sh ci: call Aspect Agent Health check before doing rc gen (#61216) 2024-03-18 15:24:27 +02:00
BUILD.bazel bazel: transcribe test ownership to bazel tags (#62664) 2024-05-16 15:51:16 +01:00
CODENOTIFY enterprise: Move last directory out (#57392) 2023-10-05 20:15:40 +00:00
create-client-artifact.sh web: make web integration tests great again! (#25027) 2021-09-23 16:32:25 +02:00
docker-publish.sh ci: drop gcloud init from ci steps (#26492) 2021-10-27 17:02:29 +02:00
gen-metadata-annotation.sh fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
gen-pipeline.go fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
gen-pipeline.sh ci: call Aspect Agent Health check before doing rc gen (#61216) 2024-03-18 15:24:27 +02:00
glossary.md ci: remove chromatic (#62228) 2024-04-29 14:56:26 +02:00
msp_deploy.sh msp/deploy: add 'author' and 'commit_message' annotations (#63108) 2024-06-05 11:43:02 -07:00
OWNERS chore: links/ownership devx->dev-infra (#58999) 2023-12-14 15:07:20 +00:00
parallel_run.sh add shellcheck & shfmt to pre-commit's pre-push hook (#59485) 2024-01-11 14:16:22 +00:00
pnpm-build.sh use esbuild for client/web builds (#57365) 2023-10-23 10:59:06 -07:00
pnpm-install-with-retry.sh app: buildkite pipeline for releases (#52202) 2023-05-19 17:44:20 +00:00
pnpm-run.sh remove gulp (task runner) (#57963) 2023-10-29 12:09:50 -07:00
pnpm-web-integration.sh disable frontend code coverage tracking (#57820) 2023-10-23 21:29:40 +00:00
push_all.sh feat(ci): docker-images runtype (#62708) 2024-05-27 14:45:01 +02:00
README.md fix: update links for dev docs (#62758) 2024-05-17 13:47:34 +02:00
reset-test-db.sh dev/ci: remove set -x in all tests (#36577) 2022-06-03 13:52:48 -07:00
semgrep-scan.sh ci: set tag refspec for semgrep when working with tags (#61494) 2024-03-29 12:35:39 +00:00

Buildkite Pipeline for sourcegraph/sourcegraph

We dynamically generate our CI pipeline for Buildkite based on the output of gen-pipeline.go. To learn more, refer to the continuous integration docs.