Skip to content

Commit

Permalink
move sky
Browse files Browse the repository at this point in the history
  • Loading branch information
Michaelvll committed Dec 13, 2024
1 parent ed3bf1d commit 0d29879
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update-aws-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
# Loop over all versions and commit hashes
for version in $versions; do
# Find commit hash for the version
cd sky
commit_hash=$(cat catalogs/.metadata.yml | yq -r ".version_commit.$version")
cd sky
if [ "$commit_hash" == "latest" ]; then
# Find the latest commit of the remote SkyPilot repo
commit_hash=$(git rev-parse origin/master)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-fluidstack-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
source ~/catalogs-venv/bin/activate
versions=$(cat catalogs/.metadata.yml | yq -r '.version_commit | keys[]')
for version in $versions; do
cd sky
commit_hash=$(cat catalogs/.metadata.yml | yq -r ".version_commit.$version")
cd sky
if [ "$commit_hash" == "latest" ]; then
commit_hash=$(git rev-parse origin/master)
fi
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-gcp-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ jobs:
source ~/catalogs-venv/bin/activate
versions=$(cat catalogs/.metadata.yml | yq -r '.version_commit | keys[]')
for version in $versions; do
cd sky
commit_hash=$(cat catalogs/.metadata.yml | yq -r ".version_commit.$version")
cd sky
echo "> Fetching catalog schema version $version with SkyPilot commit hash $commit_hash ..."
if [ "$commit_hash" == "latest" ]; then
commit_hash=$(git rev-parse origin/master)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-lambda-catalog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
source ~/catalogs-venv/bin/activate
versions=$(cat catalogs/.metadata.yml | yq -r '.version_commit | keys[]')
for version in $versions; do
cd sky
commit_hash=$(cat catalogs/.metadata.yml | yq -r ".version_commit.$version")
cd sky
if [ "$commit_hash" == "latest" ]; then
commit_hash=$(git rev-parse origin/master)
fi
Expand Down

0 comments on commit 0d29879

Please sign in to comment.