[ 
https://issues.apache.org/jira/browse/CASSANDRA-21432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087026#comment-18087026
 ] 

Maxim Muzafarov commented on CASSANDRA-21432:
---------------------------------------------

For the notice, we have to upload changed images to docker hub and jfrog first.


Push order:
# Build + push both images to JFrog and Docker Hub                              
                                       
# Verify pull works: docker pull 
apache.jfrog.io/cassan-docker/apache/cassandra-debian-build:e976fc5d9006c5b117ea1db5a1dd313b
 from a clean machine.
# Then merge the patch.                                                         
                                                                                
   

The push is safe to do before merge, the tags are content-addressed by 
Dockerfile hash, so they can't collide with anything on trunk and won't affect 
existing ci (which still pulls the old md5 tags until the patch lands).

{code}
Commands

  # 1. Auth (once per session)
  docker login                          # Docker Hub
  docker login apache.jfrog.io          # JFrog (ASF Artifactory creds)

  # 2. Multi-arch builder (once)
  docker buildx create --use --name cassandra-builder 2>/dev/null || docker 
buildx use cassandra-builder

  # 3. Build + push, from .build/ as context
  cd /Users/maxim.muzafarov/IdeaProjects/cassandra/.build

  # almalinux-build
  TAG=$(md5sum docker/almalinux-build.docker | cut -d' ' -f1)
  docker buildx build \
    --platform=linux/amd64,linux/arm64 \
    -t apache/cassandra-almalinux-build:${TAG} \
    -t apache.jfrog.io/cassan-docker/apache/cassandra-almalinux-build:${TAG} \
    --provenance=true --sbom=true \
    -f docker/almalinux-build.docker \
    --push \
    .

  # debian-build
  TAG=$(md5sum docker/debian-build.docker | cut -d' ' -f1)
  docker buildx build \
    --platform=linux/amd64,linux/arm64 \
    -t apache/cassandra-debian-build:${TAG} \
    -t apache.jfrog.io/cassan-docker/apache/cassandra-debian-build:${TAG} \
    --provenance=true --sbom=true \
    -f docker/debian-build.docker \
    --push \
    .
{code}

> Replace golang dependency in `ant gen-doc` with python implementation
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-21432
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21432
>             Project: Apache Cassandra
>          Issue Type: Task
>          Components: Build
>            Reporter: Maxim Muzafarov
>            Assignee: Maxim Muzafarov
>            Priority: Normal
>             Fix For: 5.0.x, 6.x, 7.x
>
>         Attachments: native_protocol_v3-1.html, native_protocol_v3.html, 
> native_protocol_v4-1.html, native_protocol_v4.html, 
> native_protocol_v5-1.html, native_protocol_v5.html
>
>
> Remove the golang dependency from the in-tree docs generation and generate 
> equivalent native protocol doc pages using Python (e.g. python + virtualenv + 
> jinja2), keeping output consistent with the current trunk-generated pages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to