File tree Expand file tree Collapse file tree 5 files changed +60
-0
lines changed Expand file tree Collapse file tree 5 files changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ * ~
Original file line number Diff line number Diff line change
1
+ FROM centos:centos8
2
+
3
+ RUN yum -y update && yum -y upgrade && yum -y install automake autoconf libtool make icu libicu-devel libxml2-devel libuuid-devel fuse-devel net-snmp-devel git
4
+
5
+ COPY entrypoint.sh /entrypoint.sh
6
+
7
+ ENTRYPOINT ["/entrypoint.sh" ]
Original file line number Diff line number Diff line change
1
+ # LTFS Build docker action for CentOS8
2
+
3
+ This action builds the LTFS package on CentOS8
4
+
5
+ ## Inputs
6
+
7
+ ### ` destination `
8
+
9
+ ** Required** Destination of install。 Default is ` /tmp/ltfs ` 。
10
+
11
+ ## Outputs
12
+
13
+ None
14
+
15
+ ## Usage
16
+
17
+ ```
18
+ uses: LinearTapeFileSystem/CentOS8-Build@v1.0
19
+ with:
20
+ destination: '/tmp/ltfs'
21
+ ```
Original file line number Diff line number Diff line change
1
+ # action.yml
2
+ name : ' Build Check'
3
+ description : ' Build check of the LTFS package'
4
+ inputs :
5
+ destination : # id of input
6
+ description : ' destination directory'
7
+ required : true
8
+ default : ' /tmp/ltfs'
9
+ outputs :
10
+ time : # id of output
11
+ description : ' Finish build check of the LTFS package'
12
+ runs :
13
+ using : ' docker'
14
+ image : ' Dockerfile'
15
+ args :
16
+ - ${{ inputs.destination }}
Original file line number Diff line number Diff line change
1
+ #! /bin/sh -l
2
+
3
+ ./autogen.sh
4
+ ./configure --prefix=$1
5
+ make
6
+ make install
7
+
8
+ # Backend I/F checking
9
+ cd $1
10
+ git clone https://github.com/LinearTapeFileSystem/ltfs-backends.git
11
+ cd ltfs-backends
12
+ export PKG_CONFIG_PATH=${PKG_CONFIG_PATH} :/tmp/ltfs/lib/pkgconfig
13
+ ./autogen.sh
14
+ ./configure --enable-checkonly
15
+ make
You can’t perform that action at this time.
0 commit comments