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

[feat][build] Add support for ARM image #12

Merged
merged 18 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
ce6da00
[Dockerfile] Enable retries for apt-get when building Pulsar docker i…
lhotari Mar 2, 2022
cbab38f
PIP-155: Removed Python 2 support (#15376)
merlimat May 5, 2022
961e8e5
[improve][docker] Switch to Temurin JDK (#17129)
nodece Aug 31, 2022
90e1e70
[refactor][ci] Build the docker image with docker-maven-plugin (#17148)
tisonkun Aug 22, 2022
441001b
[feat][build] Support ARM64-based docker images (#17733)
tisonkun Sep 21, 2022
ac78de3
PIP-209: Removed C++/Python clients from main repo (#17881)
merlimat Sep 30, 2022
0e2a543
[improve][build] Avoid building image multiple times (#17208)
nodece Nov 10, 2022
a0212e7
[improve] Allow to build and push multi-arch Docker images (#19432)
merlimat Apr 22, 2023
ac8f8dd
[fix][build] Fix publish image script (#20305)
nodece May 12, 2023
1afc667
[fix][build] Fix the pulsar-all image may use the wrong upstream imag…
RobertIndie Jun 6, 2023
4e60e86
[feat][build] Adapt to Python client to be compatible with ARM arch
nodece Apr 28, 2024
5864b78
[fix][build] Configure git-commit-id-plugin to skip git describe (#20…
lhotari Jun 9, 2023
be5daf3
[improve][misc] Include native epoll library for Netty for arm64
nodece Apr 29, 2024
6cd2b35
[fix][misc] Rename all shaded Netty native libraries
nodece Apr 29, 2024
69afd15
[cleanup][build] Cleanup -Ddocker.nocache=true
nodece Apr 29, 2024
d698d94
[fix][build] Fix ubuntu mirror
nodece Apr 29, 2024
e1c76b8
[fix][build] Fix license
nodece Apr 29, 2024
ae4df07
[fix][build] Downgrade docker-maven to 0.43.3
nodece Apr 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 8 additions & 0 deletions .github/actions/tune-runner-vm/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,14 @@ runs:

# stop Azure Linux agent to save RAM
sudo systemctl stop walinuxagent.service || true

# enable docker experimental mode which is
# required for using "docker build --squash" / "-Ddocker.squash=true"
daemon_json="$(sudo cat /etc/docker/daemon.json | jq '.experimental = true')"
echo "$daemon_json" | sudo tee /etc/docker/daemon.json
# restart docker daemon
sudo systemctl restart docker
echo '::endgroup::'

# show memory
free -m
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/ci-cpp-build-centos7.yaml

This file was deleted.

128 changes: 0 additions & 128 deletions .github/workflows/ci-cpp-build-windows.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-backwards-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-integration-messaging.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker,-main -DskipTests

- name: run integration tests
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-pulsar-io-ora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-pulsar-io.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ jobs:
run: mvn -q -B -ntp clean install -DskipTests
- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/
- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/
- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f tests/docker-images/pom.xml install -am -Pdocker,-main -DskipTests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-sql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker pulsar latest test image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-thread.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-tiered-filesystem.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-integration-tiered-jcloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ jobs:

- name: build pulsar image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build pulsar-all image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -Ddocker.nocache=true
run: mvn -B -f docker/pulsar-all/pom.xml install -am -Pdocker,-main -DskipTests -DUBUNTU_MIRROR=http://azure.archive.ubuntu.com/ubuntu/

- name: build artifacts and docker image
if: ${{ steps.check_changes.outputs.docs_only != 'true' }}
Expand Down
Loading
Loading