-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Atsushi Abe
committed
Jul 15, 2020
0 parents
commit 07b31d4
Showing
5 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*~ |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM centos:centos8 | ||
|
||
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 | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
|
||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# LTFS Build docker action for CentOS8 | ||
|
||
This action builds the LTFS package on CentOS8 | ||
|
||
## Inputs | ||
|
||
### `destination` | ||
|
||
**Required** Destination of install。 Default is `/tmp/ltfs`。 | ||
|
||
## Outputs | ||
|
||
None | ||
|
||
## Usage | ||
|
||
``` | ||
uses: LinearTapeFileSystem/[email protected] | ||
with: | ||
destination: '/tmp/ltfs' | ||
``` |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# action.yml | ||
name: 'Build Check' | ||
description: 'Build check of the LTFS package' | ||
inputs: | ||
destination: # id of input | ||
description: 'destination directory' | ||
required: true | ||
default: '/tmp/ltfs' | ||
outputs: | ||
time: # id of output | ||
description: 'Finish build check of the LTFS package' | ||
runs: | ||
using: 'docker' | ||
image: 'Dockerfile' | ||
args: | ||
- ${{ inputs.destination }} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh -l | ||
|
||
./autogen.sh | ||
./configure --prefix=$1 | ||
make | ||
make install | ||
|
||
# Backend I/F checking | ||
cd $1 | ||
git clone https://github.com/LinearTapeFileSystem/ltfs-backends.git | ||
cd ltfs-backends | ||
export PKG_CONFIG_PATH=${PKG_CONFIG_PATH}:/tmp/ltfs/lib/pkgconfig | ||
./autogen.sh | ||
./configure --enable-checkonly | ||
make |