Skip to content

Instantly share code, notes, and snippets.

@gitricko
Last active September 28, 2022 05:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gitricko/f3b2a2636f7607bfabb3396c770e9750 to your computer and use it in GitHub Desktop.
Save gitricko/f3b2a2636f7607bfabb3396c770e9750 to your computer and use it in GitHub Desktop.
#!/bin/bash
# Checkout a branch
git checkout 1571-re-dex-spike
# Sync git submodule
# NOTE: This will cleanup dangling files inside the submodule too (because of `git clean -dffx`).
# Adapt this command if necessary
git submodule sync --recursive && git submodule update --init --recursive && git submodule foreach --recursive "git checkout . && git reset --hard && git clean -dffx"
# Prepare a dev cluster
make acceptance-cluster-setup
# Configure KUBECONFIG to talk to the dev cluster
export KUBECONFIG=$PWD/tmp/acceptance-kubeconfig
# Install cert-manager
make install-cert-manager
# Make sure you have go in your environment. You can use the following to create one with conda
conda create -n goenv
conda activate goenv
conda install -c conda-forge go
# Install Epinio from the checked out commit
make prepare_environment_k3d
# You should now be able to use Epinio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment