Skip to content

Commit 2fafeaa

Browse files
Remove not used integration with Open Community Build (#16751)
This change removes integration with Open Community Build, triggering builds after publishing a new nightly version. This feature was not really used previously - nightly builds we're testing only 100 - 200 projects, and we relied on weekly builds (with over 1k projects) anyway. This change makes project secret `BUILD_TOKEN` obsolete.
1 parent a51b590 commit 2fafeaa

File tree

2 files changed

+0
-76
lines changed

2 files changed

+0
-76
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -585,45 +585,6 @@ jobs:
585585
external_repository: lampepfl/dotty-website
586586
publish_branch: gh-pages
587587

588-
nightly_unmanaged_community_build:
589-
# Self-hosted runner is used only for getting current build version
590-
runs-on: [self-hosted, Linux]
591-
container:
592-
image: lampepfl/dotty:2021-03-22
593-
options: --cpu-shares 4096
594-
volumes:
595-
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
596-
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
597-
- ${{ github.workspace }}/../../cache/general:/root/.cache
598-
needs: [publish_nightly]
599-
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'lampepfl/dotty'"
600-
env:
601-
NIGHTLYBUILD: yes
602-
steps:
603-
- name: Reset existing repo
604-
run: git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/lampepfl/dotty" && git reset --hard FETCH_HEAD || true
605-
606-
- name: Checkout cleanup script
607-
uses: actions/checkout@v3
608-
609-
- name: Cleanup
610-
run: .github/workflows/cleanup.sh
611-
612-
- name: Git Checkout
613-
uses: actions/checkout@v3
614-
615-
- name: Add SBT proxy repositories
616-
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
617-
618-
- name: Get version string for this build
619-
run: |
620-
ver=$(./project/scripts/sbt "print scala3-compiler-bootstrapped/version" | tail -n1)
621-
echo "This build version: $ver"
622-
echo "THISBUILD_VERSION=$ver" >> $GITHUB_ENV
623-
# Steps above are copy-pasted from publish_nightly, needed only to resolve THISBUILD_VERSION
624-
- name: Trigger unmanaged community build
625-
run: .github/workflows/scripts/triggerUnmanagedCommunityBuild.sh "${{ secrets.BUILD_TOKEN }}" "$THISBUILD_VERSION"
626-
627588
publish_release:
628589
permissions:
629590
contents: write # for actions/create-release to create a release

.github/workflows/scripts/triggerUnmanagedCommunityBuild.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

0 commit comments

Comments
 (0)