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

Align from last SingleStore's deployment-docker updates #14

Open
wants to merge 292 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
575d9f3
[deplyment-docker] Bump studio to 4.0.9
mivasconcelos Nov 29, 2022
449c959
Update Toolbox version in the deployment-docker
volodymyr-memsql Nov 29, 2022
02da522
Bump Studio to 4.0.10
mivasconcelos Dec 5, 2022
20416c0
Update SERVER_CLOUD_VERSION to 7.9.13
rjfdias Dec 5, 2022
a38bf01
Update Toolbox version in deployment-docker
volodymyr-memsql Dec 7, 2022
3090f61
Update README.md
Dec 7, 2022
c7a3317
Update packages in deployment-docker
volodymyr-memsql Dec 13, 2022
5d0af4e
Update Toolbox version in the deployment docker
volodymyr-memsql Dec 12, 2022
af2a1e7
Bump server version to 8.0.4
dasteere Dec 14, 2022
f83a67a
Bump Studio to v4.0.11
mivasconcelos Dec 15, 2022
248ef97
Updated SERVER_VERSION_7_8 to 7.8.20
ryoshida28 Dec 22, 2022
6fbbf81
bump SERVER_VERSION_CLOUD to 7.9.15
Jan 3, 2023
d573904
deployment-docker release for 7.6.25
adam-memsql Jan 4, 2023
7d73481
Add 7.8 to circleci config.
adam-memsql Jan 4, 2023
65f36d3
deployment-docker release for 7.5.23
Jan 9, 2023
66e3c2f
Deployment docker for 8.0.5
adam-memsql Jan 10, 2023
c5100fc
[deployment-docker] Fixes installation of curl to avoid conflicts bet…
Jan 16, 2023
61f8e37
Update libraries in deployment-socker
volodymyr-memsql Jan 17, 2023
888c8fe
Deployment docker for 8.0.6
Jan 17, 2023
3202a13
A new private dev node image for 8.1
eli-memsql Jan 19, 2023
2ac2f19
Bump SERVER_VERSION to 8.0.7
jrsherwood Jan 24, 2023
ae635fa
7.8.21 deployment docker release
adam-memsql Jan 25, 2023
1ef0947
Deployment docker for 8.0.8
adam-memsql Jan 30, 2023
d71f15c
7.6.26
Jan 30, 2023
9aeaf47
Update Toolbox version in deployment-docker
volodymyr-memsql Jan 30, 2023
d0c1e71
7.9.16 (cloud-only) deployment docker release
adam-memsql Feb 6, 2023
9b36a60
chore(base): use package-manager to install jq; to allow local-dev to…
Kaitou786 Feb 7, 2023
3177a54
Add 8.0.9
Feb 7, 2023
8364f80
Revert "Add 8.0.9"
Feb 7, 2023
803273d
Revert "Revert "Add 8.0.9""
Feb 7, 2023
bba39e8
Update Toolbox version in deployment-docker
volodymyr-memsql Feb 9, 2023
cb96ebf
Deployment docker 8.0.10
dbeck-s2 Feb 13, 2023
6e2850e
7.8.22 deployment docker release
adam-memsql Feb 14, 2023
cb9ed61
Start the exporter with sdb-admin in ciab image
hniemchenko Feb 14, 2023
bd44478
7.9.17 deployment docker release
adam-memsql Feb 22, 2023
cf61121
update the VERSION to 8.0.11-8d22e92cd7
LipingS2DB Feb 22, 2023
2d93191
Exclude unrelevant checks for kube reports
volodymyr-memsql Feb 21, 2023
efa7571
Revert "Start the exporter with sdb-admin in ciab image"
volodymyr-memsql Feb 22, 2023
08f6e51
8.0.12 deployment docker release
tvale Feb 27, 2023
64b1613
Revert "Revert "Start the exporter with sdb-admin in ciab image""
hniemchenko Feb 22, 2023
27a84a0
Increment Toolbox version in deployment-docker
volodymyr-memsql Feb 27, 2023
220dfbf
7.9.18 docker release
adam-memsql Mar 6, 2023
0d8d749
Update Server Version
Mar 6, 2023
a8c4ed8
Bump server version to 7.6.27
Mar 13, 2023
689c23d
7.8.23 deployment docker release
adam-memsql Mar 14, 2023
9d535fb
8.0.14 deployment docker release
adam-memsql Mar 20, 2023
cd2313f
7.8.24 deployment docker release
pmarques-singlestore Mar 21, 2023
f5d8fcb
Deployment docker release for 7.5.24
adam-memsql Mar 21, 2023
f20ea8d
Deploy 7.9.19
dasteere Mar 27, 2023
c5d6ffb
8.0.15 deployment docker release
adam-memsql Mar 27, 2023
f18e417
Update deployment doc for 8.0.16 release
xykliu Apr 3, 2023
77c7907
Deployment docker for 7.8.25
Apr 10, 2023
da44eb7
7.6.28 deployment docker release
adam-memsql Apr 11, 2023
f03bd9c
Update Toolbox version in deployment-docker
volodymyr-memsql Apr 11, 2023
04400ba
8.0.17 deployment docker release
Apr 17, 2023
e1fa497
7.9.20 deployment docker release
adam-memsql Apr 17, 2023
a7d4369
adding validation that there are no other memsqld_safe running before…
brremy Apr 18, 2023
6d0463a
Revert "adding validation that there are no other memsqld_safe runnin…
brremy Apr 18, 2023
2df9662
Deployment docker release for 7.8.26
Apr 19, 2023
8a89aaf
validate there are no memsqld_safe processes before spawning memsqld_…
brremy Apr 18, 2023
dc5a67e
removing non-gcr redhat jobs
brremy Apr 20, 2023
11d5842
7.8.27 deploymnent docker release
adam-memsql Apr 25, 2023
876f59e
8.0.18 deploy docker release (For Dachuan)
adam-memsql Apr 25, 2023
4553ce8
7.8.28 deployment docker release
adam-memsql May 1, 2023
6b8106e
Add 8.0.19
May 2, 2023
dce00b2
Add JRE8 into image for CDC feature
maksym-lepekh May 2, 2023
0a24d61
feat(deployment-docker): Toolbox version update
volodymyr-memsql May 5, 2023
89394b8
First 8.1 release
stchri89 May 9, 2023
f788b38
Fixes the build-node-8-0 target
May 9, 2023
dd53ae2
fixed some typos
stchri89 May 9, 2023
74062d4
fixes all the typos
May 9, 2023
70d1973
needed gcr stuff
stchri89 May 9, 2023
6c655cf
Added JRE to build-node for Mongo
stchri89 May 10, 2023
b39688c
update latest version for piepie-8.1
stchri89 May 15, 2023
a1c458d
Update 8.0 server version to be the latest 8.0.20
May 16, 2023
b1ff0c8
chore: update jq install cmd in dockerfile-base to ignore patch release
Kaitou786 May 18, 2023
c1eb4fd
fix(deployment-docker): Upgrade packages
volodymyr-memsql May 19, 2023
16d606b
chore: 7.8.29 release
tvale May 22, 2023
5286888
7.6.29 deployment docker release
adam-memsql May 22, 2023
8e4a28a
chore: 8.1.3 release
tvale May 24, 2023
0706f9a
8.1.4 deployment_docker release
adam-memsql May 28, 2023
83c7c04
7.8.30 deployment_docker release
adam-memsql May 30, 2023
f34f213
7.5.25 deployment docker release
adam-memsql May 30, 2023
e2e0c8f
update node image version
stchri89 May 30, 2023
c8af2a9
7.9.21
May 30, 2023
010cda9
update server version for patch release
stchri89 Jun 5, 2023
1d9e189
update full release version for release
stchri89 Jun 6, 2023
ca2138c
Bump version to 7.8.32
dasteere Jun 12, 2023
75a7aec
Bump server version to 8.1.6
dasteere Jun 12, 2023
c6ecfaa
Bump Studio to v4.0.12
mivasconcelos Jun 15, 2023
e26d9c7
chore(deployment-docker): Toolbox version update
volodymyr-memsql Jun 14, 2023
16e2298
Fix typo for 8_0 releases
stchri89 Jun 17, 2023
dcc362b
chore(deployment-docker): Bump server version to 8.1.7
acorreia-singlestore Jun 21, 2023
e1123c2
chore(deployment-docker): Bump server version to 8.1.8
szupo Jun 26, 2023
43558d0
chore(deployment-docker): Bump server version to 8.0.22
szupo Jun 26, 2023
bb77680
7.6.30 deployment docker release
adam-memsql Jun 26, 2023
e88762a
fix(deployment-docker): security updates in base image
volodymyr-memsql Jul 4, 2023
2b74124
7.9.22 deployment docker release
adam-memsql Jul 5, 2023
494585b
chore (deployment-docker): 8.1.9 deployment docker release
jrsherwood Jul 6, 2023
60b70cd
chore (deployment-docker): 8.1.10 deployment docker release
jrsherwood Jul 7, 2023
92934d9
chore (deployment-docker): 8.1.11 deployment docker release
rjfdias Jul 10, 2023
1ce4d5b
chore(deployment-docker): Tools & Studio version update
volodymyr-memsql Jul 14, 2023
84788b1
8.1.12
Jul 18, 2023
98e51ad
7.8.33
Jul 19, 2023
34417a4
chore(deployment-docker): Toolbox version update
volodymyr-memsql Jul 21, 2023
1fd0fa3
Update SERVER_VERSION_8_0 to 8.0.23-844a0ee6a5
pvetere Jul 25, 2023
d92b5e2
8.1.13 deployment docker release
adam-memsql Jul 26, 2023
f8308f0
8.1.14 deployment docker release
adam-memsql Jul 28, 2023
2b00059
7.8.34 deployment docker release
maksym-lepekh Aug 1, 2023
ab1f204
8.1.15 deployment docker release
maksym-lepekh Aug 2, 2023
cc87b44
chore(deployment-docker): Toolbox version update
volodymyr-memsql Aug 2, 2023
e577ab7
feature(node-dynamic): Add JRE to default dynamic node
maksym-lepekh Aug 8, 2023
59c4978
chore: bump SERVER_VERSION to 8.1.16
tvale Aug 8, 2023
e37ec60
chore: bump SERVER_VERSION_CLOUD to 7.9.23-005ba3ed1a
tvale Aug 8, 2023
eff7e3e
chore: bump SERVER_VERSION to 8.1.17-c405e97cd4
tvale Aug 9, 2023
5b0a76d
7.8.35 deployment docker release
adam-memsql Aug 14, 2023
60ca7b1
7.6.31 deployment docker release
adam-memsql Aug 14, 2023
20bef5e
chore: 8.0.24 docker deployment release
ionyshch Aug 22, 2023
3f32f5a
chore: 8.1.18 docker deployment release
ionyshch Aug 23, 2023
d9542c5
chore: 8.1.19 docker deployment release
sadroeck Aug 28, 2023
13e318a
chore: 7.9.24 docker deployment release
sadroeck Aug 28, 2023
d3b7dae
chore: 7.8.36 docker deployment release
sadroeck Aug 29, 2023
05d1043
chore: 8.1.20 docker deployment release
eli-memsql Sep 5, 2023
3af0f7a
chore(deployment docker): Toolbox version update
volodymyr-memsql Sep 7, 2023
e08d6a9
update release version
stchri89 Sep 11, 2023
6bbb234
update release for 8.2.21
stchri89 Sep 15, 2023
f4e2727
chore: bump SERVER_VERSION to 8.1.22-b34dd563a7
tvale Sep 19, 2023
fe6c8c7
Bump Studio to 4.0.14
mivasconcelos Sep 20, 2023
f125557
update release for 8.2.23
Sep 26, 2023
25239f5
update release for 8.1.24
vocheretnyi-memsql Oct 3, 2023
8cddcff
update release for 7.8.37
vocheretnyi-memsql Oct 3, 2023
8449b10
chore(deployment-docker): Toolbox version update
volodymyr-memsql Oct 5, 2023
db8daff
chore(release): add 8.1.25 and 8.0.26
Cynary Oct 11, 2023
07ceafe
chore(deployment-docker): add 8.1.26
sshankar-singlestore Oct 17, 2023
67b9eba
chore(deployment-docker): add 8.0.27
sshankar-singlestore Oct 17, 2023
2aa6e31
chore(deployment-docker): add 7.6.32
sshankar-singlestore Oct 17, 2023
b38cd6b
chore(deployment-docker): add 7.9.25
sshankar-singlestore Oct 17, 2023
308100c
chore(deployment-docker): Toolbox version update
volodymyr-memsql Oct 23, 2023
2b97d89
chore(deployment-docker): Update JRE in dynamic image
maksym-lepekh Oct 24, 2023
0a0971f
fix(build): Fix 'make build-ciab'
maksym-lepekh Oct 25, 2023
c44f0b4
feat(node): Set java 11 path for 8.5 version
maksym-lepekh Oct 27, 2023
887eac3
Bump Studio to v4.0.15
mivasconcelos Oct 27, 2023
4b7032b
Bump version to 7.6.33
Oct 31, 2023
60702cc
Bump up version to 8.1.27 in deployment docker
xykliu Nov 8, 2023
efbce7b
Bump up version to 7.8.38 in deployment docker
xykliu Nov 8, 2023
fc0cf95
update version for deployment docker
stchri89 Nov 14, 2023
20b7183
Bump Studio to v4.0.16
mivasconcelos Nov 14, 2023
4861b59
update preview image to https://freya.internal.memcompute.com/release…
lneves12 Nov 21, 2023
3af9a4d
chore(release): 8.0.28 and 8.1.29
Nov 21, 2023
c53917a
chore(deployment-docker): Update Toolbox version
volodymyr-memsql Nov 22, 2023
f314a8a
chore(release): 7.8.39 and 8.1.30
rprusty03 Nov 28, 2023
d52b81c
chore(release): 8.0.29 and 8.1.31
wuchun Dec 5, 2023
dae2a7f
update 8.1 version
stchri89 Jan 3, 2024
0866884
update server version
stchri89 Jan 4, 2024
3133a5a
chore(release): 8.5.1
ionyshch Jan 9, 2024
2a8b8b9
chore(release): 7.8.41
ionyshch Jan 12, 2024
0470938
fix(node): Set java_pipelines_java11_path on startup for engine 8.5+
mshcherbina Jan 17, 2024
839755e
chore(release): 8.0.30
s2volodko Jan 18, 2024
4e8f404
fix(node): add the repo for the gpg keys to Dockerfile base
mshcherbina Jan 18, 2024
97fb6c0
chore(release): 8.5.2
s2volodko Jan 19, 2024
5dccdba
chore(release): 8.1.33
eli-memsql Jan 20, 2024
049a1b5
circleci config.yml for 8.1 image.
eli-memsql Jan 20, 2024
c963ff8
bump to 8.5.3
Jan 24, 2024
9e27e9d
feat(deployment-docker): Update Toolbox version in deployment docker
volodymyr-memsql Jan 23, 2024
3c85f45
chore(release):8.1.34
eli-memsql Jan 25, 2024
265972f
chore(deployment-docker): Update Toolbox version in deployment-docker
volodymyr-memsql Jan 25, 2024
c9a7c3b
chore(release): 8.5.4
dkrosuri1 Jan 30, 2024
fd9fdaf
chore(release):8.1.35
sshankar-singlestore Feb 6, 2024
04f9dff
chore(release):8.5.5
sshankar-singlestore Feb 7, 2024
07f2b96
Bump Studio to v4.0.17
mivasconcelos Feb 7, 2024
a3566c1
Capture extra metadata info for engine releases. (#15)
mgiannakopoulos Feb 7, 2024
a49c2e9
feat(jlucene): added java 21 to build-node and build-node-preview
pvetere Feb 9, 2024
62ffe3f
8.5.6
Feb 13, 2024
432d4ed
8.1.36
Feb 14, 2024
26e18a4
chore(release): 8.5.7 and 7.8.42
klung16 Feb 20, 2024
df8a6cf
chore(release): 8.5.8 and 8.0.31
dbeck-s2 Feb 28, 2024
72997d6
fix(deployment-docker): Update libs to fix security issues
volodymyr-memsql Feb 28, 2024
d7a5053
chore(release): 8.5.9
szupo Feb 29, 2024
b325769
chore(deployment-docker): Toolbox version update
volodymyr-memsql Feb 29, 2024
eeb3f61
Fixing make build-ciab-dev
noprysk-ua Mar 5, 2024
06eb9a6
chore(release): 8.1.37
adbirka Mar 5, 2024
34b13c4
chore(release): 8.5.10
adbirka Mar 6, 2024
0ef4801
chore(release): 8.5.11
vocheretnyi-memsql Mar 13, 2024
7456e97
chore(release): 8.0.32
vocheretnyi-memsql Mar 13, 2024
5c0b268
chore(release): 8.1.38
dkrosuri1 Mar 14, 2024
43cb479
chore(release): update makefile for 8.1.39 and 8.5.12
pvetere Mar 19, 2024
39e23c1
chore(release): update makefile for 7.8.43
Mar 26, 2024
43c4362
chore(release): update make file for 8.5.13-f0e90e4562
Mar 27, 2024
d1552bd
chore(release): update version to 8.1.40
dasteere Apr 2, 2024
c62107b
chore(release): Update makefile for 8.5.14
dasteere Apr 3, 2024
80fbc7a
chore(release): update makefile for 8.5.15-c32d2ed3b0
szupo Apr 8, 2024
12e3f6f
chore(deployment-docker): Update Toolbox version in deployment-docker
volodymyr-memsql Apr 15, 2024
7ff39c4
[deployment-docker] Adds Make target to publish-gcr-node-preview
Feb 17, 2024
8d8838c
update the versions after 8.0.33 and 8.5.16 release
LipingS2DB Apr 18, 2024
a416c36
chore(deployment-docker): update makefile for 8.5.17-84d474bebf and 8…
jrsherwood Apr 24, 2024
b4294fe
chore(deployment-docker): update makefile for 8.5.18 and 8.1.42
xykliu May 2, 2024
142ae81
[deployment-docker] Adds a default license (#20)
May 7, 2024
976e44f
chore: release 8.5.19
May 8, 2024
aff40df
chore(deployment-docker): Update toolbox version in deployment-docker
volodymyr-memsql May 10, 2024
022fe4b
chore(deployment-docker): update makefile for 8.1.43-390e4aad73
hpylypets-ua May 15, 2024
089d034
chore(deployment-docker): update makefile for 8.5.20-13e7970725
hpylypets-ua May 16, 2024
8e5c4eb
chore(release): 8.1.44
klung16 May 21, 2024
21e39e3
chore(release): 8.5.21
klung16 May 22, 2024
3c32a9d
chore(release): 8.5.22
dkrosuri1 May 29, 2024
1fe8e73
fix: import gpg key earlier in the dockerfile
michel94 May 29, 2024
bb64f5a
chore(release): changing 8.7.1 freya release to the latest one
dkrosuri1 May 29, 2024
b0834a1
fix(jlucene): add java 21 to the dynamic node image
pvetere May 30, 2024
92ada5e
Revert "fix(jlucene): add java 21 to the dynamic node image"
pvetere May 30, 2024
3296e2b
fix(jlucene): add java 21 to the dynamic node image
pvetere May 30, 2024
78f27c7
Bump Studio to 4.1.0
mivasconcelos Jun 4, 2024
eb4aeda
chore(release): 8.7.1
wuchun Jun 4, 2024
6e3516f
chore(deployment-docker): Update Toolbox version
volodymyr-memsql Jun 5, 2024
a711066
add node-8-5
wuchun Jun 5, 2024
eabe30e
chore(release): 8.1.45
wuchun Jun 5, 2024
c7f7619
chore(release): 8.1.46
sshankar-singlestore Jun 7, 2024
873a86e
chore(release): 8.5.23
xiaoranZ0 Jun 12, 2024
7fb581a
chore(release): 8.5.24
rjfdias Jun 18, 2024
4ca68da
fix(release): Publish extra metadata info for non latest engine relea…
mgiannakopoulos Jun 18, 2024
ce13ab7
chore(release): 8.7.2
rjfdias Jun 19, 2024
011418c
chore(node): Set the java_pipelines_java11_path variable robustly
mshcherbina Jun 11, 2024
6b84a50
chore(release): 8.5.25
rjfdias Jun 20, 2024
33cf23f
chore(release): 8.1.47 and 8.7.3
sshankar-singlestore Jun 25, 2024
203a76f
chore(deployment-docker): Update Toolbox version
volodymyr-memsql Jun 26, 2024
627232b
fix(jlucene): add java 21 and set appropriate variables
pvetere Jun 27, 2024
d16e0d6
update the SERVER_VERSION_8_5
LipingS2DB Jun 28, 2024
bc2a06c
fix(node): Adding correct java 11 path to 8.5 backports
brremy Jul 1, 2024
edf91ec
chore(release): update release version for 8.5.27
LipingS2DB Jul 2, 2024
879e2ea
chore(release): update review version for 8.7.4
LipingS2DB Jul 2, 2024
bb1eec0
chore(release): update review version for 8.1.48
eli-memsql Jul 8, 2024
ad17410
chore(release): update release version for 8.7.5
eli-memsql Jul 9, 2024
9258dff
chore(release): update release version for 8.7.5
eli-memsql Jul 9, 2024
f3c7b4d
chore(deployment-docker): update toolbox version in deployment-docker
volodymyr-memsql Jul 10, 2024
f8556e5
chore(release): update release version for 8.5.28
Jul 16, 2024
537a661
chore(release): update release version for 8.7.6
Jul 18, 2024
c1811b6
chore(release): update release version for 8.7.7
anna-pipko Jul 23, 2024
16d52d7
chore(release): update release version for 8.1.49
anna-pipko Jul 23, 2024
673379d
chore(release): update release version for 8.5.29
LipingS2DB Jul 30, 2024
9c65942
chore(release): update release version for 8.7.8
LipingS2DB Jul 30, 2024
3f03b65
chore(release): update release version to 8.7.9
pvetere Aug 7, 2024
83be8f4
chore(release): bump to 8.1.50
jvictor0 Aug 7, 2024
a496155
chore(release): update release versions to 8.7.10 + 8.5.30
Cynary Aug 14, 2024
e69e6f5
chore(deployment-docker): Toolbox version update in deployment docker
volodymyr-memsql Aug 20, 2024
7c39aea
chore(release): update release versions to 8.7.11 + 8.1.51
s2volodko Aug 21, 2024
570632f
chore(release): [deployment-docker] update versions to 8.7.12 + 8.0.34
klung16 Aug 26, 2024
e5bd01a
fix(deployment-docker): fixed report functionality in tools image
volodymyr-memsql Aug 29, 2024
f3292c0
chore(deployment-docker-migration): Deleting node-related logic
noprysk-ua Aug 29, 2024
5787c8b
chore(deployment-docker): Toolbox and Engine versions update
volodymyr-memsql Sep 11, 2024
5cfb179
chore(deployment-docker): Toolbox version update
volodymyr-memsql Oct 3, 2024
390018d
feat(deployment-docker): Update workflow
volodymyr-memsql Oct 7, 2024
38cdd56
chore(deployment-docker): Toolbox version update
volodymyr-memsql Nov 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 4 additions & 107 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,61 +7,33 @@ commands:
- run: |
sudo apt update
sudo apt install -y make bash git jq docker
sudo python3 -m pip install --upgrade pip
sudo pip3 install boto3

jobs:
test:
machine:
# https://circleci.com/docs/2.0/images/linux-vm/16.04-to-20.04-migration/
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.05.1
steps:
- setup_environment
- checkout
- run: make test
- run: make test-destroy

redhat:
parameters:
package:
type: string
machine: true
steps:
- setup_environment
- checkout
- run: docker login -u unused --password ${REDHAT_REGISTRY_KEY_NODE} scan.connect.redhat.com
- run: make build-<<parameters.package>> redhat-verify-<<parameters.package>> VARIANT=redhat

redhat-ciab:
machine: true
steps:
- setup_environment
- checkout
- run: docker login -u unused --password ${REDHAT_REGISTRY_KEY_CIAB} scan.connect.redhat.com
- run: make build-ciab redhat-verify-ciab VARIANT=redhat

dockerhub:
parameters:
package:
type: string
machine:
# https://circleci.com/docs/2.0/images/linux-vm/16.04-to-20.04-migration/
image: ubuntu-2004:202201-02
image: ubuntu-2004:2024.05.1
steps:
- setup_environment
- checkout
- run: docker login -u ${DOCKER_HUB_USER} --password ${DOCKER_HUB_KEY}
- run: make build-<<parameters.package>> publish-<<parameters.package>>

ubi-gcr-internal:
machine: true
steps:
- setup_environment
- checkout
# We can't use Bash variables in CircleCI so we just duplicate the ""./dockerconfig.json"
# string here.
- run: echo "${GCLOUD_SERVICE_ACCOUNT_INTERNAL}" | base64 -d >./dockerconfig.json
- run: cat ./dockerconfig.json | docker login -u _json_key --password-stdin https://gcr.io
- run: make build-node redhat-verify-ubi-gcr-internal-node VARIANT=redhat

workflows:
test_publish:
jobs:
Expand All @@ -75,94 +47,19 @@ workflows:
# Must match line 71.
package:
[
"node",
"node-preview",
"node-6-8",
"node-7-0",
"node-7-1",
"node-7-3",
"node-7-5",
"node-7-6",
"dynamic-node",
"ciab",
"tools",
]
requires:
- test

- publish-redhat:
name: publish-redhat-<< matrix.package >>
type: approval
matrix:
parameters:
# Must match line 93.
package:
[
"node",
"node-7-0",
"node-7-1",
"node-7-3",
"node-7-5",
"node-7-6"
]
requires:
- test

- publish-redhat-ciab:
name: publish-redhat-ciab
type: approval
requires:
- test

- dockerhub:
name: dockerhub-<< matrix.package >>
matrix:
parameters:
package:
[
"node",
"node-preview",
"node-6-8",
"node-7-0",
"node-7-1",
"node-7-3",
"node-7-5",
"node-7-6",
"dynamic-node",
"ciab",
"tools",
]
requires:
- publish-dockerhub-<< matrix.package >>

- redhat:
name: redhat-<< matrix.package >>
matrix:
parameters:
package:
[
"node",
"node-7-0",
"node-7-1",
"node-7-3",
"node-7-5",
"node-7-6"
]
requires:
- publish-redhat-<< matrix.package >>

- redhat-ciab:
name: redhat-ciab
requires:
- publish-redhat-ciab

- publish-ubi-gcr-internal:
name: publish-ubi-gcr-internal
type: approval
requires:
- test

- ubi-gcr-internal:
name: ubi-gcr-internal
requires:
- publish-ubi-gcr-internal
27 changes: 10 additions & 17 deletions Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@ COPY setup/user-change.sh /
RUN /user-change.sh
RUN rm /user-change.sh

# updates and basic utilities
ARG RELEASE_CHANNEL
RUN rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux

# Tell yum to yell on missing packages.
# https://serverfault.com/a/923357
RUN yum install yum-utils -y
RUN yum-config-manager --save --setopt=skip_missing_names_on_install=0

# updates and basic utilities
ARG RELEASE_CHANNEL=production
# currently yum update-minimal fails on curl, so we need to update curl before
RUN yum update curl -y && yum -y update-minimal --setopt=tsflags=nodocs \
--security --sec-severity=Important --sec-severity=Critical \
--security --sec-severity=Important --sec-severity=Critical --nobest \
&& yum install -y yum-utils wget procps

RUN yum-config-manager --add-repo https://release.memsql.com/${RELEASE_CHANNEL}/rpm/x86_64/repodata/memsql.repo \
Expand All @@ -28,17 +30,8 @@ RUN yum-config-manager --add-repo https://release.memsql.com/${RELEASE_CHANNEL}/
RUN dnf --enablerepo=* clean all && dnf update -y; exit 0

# address vulnarabilities found by `grype --only-fixed` command
RUN yum remove vim-minimal platform-python-pip.noarch -y && yum update expat libxml2 libgcrypt -y

# jq 1.6
ENV JQ_VERSION='1.6'
RUN wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/jq-release.key -O /tmp/jq-release.key && \
wget --no-check-certificate https://raw.githubusercontent.com/stedolan/jq/master/sig/v${JQ_VERSION}/jq-linux64.asc -O /tmp/jq-linux64.asc && \
wget --no-check-certificate https://github.com/stedolan/jq/releases/download/jq-${JQ_VERSION}/jq-linux64 -O /tmp/jq-linux64 && \
gpg --import /tmp/jq-release.key && \
gpg --verify /tmp/jq-linux64.asc /tmp/jq-linux64 && \
cp /tmp/jq-linux64 /usr/bin/jq && \
chmod +x /usr/bin/jq && \
rm -f /tmp/jq-release.key && \
rm -f /tmp/jq-linux64.asc && \
rm -f /tmp/jq-linux64
RUN yum update expat libxml2 gnupg2 libgcrypt openssl-libs pcre2 curl libcurl-minimal systemd platform-python python3-libs gnutls libksba sqlite-libs zlib libcom_err krb5-libs dbus libtasn1 libarchive unbound-libs tar platform-python-setuptools python3-setuptools-wheel sqlite-libs systemd systemd-libs systemd-pam oniguruma gnutls python3-rpm python3-unbound rpm rpm-build-libs rpm-libs rpm-plugin-systemd-inhibit unbound-libs -y
RUN yum remove vim-minimal platform-python-pip.noarch -y

RUN yum install -y jq-1.6
RUN yum install -y which
9 changes: 8 additions & 1 deletion Dockerfile-ciab
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ FROM ${BASE_IMAGE}

# install SingleStore DB packages and additional dependencies
ARG CLIENT_VERSION
ARG SERVER_PACKAGE
ARG SERVER_VERSION
ARG STUDIO_VERSION
ARG TOOLBOX_VERSION
ARG JRE_PACKAGES
RUN yum install -y \
singlestore-client-${CLIENT_VERSION} \
singlestoredb-server${SERVER_VERSION} \
${SERVER_PACKAGE}${SERVER_VERSION} \
singlestoredb-studio-${STUDIO_VERSION} \
singlestoredb-toolbox-${TOOLBOX_VERSION} \
&& yum clean all
Expand All @@ -18,6 +20,11 @@ RUN mkdir -p /home/memsql && chown memsql:memsql /home/memsql
ADD ciab-assets/studio.hcl /var/lib/singlestoredb-studio/studio.hcl
RUN chown memsql:memsql /var/lib/singlestoredb-studio/studio.hcl

RUN for pkg in ${JRE_PACKAGES} ; do \
yum install -y ${pkg}; \
done \
&& yum clean all

VOLUME ["/var/lib/memsql"]

LABEL name="SingleStore DB Cluster in a Box"
Expand Down
27 changes: 0 additions & 27 deletions Dockerfile-dynamic

This file was deleted.

64 changes: 0 additions & 64 deletions Dockerfile-node

This file was deleted.

1 change: 0 additions & 1 deletion Dockerfile-tools
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ RUN yum update -y \
RUN yum install python3.9 -y && pip3 install boto3 azure-storage-blob awscli pymysql

ADD assets/report /report
ADD assets/backup /backup

Loading