Skip to content
6 changes: 3 additions & 3 deletions .github/workflows/accept-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
PR_COMMENT: ${{ github.event.comment.body }}
outputs:
base_ref: ${{ steps.init-all-internal-env-vars.outputs.base_ref }}
new_version_master_snapshot_version: ${{ steps.check-github-release.outputs.new_version_master_snapshot_version }}
new_version_master_snapshot_version: ${{ steps.check-github-release.outputs.new_version_master_snapshot_version }}
is_a_github_release_pr: ${{ steps.check-github-release.outputs.is_a_github_release_pr }}
name: accept-pull-request
runs-on: ubuntu-latest
runs-on: tenki-standard-autoscale
steps:

- name: Check user permission
Expand Down Expand Up @@ -296,4 +296,4 @@ jobs:
else
comment="βœ… Pull request merged with fast forward by \`${COMMENT_USER_LOGIN}\`."
fi
gh pr comment "${PR_NUMBER}" --body "${comment}.<br><br>\# List of commits merged from \`${{ env.HEAD_REPO_FULL_NAME}}/${{ env.HEAD_REF }}\` branch into \`${{ env.BASE_REPO_FULL_NAME}}/${{ env.BASE_REF }}\` branch:<br>$(echo ; sed 's/+/-/g' ${{ env.NEW_COMMITS_FILE }})"
gh pr comment "${PR_NUMBER}" --body "${comment}.<br><br>\# List of commits merged from \`${{ env.HEAD_REPO_FULL_NAME}}/${{ env.HEAD_REF }}\` branch into \`${{ env.BASE_REPO_FULL_NAME}}/${{ env.BASE_REF }}\` branch:<br>$(echo ; sed 's/+/-/g' ${{ env.NEW_COMMITS_FILE }})"
6 changes: 2 additions & 4 deletions .github/workflows/auto-close-inactive-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:

concurrency: auto-close-inactive-pr-${{ github.ref }}

jobs:
Expand All @@ -14,12 +13,11 @@ jobs:
GITHUB_TOKEN: ${{ secrets.HURL_BOT_TOKEN }}
REPO: ${{ github.repository }}
name: auto-close-inactive-pr
runs-on: ubuntu-latest
runs-on: tenki-standard-autoscale
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: false
- name: Auto close inactive PR
run: .github/workflows/bin/auto-close-inactive-pr.sh --github-project-path "${REPO}" --github-token "${GITHUB_TOKEN}" --max-days-of-inactivity 15

run: .github/workflows/bin/auto-close-inactive-pr.sh --github-project-path "${REPO}" --github-token "${GITHUB_TOKEN}" --max-days-of-inactivity 15
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:
jobs:

checks:
runs-on: ubuntu-24.04
runs-on: tenki-standard-medium-4c-8g
steps:

- name: Checkout repository
Expand Down Expand Up @@ -136,4 +136,4 @@ jobs:
if: always()
run: |
sudo apt-get install -y zsh fish powershell
bin/check/completion.sh
bin/check/completion.sh
5 changes: 2 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ on:
branches:
- master
workflow_dispatch:

env:
RUSTFLAGS: "-C instrument-coverage"

jobs:
coverage:
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
strategy:
matrix:
rust: [stable]
Expand Down Expand Up @@ -74,4 +73,4 @@ jobs:
name: coverage
path: |
target/coverage
*.profraw
*.profraw
10 changes: 5 additions & 5 deletions .github/workflows/extra-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
GH_TOKEN: ${{ github.token }}
RELEASE_VERSION: ${{ github.event.inputs.set-release-version }}
name: Check-release
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand All @@ -48,7 +48,7 @@ jobs:
RELEASE_VERSION: ${{ github.event.inputs.set-release-version }}
CHOCOLATEY_TOKEN: ${{ secrets.LEPAPAREIL_CHOCOLATEY_TOKEN }}
name: Push to chocolatey
runs-on: windows-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand All @@ -66,16 +66,16 @@ jobs:
RELEASE_VERSION: ${{ github.event.inputs.set-release-version }}
WINGET_TOKEN: ${{ secrets.LEPAPAREIL_WINGET_TOKEN }}
name: Push to winget
runs-on: windows-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
with:
persist-credentials: true
persist-credentials: true
fetch-depth: 1
ref: ${{ github.event.inputs.set-release-version }}
- name: Push to winget
run: |
Invoke-WebRequest https://aka.ms/wingetcreate/latest -OutFile .\wingetcreate.exe
.\wingetcreate.exe version
.\bin\release\push_package_to_winget.ps1 "$env:RELEASE_VERSION" "$env:WINGET_TOKEN"
.\bin\release\push_package_to_winget.ps1 "$env:RELEASE_VERSION" "$env:WINGET_TOKEN"
48 changes: 24 additions & 24 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ env:

jobs:
package-generic-linux-x64:
runs-on: ubuntu-22.04
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand All @@ -43,7 +43,7 @@ jobs:
which python3
python3 --version
pip --version
- name : Environment
- name: Environment
run: bin/environment.sh
- name: Install rust
run: bin/install_rust.sh
Expand All @@ -67,7 +67,7 @@ jobs:

