-
-
Save clemenko/11edaa5f5c84c2f5f603257dcff6787d to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
echo "----- speed test -----" | |
yum install -y speedtest-cli >/dev/null 2>&1 | |
speedtest-cli --single --simple | |
echo "" | |
echo "----- without product -----" | |
cd /opt | |
curl -sfL https://get.hauler.dev | bash >/dev/null 2>&1 | |
curl -sLO https://gist.githubusercontent.com/clemenko/11edaa5f5c84c2f5f603257dcff6787d/raw/ecd7e42dcc63516b400d0f20b9937c3a369b46d3/test_manifest.yaml | |
echo "hauler:" | |
time hauler store sync -f test_manifest.yaml >/dev/null 2>&1 | |
echo "" | |
echo "----- with product -----" | |
cat << EOF > carbide-key.pub | |
-----BEGIN PUBLIC KEY----- | |
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE5zlXeLmRxBHbVmDRZpnCFdzKhyKO | |
tCAZva7CLlk/6gxvCM0QkIKznfaGTRMMYTaHMdQSau6yulDLlpokA++i8Q== | |
-----END PUBLIC KEY----- | |
EOF | |
hauler login rgcrprod.azurecr.us -u andy-clemenko-read-token -p XXXXXX >/dev/null 2>&1 | |
echo "hauler: with product without key" | |
time hauler store sync --products rancher=v2.8.5 --platform linux/amd64 >/dev/null 2>&1 | |
rm -rf store/ | |
echo "" | |
echo "hauler: with product with key" | |
time hauler store sync --products rancher=v2.8.5 --key carbide-key.pub --platform linux/amd64 >/dev/null 2>&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
apiVersion: content.hauler.cattle.io/v1alpha1 | |
kind: Images | |
metadata: | |
name: rancher-images | |
annotations: | |
# hauler.dev/key: <cosign public key> | |
hauler.dev/platform: linux/amd64 | |
# hauler.dev/registry: <registry> | |
spec: | |
images: | |
- name: quay.io/jetstack/cert-manager-cainjector:v1.15.3 | |
- name: quay.io/jetstack/cert-manager-controller:v1.15.3 | |
- name: quay.io/jetstack/cert-manager-webhook:v1.15.3 | |
- name: quay.io/jetstack/cert-manager-startupapicheck:v1.15.3 | |
- name: docker.io/neuvector/enforcer:5.3.4 | |
- name: docker.io/neuvector/controller:5.3.4 | |
- name: docker.io/neuvector/manager:5.3.4 | |
- name: docker.io/neuvector/scanner:latest | |
- name: docker.io/neuvector/updater:latest | |
- name: longhornio/csi-attacher:v4.6.1 | |
- name: longhornio/csi-provisioner:v4.0.1 | |
- name: longhornio/csi-resizer:v1.11.1 | |
- name: longhornio/csi-snapshotter:v7.0.2 | |
- name: longhornio/csi-node-driver-registrar:v2.11.1 | |
- name: longhornio/livenessprobe:v2.13.1 | |
- name: longhornio/openshift-origin-oauth-proxy:4.15 | |
- name: longhornio/backing-image-manager:v1.7.0 | |
- name: longhornio/longhorn-engine:v1.7.0 | |
- name: longhornio/longhorn-instance-manager:v1.7.0 | |
- name: longhornio/longhorn-manager:v1.7.0 | |
- name: longhornio/longhorn-share-manager:v1.7.0 | |
- name: longhornio/longhorn-ui:v1.7.0 | |
- name: longhornio/longhorn-cli:v1.7.0 | |
- name: longhornio/support-bundle-kit:v0.0.41 | |
- name: docker.io/rancher/hardened-addon-resizer:1.8.20-build20240410 | |
- name: docker.io/rancher/hardened-calico:v3.28.0-build20240625 | |
- name: docker.io/rancher/hardened-cluster-autoscaler:v1.8.10-build20240124 | |
- name: docker.io/rancher/hardened-cni-plugins:v1.4.1-build20240325 | |
- name: docker.io/rancher/hardened-cni-plugins:v1.4.1-build20240430 | |
- name: docker.io/rancher/hardened-coredns:v1.11.1-build20240305 | |
- name: docker.io/rancher/hardened-dns-node-cache:1.22.28-build20240125 | |
- name: docker.io/rancher/hardened-etcd:v3.5.13-k3s1-build20240531 | |
- name: docker.io/rancher/hardened-flannel:v0.25.4-build20240610 | |
- name: docker.io/rancher/hardened-k8s-metrics-server:v0.7.1-build20240401 | |
- name: docker.io/rancher/hardened-kubernetes:v1.28.12-rke2r1-build20240717 | |
- name: docker.io/rancher/hardened-multus-cni:v4.0.2-build20240612 | |
- name: docker.io/rancher/hardened-node-feature-discovery:v0.15.4-build20240513 | |
- name: docker.io/rancher/hardened-whereabouts:v0.7.0-build20240429 | |
- name: docker.io/rancher/harvester-cloud-provider:v0.2.1 | |
- name: docker.io/rancher/harvester-csi-driver:v0.1.6 | |
- name: docker.io/rancher/klipper-helm:v0.8.4-build20240523 | |
- name: docker.io/rancher/klipper-lb:v0.4.7 | |
- name: docker.io/rancher/mirrored-calico-apiserver:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-cni:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-csi:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-ctl:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-kube-controllers:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-node-driver-registrar:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-node:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-operator:v1.32.7 | |
- name: docker.io/rancher/mirrored-calico-pod2daemon-flexvol:v3.27.3 | |
- name: docker.io/rancher/mirrored-calico-typha:v3.27.3 | |
- name: docker.io/rancher/mirrored-ingress-nginx-kube-webhook-certgen:v20230312-helm-chart-4.5.2-28-g66a760794 | |
- name: docker.io/rancher/mirrored-kube-vip-kube-vip-iptables:v0.6.0 | |
- name: docker.io/rancher/mirrored-library-busybox:1.36.1 | |
- name: docker.io/rancher/mirrored-longhornio-csi-attacher:v3.2.1 | |
- name: docker.io/rancher/mirrored-longhornio-csi-node-driver-registrar:v2.3.0 | |
- name: docker.io/rancher/mirrored-longhornio-csi-provisioner:v2.1.2 | |
- name: docker.io/rancher/mirrored-longhornio-csi-resizer:v1.2.0 | |
- name: docker.io/rancher/mirrored-pause:3.6 | |
- name: docker.io/rancher/mirrored-sig-storage-csi-attacher:v4.5.1 | |
- name: docker.io/rancher/mirrored-sig-storage-csi-node-driver-registrar:v2.10.1 | |
- name: docker.io/rancher/mirrored-sig-storage-csi-provisioner:v4.0.1 | |
- name: docker.io/rancher/mirrored-sig-storage-csi-resizer:v1.10.1 | |
- name: docker.io/rancher/mirrored-sig-storage-csi-snapshotter:v7.0.2 | |
- name: docker.io/rancher/mirrored-sig-storage-livenessprobe:v2.12.0 | |
- name: docker.io/rancher/mirrored-sig-storage-snapshot-controller:v6.2.1 | |
- name: docker.io/rancher/mirrored-sig-storage-snapshot-validation-webhook:v6.2.2 | |
- name: docker.io/rancher/nginx-ingress-controller:v1.10.1-hardened1 | |
- name: docker.io/rancher/rke2-cloud-provider:v1.29.3-build20240515 | |
- name: docker.io/rancher/rke2-runtime:v1.28.12-rke2r1 | |
- name: rancher/backup-restore-operator:v4.0.2 | |
- name: rancher/calico-cni:v3.27.0-rancher1 | |
- name: rancher/cis-operator:v1.0.13 | |
- name: rancher/coreos-kube-state-metrics:v1.9.7 | |
- name: rancher/coreos-prometheus-config-reloader:v0.38.1 | |
- name: rancher/coreos-prometheus-operator:v0.38.1 | |
- name: rancher/flannel-cni:v0.3.0-rancher9 | |
- name: rancher/fleet-agent:v0.9.5 | |
- name: rancher/fleet:v0.9.5 | |
- name: rancher/gitjob:v0.9.8 | |
- name: rancher/grafana-grafana:7.1.5 | |
- name: rancher/hardened-addon-resizer:1.8.20-build20240410 | |
- name: rancher/hardened-calico:v3.27.3-build20240423 | |
- name: rancher/hardened-cluster-autoscaler:v1.8.10-build20240124 | |
- name: rancher/hardened-cni-plugins:v1.4.1-build20240325 | |
- name: rancher/hardened-coredns:v1.11.1-build20240305 | |
- name: rancher/hardened-dns-node-cache:1.22.28-build20240125 | |
- name: rancher/hardened-etcd:v3.5.9-k3s1-build20240418 | |
- name: rancher/hardened-flannel:v0.25.1-build20240423 | |
- name: rancher/hardened-k8s-metrics-server:v0.7.1-build20240401 | |
- name: rancher/hardened-kubernetes:v1.28.10-rke2r1-build20240514 | |
- name: rancher/hardened-multus-cni:v4.0.2-build20240208 | |
- name: rancher/hardened-node-feature-discovery:v0.14.1-build20230926 | |
- name: rancher/hardened-whereabouts:v0.6.3-build20240208 | |
- name: rancher/helm-project-operator:v0.2.1 | |
- name: rancher/istio-kubectl:1.5.10 | |
- name: rancher/jimmidyson-configmap-reload:v0.3.0 | |
- name: rancher/k3s-upgrade:v1.28.10-k3s1 | |
- name: rancher/klipper-helm:v0.8.3-build20240228 | |
- name: rancher/klipper-lb:v0.4.7 | |
- name: rancher/kube-api-auth:v0.2.1 | |
- name: rancher/kubectl:v1.28.7 | |
- name: rancher/library-nginx:1.19.2-alpine | |
- name: rancher/local-path-provisioner:v0.0.26 | |
- name: rancher/machine:v0.15.0-rancher112 | |
- name: rancher/mirrored-cluster-api-controller:v1.4.4 | |
- name: rancher/nginx-ingress-controller:nginx-1.9.6-rancher1 | |
- name: rancher/pause:3.6 | |
- name: rancher/prom-alertmanager:v0.21.0 | |
- name: rancher/prometheus-auth:v0.2.2 | |
- name: rancher/prometheus-federator:v0.3.4 | |
- name: rancher/prom-node-exporter:v1.0.1 | |
- name: rancher/prom-prometheus:v2.18.2 | |
- name: rancher/pushprox-client:v0.1.3-rancher2-client | |
- name: rancher/pushprox-proxy:v0.1.3-rancher2-proxy | |
- name: rancher/rancher-agent:v2.8.5 | |
- name: rancher/rancher-csp-adapter:v3.0.1 | |
- name: rancher/rancher:v2.8.5 | |
- name: rancher/rancher-webhook:v0.4.7 | |
- name: rancher/rke2-cloud-provider:v1.29.3-build20240412 | |
- name: rancher/rke2-runtime:v1.28.10-rke2r1 | |
- name: rancher/rke2-upgrade:v1.28.10-rke2r1 | |
- name: rancher/rke-tools:v0.1.96 | |
- name: rancher/security-scan:v0.2.15 | |
- name: rancher/shell:v0.1.25 | |
- name: rancher/system-agent-installer-k3s:v1.28.10-k3s1 | |
- name: rancher/system-agent-installer-rke2:v1.28.10-rke2r1 | |
- name: rancher/system-agent:v0.3.6-suc | |
- name: rancher/system-upgrade-controller:v0.13.1 | |
- name: rancher/ui-plugin-catalog:1.4.0 | |
- name: rancher/ui-plugin-operator:v0.1.1 | |
- name: rancher/webhook-receiver:v0.2.5 | |
- name: rancher/kubectl:v1.20.2 | |
- name: rancher/shell:v0.1.24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment