Open
Conversation
Member
Author
Member
Author
|
FYI good build: bad build: I used this on my fork to test just this build: commit be9ddea79bc7a31b4735ed400bd71248d4f39871
Author: Joe Rafaniello <jrafanie@gmail.com>
Date: Wed Mar 11 15:47:56 2026 -0400
Debugging the build via GHA
* Run build just repmgr16 on my fork
* Skip upload
* Skip more GHA builds for CI and other platforms
diff --git a/.github/workflows/build_dependencies.yaml b/.github/workflows/build_dependencies.yaml
index 896c699..6f144f8 100644
--- a/.github/workflows/build_dependencies.yaml
+++ b/.github/workflows/build_dependencies.yaml
@@ -8,18 +8,14 @@ permissions:
contents: read
jobs:
build_dependencies:
- if: github.repository_owner == 'ManageIQ'
+ if: github.repository_owner == 'jrafanie'
strategy:
fail-fast: false
matrix:
runner:
- ubuntu-latest
- - ubuntu-24.04-ppc64le
- - ubuntu-24.04-s390x
runs-on: "${{ matrix.runner }}"
steps:
- uses: actions/checkout@v6
- name: Build and push RPMs
run: bin/build_dependencies
- env:
- RPM_BUILD_S3_API_KEY: "${{ secrets.RPM_BUILD_S3_API_KEY }}"
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bfb5bc9..a46cc2b 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -1,10 +1,6 @@
name: CI
on:
pull_request:
- push:
- branches-ignore:
- - dependabot/*
- - renovate/*
schedule:
- cron: 0 0 * * *
workflow_dispatch:
diff --git a/bin/build_dependencies b/bin/build_dependencies
index c03e537..186e63b 100755
--- a/bin/build_dependencies
+++ b/bin/build_dependencies
@@ -5,7 +5,7 @@ set -e
pushd packages
docker build . -t localhost/mock:latest
- arch_packages="kafka repmgr16"
+ arch_packages="repmgr16"
for package in $arch_packages
do
echo "Building $package"
@@ -15,35 +15,6 @@ pushd packages
popd
done
- arch=$(uname -m)
- if [[ $arch = "x86_64" ]]; then
- noarch_packages="manageiq-release python-bambou python-pylxca python-unittest2 python-vspk"
- for package in $noarch_packages
- do
- echo "Building $package"
- pushd $package
- docker run --rm --privileged --cap-add SYS_ADMIN -v $(pwd):/work:z localhost/mock:latest ./build
- ls -al result/
- popd
- done
- fi
-
- echo "Obtaining bearer token..."
- response=$(curl --fail -s -X "POST" "https://iam.cloud.ibm.com/oidc/token" -H 'Accept: application/json' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode "apikey=$RPM_BUILD_S3_API_KEY" --data-urlencode "response_type=cloud_iam" --data-urlencode "grant_type=urn:ibm:params:oauth:grant-type:apikey")
- access_token=$(echo $response | jq -r ".access_token")
- bearer_token=$(echo "bearer $access_token")
-
- echo "Uploading results..."
- bucket="rpm-manageiq-org"
- endpoint="s3.us-east.cloud-object-storage.appdomain.cloud"
- rpms=$(find */result/*.rpm)
- for rpm in $rpms
- do
- dest=$(echo $rpm | sed "s/packages\/\|result\///g")
- echo "Uploading $rpm"
- curl -X "PUT" "https://$endpoint/$bucket/builds/${dest}" -H "Authorization: $bearer_token" -H "Content-Type: application/octet-stream" -H "x-amz-acl: public-read" --data-binary "@${rpm}"
- done
-
echo "Done!"
popd |
jrafanie
commented
Mar 11, 2026
| :os => "centos-stream+epel", | ||
| }, | ||
| "repmgr13" => { | ||
| "repmgr16" => { |
Member
Author
There was a problem hiding this comment.
Note, we might have to delay merge since I think this change and config/options.yml may impact other builds. If we can build rpms based on this branch, I can test them on a pg 16 upstream appliance once we have it.
jrafanie
commented
Mar 11, 2026
* Specify version for obsoletes line * Fix deprecated patch warning: DEBUG: warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) * Drop files/directories that don't exist in the 5.5 tgz * Update date for 5.5 changelog
288b86a to
2380015
Compare
Member
|
Checked commits jrafanie/manageiq-rpm_build@f294253~...2380015 with ruby 3.3.10, rubocop 1.56.3, haml-lint 0.69.0, and yamllint **
lib/manageiq/rpm_build/extra_package.rb
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
TODO: