Skip to content

Commit

Permalink
Merge pull request #2752 from NipunaMadhushan/update-daily-builds
Browse files Browse the repository at this point in the history
Update FBP (2201.10.x)
  • Loading branch information
NipunaMadhushan authored Sep 10, 2024
2 parents ba829da + 6ff5f9d commit 7dc9fa6
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/daily-full-build-2201.10.x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
FILE="failed_modules.txt"

while read module; do
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
done < ${FILE}
env:
CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
- name: Build Standard Libraries & Tools
run: |
python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \
--update-stdlib-dependencies --skip-build-distribution --continue-on-error --remove-after-build
--build-released-versions --patch-level $PATCH_LEVEL --skip-build-distribution --continue-on-error --remove-after-build
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
Expand All @@ -126,19 +126,14 @@ jobs:
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
REFRESH_TOKEN: ${{ secrets.REFRESH_TOKEN }}
TEST_MODE_ACTIVE: true
- name: Archive Standard Library Artifacts
uses: actions/upload-artifact@v2
with:
name: Standard Library Artifacts
path: ~/.m2/
- name: Notify Build Failure
if: ${{ failure() }}
shell: bash
run:
FILE="failed_modules.txt"

while read module; do
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
done < ${FILE}
env:
CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}
Expand All @@ -149,7 +144,7 @@ jobs:

build-distribution:
name: Build ballerina-distribution
needs: [build-lang, build-stdlibs]
needs: build-lang
runs-on: ubuntu-latest
timeout-minutes: 150
steps:
Expand Down Expand Up @@ -178,15 +173,10 @@ jobs:
with:
name: Ballerina Lang Artifacts
path: ~/.m2/
- name: Download Standard Library Artifacts
uses: actions/download-artifact@v2
with:
name: Standard Library Artifacts
path: ~/.m2/
- name: Build ballerina-distribution
run: |
python -u dependabot/full_build_pipeline.py ./ --lang-version ${{ needs.build-lang.outputs.lang-version }} \
--update-stdlib-dependencies --only-build-distribution --continue-on-error
--patch-level $PATCH_LEVEL --only-build-distribution --continue-on-error
env:
packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }}
packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }}
Expand Down Expand Up @@ -266,7 +256,7 @@ jobs:
FILE="failed_modules.txt"

while read module; do
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
python3 dependabot/notify_full_build_failure.py $module $PATCH_LEVEL;
done < ${FILE}
env:
CHAT_ID: ${{ secrets.NOTIFICATIONS_CHAT_ID }}
Expand Down

0 comments on commit 7dc9fa6

Please sign in to comment.