Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master cherry-picks to 6.2 #326

Merged
merged 96 commits into from
Jan 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
2524ad8
RedisInsight 2.2.0 (#129)
chayim May 29, 2022
6896d7b
release rules changes (#128)
chayim May 29, 2022
8802acf
removing edge, from release docker names (#132)
chayim Jun 6, 2022
27cfbca
redistimeseries 1.6.13 (#138)
OfirMos Jun 6, 2022
7c302ae
Update RedisBloom 2.2.17 (#141)
chayim Jun 16, 2022
f53fd36
Redis 7.0.2 (#142)
chayim Jun 26, 2022
2f5e0e2
Updating Redisinsight version for 2.4.0 (#144)
chayim Jun 28, 2022
553c9dd
Updating README with download links (#143)
chayim Jun 28, 2022
79c8817
Adding the packages bucket as another release destination (#145)
chayim Jun 28, 2022
40a00e7
Unifying entrypoint script (#146)
chayim Jun 28, 2022
4ca3be2
Adding helm chart to release process (#149)
chayim Jun 28, 2022
7f56f77
RedisTimeSeries 1.6.16 and RedisGraph 2.8.15 (#150)
chayim Jun 30, 2022
792eeac
RediSearch 2.4.9 (#151)
chayim Jun 30, 2022
333d5cd
separating the manifests
chayim Jun 30, 2022
168631c
Arm snap image (#155)
chayim Jul 5, 2022
f2997cc
x86_64 AppImage Support (#154)
chayim Jul 5, 2022
57ecb9c
nightly edge builds (#163)
chayim Jul 18, 2022
ef836c1
Upgrading build system to python 3.10 (#162)
chayim Jul 18, 2022
d1afcd6
Fetch redis if built, or build (#166)
chayim Jul 20, 2022
7eb429a
redis 7.0.4 (#165)
chayim Jul 20, 2022
2454520
Updating RedisTimeSeries to 1.6.17 (#171)
OfirMos Jul 25, 2022
ec897e5
New RedisInsight version, and nodejs upgrade (#167)
chayim Jul 26, 2022
80af024
RediSearch 2.8.16, RedisGraph 2.4.11 (#174)
chayim Jul 26, 2022
61f752b
Update RedisBloom v2.2.18 (#170)
Jul 26, 2022
c0c3c33
RedisJSON 2.2.0 (#175)
chayim Jul 26, 2022
5d620e8
RedisGraph 2.8.17 (#177)
AviAvni Jul 28, 2022
5273596
nightly credential check (#183)
chayim Jul 28, 2022
dce4ef5
release paths for drafter (#184)
chayim Jul 28, 2022
8db4c4c
README: highlight release process for RedisInsight
chayim Aug 14, 2022
ddaebc2
Adding badges to README (#176)
chayim Aug 16, 2022
e04b676
Green, forked PRs (#186)
chayim Aug 21, 2022
4aa54fa
Fixing docker entrypoints for variable passing (#192)
chayim Aug 23, 2022
2b3b1b4
Ensuring armx linux, does not use jemalloc (#193)
chayim Aug 24, 2022
afed36a
Adding README samples for running, and removing the double prefix on …
chayim Aug 24, 2022
b7bc05a
Component upgrades (#196)
chayim Aug 24, 2022
84e07e8
adding link to latest and helm (#195)
chayim Aug 24, 2022
ca73755
Labels with cleaner prefixes (#197)
chayim Aug 24, 2022
1364bf4
Updating the label for the helm chart.
chayim Aug 24, 2022
e295d3d
Quoting the paths in the entrypoint (#201)
chayim Aug 25, 2022
ed34ad8
Upgrading FPM to 1.14.2 (#206)
chayim Sep 8, 2022
27dde2b
Support for archlinux packages (#205)
chayim Sep 11, 2022
2376511
Unit test to ensure versions are as set (#204)
chayim Sep 11, 2022
a7a3ea4
Consistency for dockergen arguments (#159)
chayim Sep 11, 2022
753ee50
Create LICENSE (#207)
ViktarStarastsenka Sep 12, 2022
6d8053d
Gathering test results (#208)
chayim Sep 15, 2022
0c3fb4f
Ensuring sha256 generating for missing packages (#209)
chayim Sep 15, 2022
d7ad25e
New versions of modules (#211)
chayim Oct 2, 2022
7292fd6
Redis 7.0.5 (#220)
chayim Oct 6, 2022
af55546
marking docker as latest based on a variable (#221)
chayim Oct 6, 2022
fd464c2
ISLATEST is in caps, for the latest push. (#223)
chayim Oct 9, 2022
2630c57
Updating instructions for the release process (#229)
chayim Oct 16, 2022
31fc98a
RedisBloom 2.4 (#233)
chayim Oct 16, 2022
9de7ac6
cherry-pick 6.2 archlinux validation into master (#228)
chayim Oct 16, 2022
a3a570d
Amazonlinux 2 tests (#235)
chayim Oct 20, 2022
43d5cc9
Tests for downloadable package on amazonlinux2 (#237)
chayim Oct 20, 2022
b74f063
Updating release instructions (#236)
chayim Oct 20, 2022
d3040d9
Updating dependencies (#239)
chayim Oct 23, 2022
ece9f78
AppImage tests (#238)
chayim Oct 23, 2022
4112426
Fixing sha256 generating on redisinsight (#243)
chayim Oct 25, 2022
9f0829e
Versions of modules for October release (#245)
chayim Oct 31, 2022
0b9eade
Ubuntu Jammy support (#234)
chayim Oct 31, 2022
ddb0691
Jammy packages on ARM (#247)
chayim Oct 31, 2022
20f37a2
Ubuntu Focal ARM packages (#242)
chayim Oct 31, 2022
0b4c55c
RedisInsight 2.12.0 (#246)
chayim Nov 2, 2022
3307016
Fixing docker builds (#254)
chayim Nov 2, 2022
f64872a
Fix sha256 hashgen on OSX intel (#259)
chayim Nov 8, 2022
1e5f9a5
adding support for x.y.z branches with forced names (#261)
chayim Nov 9, 2022
3d478bd
License update (#264)
chayim Nov 15, 2022
cb08220
Updating the docker publish action name (#269)
chayim Nov 17, 2022
7177ead
Latest modules for master (#266)
chayim Nov 23, 2022
f096be2
RedisInsight 2.14 [master] (#274)
chayim Dec 1, 2022
e4707c2
Moving to GITHUB_EVENT_PATH (#262)
chayim Dec 6, 2022
28d81fd
migrating arm docker to focal (#265)
chayim Dec 6, 2022
9b153ff
Removing some warnings and updating GitHub artifact versions (#244)
chayim Dec 11, 2022
93852df
Nightly edge docker (#285)
chayim Dec 28, 2022
591d079
Redis 7.0.6 (#279)
chayim Dec 29, 2022
257091c
module versions latest (#290)
chayim Dec 29, 2022
f1314d9
RedisJson 2.4.3 [master] (#294)
chayim Jan 1, 2023
38f0acf
default codeowner on module versions (#297)
chayim Jan 9, 2023
abdd4d0
Moving Appimage base to bionic (#293)
chayim Jan 9, 2023
7295ded
Building a single source for the redis/packagedredis version argument…
chayim Jan 11, 2023
1a065e0
Building redis on an m1, via ssh (#301)
chayim Jan 11, 2023
81ece4d
M1 package fix (#306)
chayim Jan 11, 2023
3afd213
Moving latest check, into config (#305)
chayim Jan 11, 2023
923b60a
Redis 7.0.7 (#307)
chayim Jan 12, 2023
52b6563
Nightly edge built - use edge module versions (#303)
chayim Jan 12, 2023
ce8f42f
Dispatchable nightly edge build (#312)
chayim Jan 15, 2023
a91e58b
Fixing nightly edge builds (#313)
chayim Jan 15, 2023
53bb785
GPG signing linux tarballs (#314)
chayim Jan 17, 2023
7dd4658
codesigning readme updates (#316)
chayim Jan 17, 2023
7cfde40
Fixing nightly, edge docker to pull edge binaries (#318)
chayim Jan 18, 2023
ee0ee0c
Multi-platform docker build fix (#320)
chayim Jan 25, 2023
721abc5
Merge remote-tracking branch 'origin/master' into 6.2
chayim Jan 25, 2023
85b2575
restoring config
chayim Jan 25, 2023
02e21cd
Support for retry fetching from s3 (#327)
chayim Jan 29, 2023
481eb19
Merge remote-tracking branch 'origin/master' into ck-62-cherries
chayim Jan 29, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/ARM_BUILD_AND_PACKAGE_REUSABLE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,8 +206,12 @@ jobs:
- name: install qemu
uses: docker/setup-qemu-action@v2

# https://github.com/docker/buildx/issues/1509
- name: set up buildx
uses: docker/setup-buildx-action@v2
with:
install: true
version: v0.9.1

- run: gem install fpm -v ${{env.fpmversion}}
- name: display structure
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/DOCKER_REUSABLE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ jobs:
echo "VERSION=$realversion" >> $GITHUB_OUTPUT

- uses: docker/setup-qemu-action@v2

# https://github.com/docker/buildx/issues/1509
- uses: docker/setup-buildx-action@v2
with:
install: true
version: v0.9.1

- name: generate docker file
run: |
Expand All @@ -92,13 +97,11 @@ jobs:

- name: Log in to DockerHub
uses: docker/login-action@v2
if: steps.iamafork.outputs.IAMAFORK == 'false'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: build and publish docker
if: steps.iamafork.outputs.IAMAFORK == 'false'
run: |
source .venv/bin/activate
invoke dockerbuild -a ${{inputs.arch}} -d envs/dockers/Dockerfile.${{ matrix.package }} -t redisfab/${{matrix.package}}:${{steps.get_version.outputs.VERSION}}-${{inputs.arch}} -r . -b
Expand All @@ -110,6 +113,7 @@ jobs:
invoke dockerbuild -a ${{inputs.arch}} -d envs/dockers/Dockerfile.${{ matrix.package }} -t redisfab/${{matrix.package}}:${{steps.get_version.outputs.VERSION}}-${{inputs.arch}} -r .

- name: test docker build
if: ${{ inputs.arch != 'arm64' }}
run: |
source .venv/bin/activate
invoke test-ci-dockers -d ${{matrix.package}} -a ${{inputs.arch}} -v ${{steps.get_version.outputs.VERSION}}-${{inputs.arch}}
9 changes: 3 additions & 6 deletions .github/workflows/nightly-edge-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:

docker-push:
needs: [x86_64-docker, arm64-docker]
name: Push ${{matrix.package}} manifest
name: Push ${{matrix.package}}
strategy:
matrix:
package: ['redis-stack-server', 'redis-stack']
Expand All @@ -127,16 +127,13 @@ jobs:

- name: pull, retag, push arm64
run: |
docker pull redisfab/${{matrix.package}}:${{env.version}}-arm64
docker pull redisfab/${{matrix.package}}:${{env.version}}-arm64 --platform arm64
docker tag redisfab/${{matrix.package}}:${{env.version}}-arm64 redis/${{matrix.package}}:${{env.version}}-arm64
docker push redis/${{matrix.package}}:${{env.version}}-arm64

- name: create the manifest
- name: create and push the manifest
run: |
docker manifest create redis/${{ matrix.package }}:${{ env.version }} \
redis/${{ matrix.package }}:${{ env.version }}-x86_64 \
redis/${{ matrix.package }}:${{ env.version }}-arm64

- name: push the manifest
run: |
docker manifest push redis/${{matrix.package}}:${{ env.version }}
17 changes: 17 additions & 0 deletions stack/components/get.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import requests
from requests.adapters import HTTPAdapter
from urllib3 import Retry

def get_stream_and_store(url: str, destfile: str):
"""Fetch a URL from a known location, and right to file,
relying on retries.
"""
session = requests.Session()
adapter = HTTPAdapter(max_retries=Retry(total=4, backoff_factor=1))
session.mount("http://", adapter)
session.mount("https://", adapter)
r = requests.get(url, stream=True)
if r.status_code > 204:
logger.error(f"{url} could not be retrieved")
raise requests.HTTPError
open(destfile, "wb").write(r.content)
8 changes: 2 additions & 6 deletions stack/components/modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
import zipfile
from typing import Union

import requests
from loguru import logger

from ..config import Config
from ..paths import Paths
from .get import get_stream_and_store


class Modules(object):
Expand Down Expand Up @@ -141,11 +141,7 @@ def _fetch_and_unzip(self, url: str, destfile: str, custom_dest: str = None):
if os.path.isfile(destfile):
return

r = requests.get(url, stream=True)
if r.status_code > 204:
logger.error(f"{url} could not be retrieved")
raise requests.HTTPError
open(destfile, "wb").write(r.content)
get_stream_and_store(url, destfile)

if custom_dest is None:
dest = self.__PATHS__.DESTDIR
Expand Down
8 changes: 2 additions & 6 deletions stack/components/nodejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import tarfile
from typing import Union

import requests
from loguru import logger

from ..config import Config
from ..paths import Paths
from .get import get_stream_and_store


class NodeJS(object):
Expand Down Expand Up @@ -51,11 +51,7 @@ def _fetch_and_unzip(self, url: str, destfile: str):
if os.path.isfile(destfile):
return

r = requests.get(url, stream=True)
if r.status_code > 204:
logger.error(f"{url} could not be retrieved")
raise requests.HTTPError
open(destfile, "wb").write(r.content)
get_stream_and_store(url, destfile)

logger.debug(f"Unzipping {destfile} and storing in {self.__PATHS__.DESTDIR}")
with tarfile.open(destfile) as tar:
Expand Down
8 changes: 2 additions & 6 deletions stack/components/redis.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@
import tarfile
from typing import Union

import requests
from loguru import logger

from ..config import Config
from ..paths import Paths
from .get import get_stream_and_store


class Redis(object):
Expand All @@ -38,11 +38,7 @@ def _fetch_and_unzip(self, url: str, destfile: str):
if os.path.isfile(destfile):
return

r = requests.get(url, stream=True)
if r.status_code > 204:
logger.error(f"{url} could not be retrieved")
raise requests.HTTPError
open(destfile, "wb").write(r.content)
get_stream_and_store(url, destfile)

logger.debug(f"Unzipping {destfile} and storing in {self.__PATHS__.DESTDIR}")
with tarfile.open(destfile) as tar:
Expand Down
8 changes: 2 additions & 6 deletions stack/components/redisinsight.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
import urllib
from typing import Union

import requests
from loguru import logger

from ..config import Config
from ..paths import Paths
from .get import get_stream_and_store


class RedisInsightBase(object):
Expand Down Expand Up @@ -51,11 +51,7 @@ def _fetch_and_unzip(self, url: str, destfile: str):
logger.debug(f"Package URL: {url}")

if not os.path.isfile(destfile):
r = requests.get(url, stream=True)
if r.status_code > 204:
logger.error(f"{url} could not be retrieved")
raise requests.HTTPError
open(destfile, "wb").write(r.content)
get_stream_and_store(url, destfile)

# logger.debug(f"Unzipping {destfile} and storing in {self.__PATHS__.DESTDIR}")
# with zipfile.ZipFile(destfile, "r") as zp:
Expand Down