File tree Expand file tree Collapse file tree 2 files changed +32
-11
lines changed Expand file tree Collapse file tree 2 files changed +32
-11
lines changed Original file line number Diff line number Diff line change @@ -104,16 +104,6 @@ jobs:
104
104
redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}
105
105
tar -czvf redis-${{steps.get_config_versions.outputs.PACKAGEDREDISVERSION}}-${{inputs.osnick}}-${{inputs.arch}}.tgz \
106
106
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
117
107
118
108
- name : perist redis
119
109
if : steps.redis-already-built.outcome != 'success'
@@ -126,4 +116,15 @@ jobs:
126
116
redis/src/redis-check-aof
127
117
redis/src/redis-check-rdb
128
118
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
Original file line number Diff line number Diff line change 25
25
docker_image : ubuntu:18.04
26
26
deps : apt-get update -qq && apt-get install -qqy build-essential libssl-dev python3 python3-pip jq wget
27
27
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
28
48
secrets : inherit
You can’t perform that action at this time.
0 commit comments