diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index abc6201..73793f8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml new file mode 100644 index 0000000..c61fbd3 --- /dev/null +++ b/.github/workflows/nightly.yml @@ -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