Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploy: Add artefact repository #9617

Merged
merged 1 commit into from May 16, 2024

Conversation

zvonkok
Copy link
Contributor

@zvonkok zvonkok commented May 10, 2024

New env var so everyone can test the PUSH_TO_REGISTRY feature

export PUSH_TO_REGISTRY=yes
export ARTEFACT_REGISTRY=quay.io
export ARTEFACT_REPOSITORY=redhat_z92c6
export ARTEFACT_REGISTRY_USERNAME=zvonkok
export ARTEFACT_REGISTRY_PASSWORD=super-secret

make kernel-nvidia-gpu-tarball

tl:dr: Pushed [registry] quay.io/redhat_z92c6/cached-artefacts/kernel-nvidia-gpu:latest-main-x86_64

kata-static-kernel-nvidia-gpu.tar.xz: OK
INFO: Using cached tarball of kernel-nvidia-gpu
drwxr-xr-x zvonkok/zvonkok   0 2024-05-10 07:59 ./
drwxr-xr-x root/root         0 2024-05-10 07:59 ./opt/
drwxr-xr-x root/root         0 2024-05-10 07:59 ./opt/kata/
drwxr-xr-x root/root         0 2024-05-10 07:59 ./opt/kata/share/
drwxr-xr-x root/root         0 2024-05-10 07:59 ./opt/kata/share/kata-containers/
-rw-r--r-- root/root     79303 2024-05-10 07:59 ./opt/kata/share/kata-containers/config-6.1.62-129-nvidia-gpu
lrwxrwxrwx root/root         0 2024-05-10 07:59 ./opt/kata/share/kata-containers/vmlinuz-nvidia-gpu.container -> vmlinuz-6.1.62-129-nvidia-gpu
lrwxrwxrwx root/root         0 2024-05-10 07:59 ./opt/kata/share/kata-containers/vmlinux-nvidia-gpu.container -> vmlinux-6.1.62-129-nvidia-gpu
-rw-r--r-- root/root   6982208 2024-05-10 07:59 ./opt/kata/share/kata-containers/vmlinuz-6.1.62-129-nvidia-gpu
-rw-r--r-- root/root  47046728 2024-05-10 07:59 ./opt/kata/share/kata-containers/vmlinux-6.1.62-129-nvidia-gpu
-rw-r--r-- root/root   1316494 2024-05-10 07:59 ./linux-libc-dev_6.1.62-nvidia-gpu-2_amd64.deb
-rw-r--r-- root/root   8702558 2024-05-10 07:59 ./linux-headers-6.1.62-nvidia-gpu_6.1.62-nvidia-gpu-2_amd64.deb
-rw-r--r-- root/root   7371168 2024-05-10 07:59 ./linux-image-6.1.62-nvidia-gpu_6.1.62-nvidia-gpu-2_amd64.deb
/zvonkok/github.com/zvonkok/kata-containers/tools/packaging/kata-deploy/local-build/build /zvonkok/github.com/zvonkok/kata-containers/tools/packaging/kata-deploy/local-build/build/kernel-nvidia-gpu/builddir
Login Succeeded
Exists    b371eeb26fb8 kernel-nvidia-gpu-version
Exists    804a75652f90 kata-static-kernel-nvidia-gpu.tar.xz
Exists    a8674a825149 kata-static-kernel-nvidia-gpu-headers.tar.xz
Exists    8f71e2b0fe63 kernel-nvidia-gpu-builder-image-version
Exists    ed7e70e5fced kernel-nvidia-gpu-sha256sum
Pushed [registry] quay.io/redhat_z92c6/cached-artefacts/kernel-nvidia-gpu:latest-main-x86_64
Digest: sha256:2eb22606f9144763865ab112b9b7c3e55f5672ddb7c85ecd4d8664113422a9d3
/zvonkok/github.com/zvonkok/kata-containers/tools/packaging/kata-deploy/local-build/build/kernel-nvidia-gpu/builddir
+ '[' false == true ']'
make[1]: Leaving directory '/zvonkok/github.com/zvonkok/kata-containers'```

@katacontainersbot katacontainersbot added the size/small Small and simple task label May 10, 2024
Copy link
Member

@stevenhorsman stevenhorsman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @zvonkok!

New env var so everyone can test the PUSH_TO_REGISTRY feature

export PUSH_TO_REGISTRY=yes
export ARTEFACT_REGISTRY=quay.io
export ARTEFACT_REPOSITORY=my-fancy-kata-containers
export ARTEFACT_REGISTRY_USERNAME=zvonkok
export ARTEFACT_REGISTRY_PASSWORD=<super-secret>

make ...-tarball

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
@zvonkok
Copy link
Contributor Author

zvonkok commented May 10, 2024

/test

1 similar comment
@zvonkok
Copy link
Contributor Author

zvonkok commented May 10, 2024

/test

Copy link
Member

@fidencio fidencio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @zvonkok!

@stevenhorsman stevenhorsman merged commit b31ff09 into kata-containers:main May 16, 2024
300 of 313 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ok-to-test size/small Small and simple task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants