Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,15 @@ jobs:
container:
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install git for checkout action
run: dnf install -y git
- uses: actions/checkout@v4
with:
path: loopdev-3
- name: Install dependencies for Fedora
run: >
dnf install -y
curl
git
make
openssl-devel
python-requests
Expand All @@ -84,14 +87,18 @@ jobs:
components: cargo
toolchain: 1.86.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Check out ci repo
run: git clone https://github.com/stratis-storage/ci.git
- name: Run comparisons of version specs with available Fedora packages
uses: actions/checkout@v4
with:
path: ci
repository: stratis-storage/ci
- name: Run comparisons of version specs with Fedora packages
# yamllint disable rule:line-length
run: |
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f41 IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f40 IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
working-directory: ./ci/dependency_management
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f41 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f40 IGNORE_ARGS="--ignore-category low" make -f Makefile check-fedora-versions
working-directory: loopdev-3

yamllint:
runs-on: ubuntu-22.04
Expand Down
46 changes: 46 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
name: loopdev-3 nightly

# yamllint disable-line rule:truthy
on:
schedule:
- cron: 5 3 * * *

workflow_dispatch:

jobs:
checks-with-ci-repo:
runs-on: ubuntu-22.04
container:
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
steps:
- name: Install git for checkout action
run: dnf install -y git
- uses: actions/checkout@v4
with:
path: loopdev-3
- name: Install dependencies for Fedora
run: >
dnf install -y
curl
make
openssl-devel
python-requests
python-semantic_version
- uses: dtolnay/rust-toolchain@master
with:
components: cargo
toolchain: 1.86.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
- name: Check out ci repo
uses: actions/checkout@v4
with:
path: ci
repository: stratis-storage/ci
- name: Run comparisons of version specs with Fedora packages
# yamllint disable rule:line-length
run: |
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f41 make -f Makefile check-fedora-versions
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f40 make -f Makefile check-fedora-versions
working-directory: loopdev-3
Loading