Skip to content

Commit

Permalink
RING-44102 - git archive prefix spark/ ~ playbooks (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrevorBenson authored Sep 21, 2023
1 parent bec80a5 commit e90db8d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sudo apt-get install -y makeself
- name: Create Archive from Spark
run: |
git archive --output=${{ env.staging_path }}/spark-repo.tar --format=tar HEAD
git archive --prefix=spark/ --output=${{ env.staging_path }}/spark-repo.tar --format=tar HEAD
- name: Pull containers from ${{ env.registry }}
run: |
docker pull ${{ env.registry }}/spark/spark-master:latest
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/stage-spark-cluster/templates/setup.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ ${sudo} cd ../ && mv ./staging /var/tmp/
${sudo} tar -C /root -x -v -f {{ staging_path }}spark-repo.tar spark/ansible
${sudo} echo -e "{{ staging_archive }} has extracted itself.\n"
${sudo} echo -e "To continue with the staged deployment cd into ~/spark/ansible"
${sudo} echo -e"and execute run.yml without the staging tag."
${sudo} echo -e "and execute run.yml without the staging tag."
2 changes: 1 addition & 1 deletion scripts/offline-archive-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ ${sudo} cd ../ && mv ./staging /var/tmp/
${sudo} tar -C /root -x -v -f /var/tmp/staging/spark-repo.tar spark/ansible
${sudo} echo -e "spark-offline-archive.run has extracted itself.\n"
${sudo} echo -e "To continue with the staged deployment cd into ~/spark/ansible"
${sudo} echo -e"and execute run.yml without the staging tag."
${sudo} echo -e "and execute run.yml without the staging tag."

0 comments on commit e90db8d

Please sign in to comment.