OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Use autoscale approach in 11.2 as well
Oliver Güntheraba54d4a0064
diff --git a/.github/workflows/test-core.yml b/.github/workflows/test-core.ymlindex 1898cf55302..db42eb0d1fe 100644--- a/.github/workflows/test-core.yml+++ b/.github/workflows/test-core.yml@@ -1,60 +1,87 @@name: Core/Test+# https://securitylab.github.com/research/github-actions-preventing-pwn-requestson:push:+ branches:+ - dev+ - release/*+ paths-ignore:+ - 'docs/**'+ - 'help/**'+ pull_request:+ types: [opened, reopened, synchronize]+ paths-ignore:+ - 'docs/**'+ - 'help/**'jobs:+ danger:+ if: github.repository == 'opf/openproject'+ runs-on: [ubuntu-latest]+ timeout-minutes: 10+ steps:+ - uses: actions/checkout@v2+ - uses: danger/danger@master+ env:+ DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}units:name: Unitsif: github.repository == 'opf/openproject'- runs-on: [self-hosted,public]+ runs-on: [self-hosted-autoscale]timeout-minutes: 30env:- CI_CACHE_PATH: "/tmp/${{ github.sha }}/"- CI_JOBS: 16+ CI_CACHE_PATH: "/tmp/cache"CI_RETRY_COUNT: 3LOCAL_DEV_CHECK: 1steps:- - uses: actions/checkout@v2- - name: cache- uses: actions/cache@v2- with:- path: /tmp/${{ github.sha }}- key: ${{ runner.os }}-core-tests- - name: test- run: |- cp .env.example .env- docker-compose -f docker-compose.ci.yml build ci- docker-compose -f docker-compose.ci.yml run ci setup-tests run-units- - name: cleanup- if: ${{ always() }}- run: |- docker-compose -f docker-compose.ci.yml down --remove-orphans -t 10- sudo chown -R $(whoami):$(id -ng) $CI_CACHE_PATH+ - uses: actions/checkout@v2+ - name: cache+ uses: actions/cache@v2+ with:+ path: /tmp/cache+ key: ${{ runner.os }}-core-tests-units-${{ hashFiles('**/Gemfile.lock') }}+ restore-keys: |+ ${{ runner.os }}-core-tests-units-+ ${{ runner.os }}-core-tests-+ - name: test+ run: |+ docker-compose -f docker-compose.ci.yml build ci+ docker-compose -f docker-compose.ci.yml run ci setup-tests run-units+ - name: cleanup+ if: ${{ always() }}+ run: |+ docker-compose -f docker-compose.ci.yml down --remove-orphans -t 10+ sudo chown -R $(whoami):$(id -ng) $CI_CACHE_PATHfeatures:- needs: unitsname: Featuresif: github.repository == 'opf/openproject'- runs-on: [self-hosted,public]- timeout-minutes: 200+ runs-on: [self-hosted-autoscale]+ timeout-minutes: 60env:- CI_JOBS: 16- CI_CACHE_PATH: "/tmp/${{ github.sha }}/"+ CI_CACHE_PATH: "/tmp/cache"LOCAL_DEV_CHECK: 1CI_RETRY_COUNT: 3+ OPENPROJECT_ENABLE_CAPYBARA_SCREENSHOT_S3_UPLOADS: true+ AWS_ACCESS_KEY_ID: "${{ secrets.CAPYBARA_AWS_ACCESS_KEY_ID }}"+ AWS_SECRET_ACCESS_KEY: "${{ secrets.CAPYBARA_AWS_SECRET_ACCESS_KEY }}"+ AWS_REGION: "eu-west-1"+ S3_BUCKET_NAME: "openproject-ci-public-logs"steps:- - uses: actions/checkout@v2- - name: cache- uses: actions/cache@v2- with:- path: /tmp/${{ github.sha }}- key: ${{ runner.os }}-core-tests- - name: test- run: |- cp .env.example .env- docker-compose -f docker-compose.ci.yml build ci- docker-compose -f docker-compose.ci.yml run ci setup-tests run-features- - name: cleanup- if: ${{ always() }}- run: |- docker-compose -f docker-compose.ci.yml down --remove-orphans -t 10- sudo chown -R $(whoami):$(id -ng) $CI_CACHE_PATH+ - uses: actions/checkout@v2+ - name: cache+ uses: actions/cache@v2+ with:+ path: /tmp/cache+ key: ${{ runner.os }}-core-tests-features-${{ hashFiles('**/Gemfile.lock') }}+ restore-keys: |+ ${{ runner.os }}-core-tests-features-+ ${{ runner.os }}-core-tests-+ - name: test+ run: |+ docker-compose -f docker-compose.ci.yml build ci+ docker-compose -f docker-compose.ci.yml run ci setup-tests run-features+ - name: cleanup+ if: ${{ always() }}+ run: |+ docker-compose -f docker-compose.ci.yml down --remove-orphans -t 10+ sudo chown -R $(whoami):$(id -ng) $CI_CACHE_PATH