-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tamal Saha <[email protected]>
- Loading branch information
Showing
122 changed files
with
4,299 additions
and
7 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
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,42 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane . | ||
|
||
CMD="./crane" | ||
|
||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra-exporter:2.3.8 $IMAGE_REGISTRY/appscode-images/cassandra-exporter:2.3.8 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra:4.1.6 $IMAGE_REGISTRY/appscode-images/cassandra:4.1.6 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra:5.0.0 $IMAGE_REGISTRY/appscode-images/cassandra:5.0.0 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/cassandra-init:4.1.6 $IMAGE_REGISTRY/kubedb/cassandra-init:4.1.6 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/cassandra-init:5.0.0 $IMAGE_REGISTRY/kubedb/cassandra-init:5.0.0 |
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,41 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
mkdir -p images | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane images | ||
|
||
CMD="./images/crane" | ||
|
||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra-exporter:2.3.8 images/appscode-images-cassandra-exporter-2.3.8.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra:4.1.6 images/appscode-images-cassandra-4.1.6.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/cassandra:5.0.0 images/appscode-images-cassandra-5.0.0.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/cassandra-init:4.1.6 images/kubedb-cassandra-init-4.1.6.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/cassandra-init:5.0.0 images/kubedb-cassandra-init-5.0.0.tar | ||
|
||
tar -czvf images.tar.gz images |
File renamed without changes.
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,33 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
TARBALL=${1:-} | ||
tar -zxvf $TARBALL | ||
|
||
CMD="./crane" | ||
|
||
$CMD push --allow-nondistributable-artifacts --insecure images/appscode-images-cassandra-exporter-2.3.8.tar $IMAGE_REGISTRY/appscode-images/cassandra-exporter:2.3.8 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/appscode-images-cassandra-4.1.6.tar $IMAGE_REGISTRY/appscode-images/cassandra:4.1.6 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/appscode-images-cassandra-5.0.0.tar $IMAGE_REGISTRY/appscode-images/cassandra:5.0.0 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-cassandra-init-4.1.6.tar $IMAGE_REGISTRY/kubedb/cassandra-init:4.1.6 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-cassandra-init-5.0.0.tar $IMAGE_REGISTRY/kubedb/cassandra-init:5.0.0 |
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,31 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
TARBALL=${1:-} | ||
tar -zxvf $TARBALL | ||
|
||
k3s ctr images import images/appscode-images-cassandra-exporter-2.3.8.tar | ||
k3s ctr images import images/appscode-images-cassandra-4.1.6.tar | ||
k3s ctr images import images/appscode-images-cassandra-5.0.0.tar | ||
k3s ctr images import images/kubedb-cassandra-init-4.1.6.tar | ||
k3s ctr images import images/kubedb-cassandra-init-5.0.0.tar |
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,40 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane . | ||
|
||
CMD="./crane" | ||
|
||
$CMD cp --allow-nondistributable-artifacts --insecure clickhouse/clickhouse-keeper:24.4.1 $IMAGE_REGISTRY/clickhouse/clickhouse-keeper:24.4.1 | ||
$CMD cp --allow-nondistributable-artifacts --insecure clickhouse/clickhouse-server:24.4.1 $IMAGE_REGISTRY/clickhouse/clickhouse-server:24.4.1 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/clickhouse-init:24.4.1 $IMAGE_REGISTRY/kubedb/clickhouse-init:24.4.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,39 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
mkdir -p images | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane images | ||
|
||
CMD="./images/crane" | ||
|
||
$CMD pull --allow-nondistributable-artifacts --insecure clickhouse/clickhouse-keeper:24.4.1 images/clickhouse-clickhouse-keeper-24.4.1.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure clickhouse/clickhouse-server:24.4.1 images/clickhouse-clickhouse-server-24.4.1.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/clickhouse-init:24.4.1 images/kubedb-clickhouse-init-24.4.1.tar | ||
|
||
tar -czvf images.tar.gz images |
File renamed without changes.
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,31 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
TARBALL=${1:-} | ||
tar -zxvf $TARBALL | ||
|
||
CMD="./crane" | ||
|
||
$CMD push --allow-nondistributable-artifacts --insecure images/clickhouse-clickhouse-keeper-24.4.1.tar $IMAGE_REGISTRY/clickhouse/clickhouse-keeper:24.4.1 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/clickhouse-clickhouse-server-24.4.1.tar $IMAGE_REGISTRY/clickhouse/clickhouse-server:24.4.1 | ||
$CMD push --allow-nondistributable-artifacts --insecure images/kubedb-clickhouse-init-24.4.1.tar $IMAGE_REGISTRY/kubedb/clickhouse-init:24.4.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,29 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
TARBALL=${1:-} | ||
tar -zxvf $TARBALL | ||
|
||
k3s ctr images import images/clickhouse-clickhouse-keeper-24.4.1.tar | ||
k3s ctr images import images/clickhouse-clickhouse-server-24.4.1.tar | ||
k3s ctr images import images/kubedb-clickhouse-init-24.4.1.tar |
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,41 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
if [ -z "${IMAGE_REGISTRY}" ]; then | ||
echo "IMAGE_REGISTRY is not set" | ||
exit 1 | ||
fi | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane . | ||
|
||
CMD="./crane" | ||
|
||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/druid:28.0.1 $IMAGE_REGISTRY/appscode-images/druid:28.0.1 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/druid:30.0.1 $IMAGE_REGISTRY/appscode-images/druid:30.0.1 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/druid-init:28.0.1 $IMAGE_REGISTRY/kubedb/druid-init:28.0.1 | ||
$CMD cp --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/druid-init:30.0.1 $IMAGE_REGISTRY/kubedb/druid-init:30.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,40 @@ | ||
#!/bin/bash | ||
|
||
# Copyright AppsCode Inc. and Contributors | ||
# | ||
# Licensed under the AppsCode Community License 1.0.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://github.com/appscode/licenses/raw/1.0.0/AppsCode-Community-1.0.0.md | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
set -x | ||
|
||
mkdir -p images | ||
|
||
OS=$(uname -o) | ||
if [ "${OS}" = "GNU/Linux" ]; then | ||
OS=Linux | ||
fi | ||
ARCH=$(uname -m) | ||
if [ "${ARCH}" = "aarch64" ]; then | ||
ARCH=arm64 | ||
fi | ||
curl -sL "https://github.com/google/go-containerregistry/releases/latest/download/go-containerregistry_${OS}_${ARCH}.tar.gz" >/tmp/go-containerregistry.tar.gz | ||
tar -zxvf /tmp/go-containerregistry.tar.gz -C /tmp/ | ||
mv /tmp/crane images | ||
|
||
CMD="./images/crane" | ||
|
||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/druid:28.0.1 images/appscode-images-druid-28.0.1.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/appscode-images/druid:30.0.1 images/appscode-images-druid-30.0.1.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/druid-init:28.0.1 images/kubedb-druid-init-28.0.1.tar | ||
$CMD pull --allow-nondistributable-artifacts --insecure ghcr.io/kubedb/druid-init:30.0.1 images/kubedb-druid-init-30.0.1.tar | ||
|
||
tar -czvf images.tar.gz images |
File renamed without changes.
Oops, something went wrong.