Commit abd12ae
authored
Backport unified pipeline for APM SDKs for SSI artifacts (#5868)
## Summary of changes
This is a backport of #5818 to the 2.x release branch. The main
difference is that 2.x needs the init images for musl published under
the `-musl` tag suffix
## Reason for change
By using the unified pipeline across all APM libraries, there is less
maintenance hassle, fewer mistakes, and a more uniform creation of
artifacts.
## Implementation details
I kept all of the changes from the original PR isolated to a single
commit for ease of review. The goal of the changes was to do the minimal
without having to change `one-pipeline` upstream.
**download-single-step-artifacts.sh** :
download the musl tarball from Github releases
**prepare-oci-package.sh** :
if `LIBC` is `musl` use the `musl` tarball
**gitlab-ci.yml** :
* package-oci-musl : I couldn't change the `package-oci` matrix without
having dependency/artifact issues so a new job is created to build the
musl oci package. This package is only used to create the lib injection
image and the OCI package is not published anywhere
* create-arch-specific-lib-injection-image-musl: build the lib injection
image from package-oci-musl. The hack is that `ARCH` is abused to get
the tag to be `COMMIT_SHA-musl` . A multiach image is unneeded because
only amd64 supports musl and the single arch image is tagged correctly.
* generate-lib-init-pinned-tag-values : The `master` version overrode
one-pipeline to add `musl` tag to everything. That override is removed
* generate-lib-init-pinned-tag-values-musl: Generates the musl tags
* publish-lib-init-pinned-tags-musl : publishes the musl tags using
`COMMIT_SHA-musl` as the source
<!-- 1 parent 3fb67b0 commit abd12ae
File tree
11 files changed
+168
-810
lines changed- .azure-pipelines
- .github/workflows
- .gitlab
11 files changed
+168
-810
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3909 | 3909 | | |
3910 | 3910 | | |
3911 | 3911 | | |
3912 | | - | |
3913 | | - | |
3914 | | - | |
3915 | | - | |
3916 | | - | |
3917 | | - | |
3918 | | - | |
3919 | | - | |
3920 | | - | |
3921 | | - | |
3922 | | - | |
3923 | | - | |
3924 | | - | |
3925 | 3912 | | |
3926 | 3913 | | |
3927 | 3914 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | 11 | | |
27 | | - | |
28 | | - | |
29 | 12 | | |
30 | 13 | | |
31 | 14 | | |
| |||
This file was deleted.
This file was deleted.
0 commit comments