Skip to content

Commit

Permalink
Update references of rockcraft.yaml to images/charmed-spark/rockcraft…
Browse files Browse the repository at this point in the history
….yaml
  • Loading branch information
theoctober19th committed Jun 14, 2024
1 parent b3c7329 commit 23bd4de
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Extract ROCK metadata
shell: bash
run: |
VERSION=$(yq '(.version|split("-"))[0]' rockcraft.yaml)
BASE=$(yq '(.base|split("@"))[1]' rockcraft.yaml)
VERSION=$(yq '(.version|split("-"))[0]' images/charmed-spark/rockcraft.yaml)
BASE=$(yq '(.base|split("@"))[1]' images/charmed-spark/rockcraft.yaml)
echo "version=${VERSION}" >> $GITHUB_OUTPUT
echo "base=${BASE}" >> $GITHUB_OUTPUT
id: rock_metadata
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/integration-tests-jupyter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
NAMESPACE=tests

get_spark_version(){
SPARK_VERSION=$(yq '(.version)' rockcraft.yaml)
SPARK_VERSION=$(yq '(.version)' images/charmed-spark/rockcraft.yaml)
echo "$SPARK_VERSION"
}

Expand Down
4 changes: 2 additions & 2 deletions tests/integration/integration-tests-kyuubi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ S3_BUCKET=kyuubi


get_spark_version(){
# Fetch Spark version from rockcraft.yaml
yq '(.version)' rockcraft.yaml
# Fetch Spark version from images/charmed-spark/rockcraft.yaml
yq '(.version)' images/charmed-spark/rockcraft.yaml
}


Expand Down
2 changes: 1 addition & 1 deletion tests/integration/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
NAMESPACE=tests

get_spark_version(){
SPARK_VERSION=$(yq '(.version)' rockcraft.yaml)
SPARK_VERSION=$(yq '(.version)' images/charmed-spark/rockcraft.yaml)
echo "$SPARK_VERSION"
}

Expand Down

0 comments on commit 23bd4de

Please sign in to comment.