diff --git a/.github/workflows/auto-review.yaml b/.github/workflows/auto-review.yaml deleted file mode 100644 index 342c350ff..000000000 --- a/.github/workflows/auto-review.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Auto reviews updates - -on: - pull_request: - types: - - opened - - reopened - - synchronize - -jobs: - auto-merge: - name: Auto reviews updates - runs-on: ubuntu-22.04 - timeout-minutes: 5 - - steps: - - name: Auto reviews updates - uses: golfzaptw/action-auto-reviews-from-branches@master - with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - AUTHOR: renovate[bot] diff --git a/.github/workflows/dependency-auto-review.yaml b/.github/workflows/dependency-auto-review.yaml new file mode 100644 index 000000000..d09719021 --- /dev/null +++ b/.github/workflows/dependency-auto-review.yaml @@ -0,0 +1,25 @@ +name: Auto reviews updates + +on: + pull_request: + types: + - opened + - reopened + +jobs: + auto-merge: + name: Auto reviews updates + runs-on: ubuntu-22.04 + timeout-minutes: 5 + + steps: + - uses: actions/github-script@v6 + with: + script: |- + github.rest.pulls.createReview({ + owner: context.repo.owner, + repo: context.repo.repo, + pull_number: context.payload.pull_request.number, + event: 'APPROVE', + }) + if: github.event.pull_request.user.login == 'renovate[bot]' diff --git a/.github/workflows/rebuild.yaml b/.github/workflows/rebuild.yaml deleted file mode 100644 index df816259b..000000000 --- a/.github/workflows/rebuild.yaml +++ /dev/null @@ -1,56 +0,0 @@ -name: Rebuild - -on: - schedule: - - cron: "30 2 * * *" - -env: - IN_CI: "1" - SUMMON_PROVIDER: /usr/local/bin/gopass - -jobs: - rebuild: - runs-on: ubuntu-22.04 - timeout-minutes: 15 - - strategy: - fail-fast: false - matrix: - branch: - - release_3 - - release_4 - - steps: - - uses: actions/checkout@v1 - with: - ref: ${{ matrix.branch }} - - - uses: camptocamp/initialise-gopass-summon-action@v1 - with: - ci-gpg-private-key: ${{secrets.CI_GPG_PRIVATE_KEY}} - github-gopass-ci-token: ${{secrets.GOPASS_CI_GITHUB_TOKEN}} - - - name: Pull - run: make pull - - - name: Build - run: make build - - - name: Acceptance - run: make acceptance - - - name: Install GDAL - run: docker run --rm camptocamp/c2cwsgiutils install-gdal - - - name: Release - run: | - summon --yaml ' - USER: !var gs/ci/dockerhub/username - PASS: !var gs/ci/dockerhub/password - ' bash -c 'docker login -u $USER -p $PASS' - - for tag_suffix in "-lite" "" "-full" - do - docker tag camptocamp/c2cwsgiutils:latest${tag_suffix} camptocamp/c2cwsgiutils:${{ matrix.branch }}${tag_suffix} - docker push camptocamp/c2cwsgiutils:${{ matrix.branch }}${tag_suffix} - done diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 652cbd2d1..000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,20 +0,0 @@ -# Release 4 - -BREAKING CHANGES: - -- Rename the scripts: - - - c2cwsgiutils_run => c2cwsgiutils-run - - c2cwsgiutils_genversion.py => c2cwsgiutils-genversion - - c2cwsgiutils_coverage_report.py => c2cwsgiutils-coverage-report - - c2cwsgiutils_stats_db.py => c2cwsgiutils-stats-db - - c2cwsgiutils_test_print.py => c2cwsgiutils-test-print - - c2cwsgiutils_check_es.py => c2cwsgiutils-check-es - -- `C2C_DISABLE_EXCEPTION_HANDLING` is replaced by `C2C_ENABLE_EXCEPTION_HANDLING` and is disabled by default. - -- /!\ initialization must be explicit: - import c2cwsgiutils.setup_process - c2cwsgiutils.setup_process.init() - -- The base image is now ubuntu 20.04