Skip to content

Commit 2fbfbb7

Browse files
authored
Adding x86 rhel7 and rhel8 (#1)
1 parent e02f673 commit 2fbfbb7

File tree

2 files changed

+32
-11
lines changed

2 files changed

+32
-11
lines changed

.github/workflows/BUILD-REUSABLE.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,6 @@ jobs:
104104
redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}
105105
tar -czvf redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}.tgz \
106106
redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}
107-
- name: install s3cmd
108-
if: steps.redis-already-built.outcome != 'success'
109-
run: |
110-
pip3 install s3cmd
111-
112-
- name: persist redis to s3
113-
if: steps.redis-already-built.outcome != 'success' && steps.iamafork.outputs.IAMAFORK == 'false'
114-
run: |
115-
s3cmd --access_key=${{secrets.AWS_ACCESS_KEY_ID}} --secret_key=${{secrets.AWS_SECRET_ACCESS_KEY}} --region=us-east-1 put -P redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osname}}-${{inputs.osnick}}-${{inputs.arch}}.tgz \
116-
${{steps.get_config_versions.outputs.S3BASE}}/redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}.tgz
117107
118108
- name: perist redis
119109
if: steps.redis-already-built.outcome != 'success'
@@ -126,4 +116,15 @@ jobs:
126116
redis/src/redis-check-aof
127117
redis/src/redis-check-rdb
128118
redis/src/redis-benchmark
129-
redis/src/redis-cli
119+
redis/src/redis-cli
120+
121+
- name: install s3cmd
122+
if: steps.redis-already-built.outcome != 'success'
123+
run: |
124+
pip3 install s3cmd
125+
126+
- name: persist redis to s3
127+
if: steps.redis-already-built.outcome != 'success' && steps.iamafork.outputs.IAMAFORK != 'false'
128+
run: |
129+
s3cmd --access_key=${{secrets.AWS_ACCESS_KEY_ID}} --secret_key=${{secrets.AWS_SECRET_ACCESS_KEY}} --region=us-east-1 put -P redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}.tgz \
130+
${{steps.get_config_versions.outputs.S3BASE}}/redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}.tgz

.github/workflows/build.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,24 @@ jobs:
2525
docker_image: ubuntu:18.04
2626
deps: apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
2727
osnick: ubuntu18.04
28+
secrets: inherit
29+
30+
rhel7-x86-64:
31+
uses: ./.github/workflows/BUILD-REUSABLE.yml
32+
with:
33+
docker_image: centos:7
34+
deps: |
35+
yum install -y epel-release
36+
yum install -y gcc make jemalloc-devel openssl-devel python3 python3-pip jq wget
37+
osnick: rhel7
38+
secrets: inherit
39+
40+
rhel8-x86-64:
41+
uses: ./.github/workflows/BUILD-REUSABLE.yml
42+
with:
43+
docker_image: oraclelinux:8
44+
deps: |
45+
dnf install -y oracle-epel-release-el8
46+
dnf install -y gcc make jemalloc-devel openssl-devel tar git python3 python3-pip jq wget
47+
osnick: rhel8
2848
secrets: inherit

0 commit comments

Comments
 (0)