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

[4.5.0] fixed backend workflow #26623

Merged
merged 1 commit into from
Feb 20, 2025
Merged
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
21 changes: 11 additions & 10 deletions .github/workflows/build_backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,17 @@ jobs:
run: |
bash ./buildscripts/ci/backend/package.sh

- name: Build Docker
- name: Send package to S3
if: env.DO_PUBLISH == 'true'
run: |
bash ./buildscripts/ci/backend/publish_to_s3.sh \
--s3_key ${{ secrets.S3_KEY_CONVERTER }} \
--s3_secret ${{ secrets.S3_SECRET_CONVERTER }} \
--stage ${{ inputs.build_mode }} \
--mu_version ${{ env.VERSION }} \
--mu_version_major_minor ${{ env.VERSION_MAJOR_MINOR }}

- name: Build Docker (used package from S3)
if: env.DO_PUBLISH == 'true'
run: |
bash ./buildscripts/ci/backend/build_docker.sh
Expand All @@ -99,16 +109,7 @@ jobs:
- name: Deploy to musescore.com
if: env.DO_PUBLISH == 'true'
run: |
bash ./buildscripts/ci/backend/publish_to_s3.sh \
--s3_key ${{ secrets.S3_KEY_CONVERTER }} \
--s3_secret ${{ secrets.S3_SECRET_CONVERTER }} \
--stage ${{ inputs.build_mode }} \
--mu_version ${{ env.VERSION }} \
--mu_version_major_minor ${{ env.VERSION_MAJOR_MINOR }}


pip install jenkinsapi

python3 ./buildscripts/ci/backend/deploy.py --mu_version ${{ env.VERSION }} --api_token ${{ secrets.JENKINS_API_TOKEN }}

- name: Upload artifacts on GitHub
Expand Down
2 changes: 1 addition & 1 deletion buildscripts/ci/backend/docker/install_mu_template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ mkdir -p $MU_DIR

echo "=== Install MuseScore ${MU_VERSION} ==="
MU_DISTRO=MuseScore-${MU_VERSION}
wget -q --show-progress -O $MU_DIR/$MU_DISTRO.7z "$S3_URL/$MU_DISTRO.7z"
wget --show-progress -O $MU_DIR/$MU_DISTRO.7z "$S3_URL/$MU_DISTRO.7z"
7z x -y $MU_DIR/$MU_DISTRO.7z -o"$MU_DIR/"
$MU_DIR/convertor -v

Loading