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

fix failing workflow run #26

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 13 additions & 0 deletions .github/workflows/scripts/mesh_deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
MESH=$1
MESHERYCTL="/usr/local/bin/mesheryctl"
echo "Checking if mesheryctl is installed"

if [ -f $MESHERYCTL ]; then
echo "Found mesheryctl, deploy $MESH"
mesheryctl mesh deploy $MESH
else
printf "Mesheryctl not found. \nInstalling...\n"
curl -L https://git.io/meshery | DEPLOY_MESHERY=false bash -
echo "Installed mesheryctl successfully!"
mesheryctl mesh deploy $MESH
fi
2 changes: 1 addition & 1 deletion .github/workflows/scripts/osm_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export MESH_NAME='Open Service Mesh'
export SERVICE_MESH='OPEN_SERVICE_MESH'

system=$(uname -s)
system=$(uname -s | tr '[:upper:]' '[:lower:]')
release=v0.11.1
curl -L https://github.com/openservicemesh/osm/releases/download/${release}/osm-${release}-${system}-amd64.tar.gz | tar -vxzf - ./${system}-amd64/osm version
osm install \
Expand Down