Como probar el script de bala en ubuntu - cniackz/public GitHub Wiki

  1. Modify the script:
cd ~
rm -rf ~/directpv/
git clone [email protected]:minio/directpv.git
cd ~/directpv
subl .
  • Change quay.io/minio for quay.io/cniackz4 there are 2 spots.
  • Comment this line: cd "$(dirname "$0")" || exit 255
  • Comment these lines:
set -o errexit
set -o nounset
set -o pipefail
  • Comment these lines: exit 255 and put echo "a" instead. There are two spots.
  1. Connect to Ubuntu:
docker run -v /Users/cniackz/directpv:/dp -it ubuntu
apt update
apt upgrade -y
apt install -y wget
apt install -y vim
apt-get -y install podman
apt install -y curl
apt install golang-go -y
apt-get install git -y
  1. Login to quay
podman login quay.io
  1. Run the script:
cd /dp
source release-operator.sh 4.0.8
  1. Two images are pushed: