gluster / gluster-builds Goto Github PK
View Code? Open in Web Editor NEWTesting build automation with GitHub actions for Gluster Repository
License: MIT License
Testing build automation with GitHub actions for Gluster Repository
License: MIT License
I'm opening an issue as it is up for discussion - should we have the Make process part of the Dockerfile?
Here's an example of the Dockerfile I've modified (inc. other modifications):
FROM centos:8
LABEL project="centos8-gluster-build"
LABEL maintainer "[email protected]"
RUN yum -y install --setopt tsflags=nodocs --enablerepo=powertools automake autoconf libtool flex bison \
openssl-devel libxml2-devel libaio-devel \
readline-devel glib2-devel userspace-rcu-devel \
libacl-devel fuse-devel redhat-rpm-config rpcgen libtirpc-devel \
make python3-devel rsync libuuid-devel rpm-build \
git attr libcurl-devel selinux-policy-devel firewalld liburing-devel rpcgen && yum clean all
RUN yum -y update --setopt tsflags=nodocs && yum clean all && rm -rf /var/cache/yum
#RUN yum -y install --setopt tsflags=nodocsI epel-release
#RUN yum -y install --setopt tsflags=nodocs --enablerepo=powertools rpcgen
#RUN yum clean all && rm -rf /var/cache/yum
CMD ["/usr/sbin/init"]
RUN git clone --depth 1 https://github.com/gluster/glusterfs.git
WORKDIR glusterfs
RUN ./autogen.sh
RUN ./configure
WORKDIR extras/LinuxRPM
RUN make glusterrpms
Im my case I had to build a specific PR for centos-7.
The startscript.sh can get another parameter for building a specific URL
git clone -b $BRANCH --depth 1 [email protected]:${user}/glusterfs.git
Nightly Ubuntu/Debian builds are failing and needs to be moved to latest tag.
Instead of maintaing a buld container who's building the code, we can move to multi-stage, where the code for what used to be the build container is going to be the first stage (usually called 'builder') and then the 2nd stage will be the build itself, for example the RPM creation.
See a random example (StackRox) - https://catalog.redhat.com/software/containers/advanced-cluster-security/rhacs-collector-rhel8/60b92f75abb52c7e88ebc964?container-tabs=dockerfile
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.