You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "base698 (via GitHub)" <gi...@apache.org> on 2025/10/14 14:41:54 UTC

[PR] build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds [incubator-devlake]

base698 opened a new pull request, #8612:
URL: https://github.com/apache/incubator-devlake/pull/8612

   <!--
   Licensed to the Apache Software Foundation (ASF) under one or more
   contributor license agreements.  See the NOTICE file distributed with
   this work for additional information regarding copyright ownership.
   The ASF licenses this file to You under the Apache License, Version 2.0
   (the "License"); you may not use this file except in compliance with
   the License.  You may obtain a copy of the License at
   
       http://www.apache.org/licenses/LICENSE-2.0
   
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
   -->
   ### ⚠️ Pre Checklist
   
   > Please complete _ALL_ items in this checklist, and remove before submitting
   
   - [X] I have read through the [Contributing Documentation](https://devlake.apache.org/community/).
   - [ ] I have added relevant tests.
   - [X] I have added relevant documentation.
   - [X] I will add labels to the PR, such as `pr-type/bug-fix`, `pr-type/feature-development`, etc.
   
   ---
   
   ### Summary
   This PR improves container build flexibility and unifies the JIRA epic collector to use the v3 `/search/jql` endpoint exclusively.
   
   **Key changes:**
   - **Makefiles**
     - Introduces `CONTAINER_CMD` (defaults to `docker`) and `PLATFORM` (defaults to `linux/amd64`) for flexible builds across environments.
     - Updates all `docker build` commands to respect `$(CONTAINER_CMD)` and `--platform=$(PLATFORM)`.
   - **Backend Dockerfile**
     - Adds `-Wno-incompatible-pointer-types` and `USE_BUNDLED_ZLIB=ON` to CMake flags for stable cross-compile of `libgit2`.
   ---
   
   ### Does this close any open issues?
   - No
   
   ---
   
   ### Screenshots
   N/A
   
   ---
   
   ### Other Information
   
   #### Usage
   - `make build-server-image CONTAINER_CMD=podman PLATFORM=linux/arm64`
   
   #### Motivation
   - Allow building on a MacBook Pro


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8612:
URL: https://github.com/apache/incubator-devlake/pull/8612#issuecomment-3924018858

   This pull request has been closed because it has not had recent activity. You could reopen it if you try to continue your work, and anyone who are interested in it are encouraged to continue work on this pull request.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed pull request #8612: build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds 
URL: https://github.com/apache/incubator-devlake/pull/8612


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] build: add CONTAINER_CMD/PLATFORM vars for cross-arch builds [incubator-devlake]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #8612:
URL: https://github.com/apache/incubator-devlake/pull/8612#issuecomment-3887989852

   This pull request has been automatically marked as stale because it has not had recent activity for 120 days. It will be closed in 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org