Skip to content

Commit 49d2563

Browse files
authored
Merge pull request #44 from mulkieran/update-Fedora-release-for-dependency-checks
Update Fedora checks for dependency versions
2 parents 07ffb5d + c52f225 commit 49d2563

File tree

2 files changed

+60
-7
lines changed

2 files changed

+60
-7
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,15 @@ jobs:
6969
container:
7070
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
7171
steps:
72+
- name: Install git for checkout action
73+
run: dnf install -y git
7274
- uses: actions/checkout@v4
75+
with:
76+
path: loopdev-3
7377
- name: Install dependencies for Fedora
7478
run: >
7579
dnf install -y
7680
curl
77-
git
7881
make
7982
openssl-devel
8083
python-requests
@@ -84,14 +87,18 @@ jobs:
8487
components: cargo
8588
toolchain: 1.86.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
8689
- name: Check out ci repo
87-
run: git clone https://github.com/stratis-storage/ci.git
88-
- name: Run comparisons of version specs with available Fedora packages
90+
uses: actions/checkout@v4
91+
with:
92+
path: ci
93+
repository: stratis-storage/ci
94+
- name: Run comparisons of version specs with Fedora packages
8995
# yamllint disable rule:line-length
9096
run: |
91-
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=rawhide IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
92-
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f41 IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
93-
COMPARE_FEDORA_VERSIONS=./compare_fedora_versions MANIFEST_PATH=../../Cargo.toml FEDORA_RELEASE=f40 IGNORE_ARGS="--ignore-category low" make -f ../../Makefile check-fedora-versions
94-
working-directory: ./ci/dependency_management
97+
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
98+
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
99+
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
100+
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
101+
working-directory: loopdev-3
95102

96103
yamllint:
97104
runs-on: ubuntu-22.04

.github/workflows/nightly.yml

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
name: loopdev-3 nightly
3+
4+
# yamllint disable-line rule:truthy
5+
on:
6+
schedule:
7+
- cron: 5 3 * * *
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
checks-with-ci-repo:
13+
runs-on: ubuntu-22.04
14+
container:
15+
image: fedora:40 # CURRENT DEVELOPMENT ENVIRONMENT
16+
steps:
17+
- name: Install git for checkout action
18+
run: dnf install -y git
19+
- uses: actions/checkout@v4
20+
with:
21+
path: loopdev-3
22+
- name: Install dependencies for Fedora
23+
run: >
24+
dnf install -y
25+
curl
26+
make
27+
openssl-devel
28+
python-requests
29+
python-semantic_version
30+
- uses: dtolnay/rust-toolchain@master
31+
with:
32+
components: cargo
33+
toolchain: 1.86.0 # CURRENT DEVELOPMENT RUST TOOLCHAIN
34+
- name: Check out ci repo
35+
uses: actions/checkout@v4
36+
with:
37+
path: ci
38+
repository: stratis-storage/ci
39+
- name: Run comparisons of version specs with Fedora packages
40+
# yamllint disable rule:line-length
41+
run: |
42+
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=rawhide make -f Makefile check-fedora-versions
43+
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f42 make -f Makefile check-fedora-versions
44+
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f41 make -f Makefile check-fedora-versions
45+
COMPARE_FEDORA_VERSIONS=$GITHUB_WORKSPACE/ci/dependency_management/compare_fedora_versions FEDORA_RELEASE=f40 make -f Makefile check-fedora-versions
46+
working-directory: loopdev-3

0 commit comments

Comments
 (0)