test-generic-linux-on-docker-ubuntu-x64:
needs: package-generic-linux-x64
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:

test-generic-linux-on-docker-debian-x64:
needs: package-generic-linux-x64
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -173,7 +173,7 @@ jobs:

test-generic-linux-on-docker-archlinux-x64:
needs: package-generic-linux-x64
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand All @@ -190,14 +190,14 @@ jobs:
with:
image: archlinux
options: --volume ${{ github.workspace }}:/work --workdir /work --privileged
# Revert to libxml 2.13.8 that has a soname libxml2.so.2 required by our Ubuntu Hurl build (using `libxml2-legacy` package).
# Starting from libxml 2.14, <https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.0>:
#
# > Binary compatibility is restricted to versions 2.14 or newer. On ELF systems, the soname was bumped from
# > libxml2.so.2 to libxml2.so.16.
#
# We downgrade when testing the Hurl generic package, not when we're building the Hurl package on Arch Linux as the soname
# problem arise only with the generic package.
# Revert to libxml 2.13.8 that has a soname libxml2.so.2 required by our Ubuntu Hurl build (using `libxml2-legacy` package).
# Starting from libxml 2.14, <https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.0>:
#
# > Binary compatibility is restricted to versions 2.14 or newer. On ELF systems, the soname was bumped from
# > libxml2.so.2 to libxml2.so.16.
#
# We downgrade when testing the Hurl generic package, not when we're building the Hurl package on Arch Linux as the soname
# problem arise only with the generic package.
run: |
set -e
echo "::group::Install system prerequisites"
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:

test-generic-linux-on-docker-fedora-x64:
needs: package-generic-linux-x64
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -290,7 +290,7 @@ jobs:
./**/*.log

test-dockerfile-x64:
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -362,7 +362,7 @@ jobs:
./**/*.log

package-generic-linux-aarch64:
runs-on: ubuntu-22.04-arm
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand All @@ -383,7 +383,7 @@ jobs:
which python3
python3 --version
pip --version
- name : Environment
- name: Environment
run: bin/environment.sh
- name: Install rust
run: bin/install_rust.sh
Expand Down Expand Up @@ -414,7 +414,7 @@ jobs:
path: target/upload/*

package-deb-x64:
runs-on: ubuntu-22.04
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -466,7 +466,7 @@ jobs:
path: target/upload/*

package-deb-aarch64:
runs-on: ubuntu-22.04-arm
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -519,7 +519,7 @@ jobs:

package-macos-x64:
timeout-minutes: 60
runs-on: macos-15-intel
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -570,7 +570,7 @@ jobs:

package-macos-aarch64:
timeout-minutes: 60
runs-on: macos-15
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -620,7 +620,7 @@ jobs:
path: target/upload/*

package-windows-x64:
runs-on: windows-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Set git to use LF
run: |
Expand Down Expand Up @@ -685,7 +685,7 @@ jobs:
- package-macos-aarch64
- package-windows-x64
name: package-anatomy
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -721,4 +721,4 @@ jobs:
run: bin/release/package-anatomy.sh artifacts/release-windows-x64-artifacts/hurl-*-x86_64-pc-windows-msvc-installer.exe --compare-with-dir docs/spec/packages
- name: Package windows x64 zip anatomy
if: ${{ always() }}
run: bin/release/package-anatomy.sh artifacts/release-windows-x64-artifacts/hurl-*-x86_64-pc-windows-msvc.zip --compare-with-dir docs/spec/packages
run: bin/release/package-anatomy.sh artifacts/release-windows-x64-artifacts/hurl-*-x86_64-pc-windows-msvc.zip --compare-with-dir docs/spec/packages
11 changes: 5 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
release_version: ${{ steps.set-release-version.outputs.release_version }}
release_branch: ${{ steps.set-release-branch.outputs.release_branch }}
name: set-context
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Check trigger branch
run: |
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.HURL_BOT_TOKEN }}
name: clean-release
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
uses: actions/[email protected]
Expand Down Expand Up @@ -169,7 +169,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}
GITHUB_TOKEN: ${{ secrets.HURL_BOT_TOKEN }}
name: update-release-branch
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout repository
if: github.ref_name == 'master'
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
- update-release-branch
- package-release
name: deliver-github-release
runs-on: ubuntu-latest
runs-on: tenki-standard-medium-4c-8g
steps:
- name: Checkout new release branch
uses: actions/[email protected]
Expand Down Expand Up @@ -349,7 +349,6 @@ jobs:
name: release-sha256-csv
path: release-${{ needs.set-context.outputs.release_version }}.sha256.csv


- name: Deliver release
run: |
echo "::group::Extract CHANGELOG"
Expand Down Expand Up @@ -422,4 +421,4 @@ jobs:
else
echo " - ❌ A problem occurs when attempting to create new pull request."
exit 1
fi
fi
Loading
Loading