Skip to content

Commit

Permalink
Merge pull request #62 from roehrich-hpe/release-v0.0.5
Browse files Browse the repository at this point in the history
Release v0.0.5
  • Loading branch information
roehrich-hpe authored Apr 2, 2024
2 parents 9f47041 + 8fb6011 commit 1c7c779
Show file tree
Hide file tree
Showing 17 changed files with 402 additions and 416 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
uses: ./.github/workflows/publish-unit-test.yml
needs: unit-test
if: always()
integration-test:
uses: ./.github/workflows/integration-test.yml
needs: unit-test
publish-integration-test:
uses: ./.github/workflows/publish-integration-test.yml
needs: integration-test
#integration-test:
# uses: ./.github/workflows/integration-test.yml
# needs: unit-test
#publish-integration-test:
# uses: ./.github/workflows/publish-integration-test.yml
# needs: integration-test
16 changes: 8 additions & 8 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json

#
# Copyright 2022 Hewlett Packard Enterprise Development LP
# Copyright 2022-2024 Hewlett Packard Enterprise Development LP
# Other additional copyright holders may be indicated within.
#
# The entirety of this work is licensed under the Apache License,
Expand Down Expand Up @@ -31,7 +31,7 @@ jobs:

# Publish event file if debug is enabled
- name: Publish Event File
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: ${{ runner.debug }}
with:
name: integration-test-event-file
Expand All @@ -41,21 +41,21 @@ jobs:
- name: Get Branch
run: echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV

- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

# Requireed for docker caching
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

# Pre-build slurm image with docker cache. This will also generate an
# inline cache used by the docker build in the "Integration Test" job.
# Docker caches are need to be image and branch scoped. The first build
# on new branches will need to build the image from scratch. Expect 10
# minutes for a full slurm build.
- name: Build Slurm
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: testsuite/submodules/slurm-docker-cluster
push: false
Expand All @@ -69,7 +69,7 @@ jobs:
# Pre-build slurm image with docker cache. Expect 3 minutes for a full
# DWS build.
- name: Build DWS
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: testsuite/submodules/dws
push: false
Expand All @@ -81,7 +81,7 @@ jobs:
# Pre-build dws-test-driver image with docker cache. Expect 2 minutes
# for a full build
- name: Build dws-test-driver
uses: docker/build-push-action@v3
uses: docker/build-push-action@v5
with:
context: testsuite/submodules/dws-test-driver
push: false
Expand All @@ -94,7 +94,7 @@ jobs:
run: cd testsuite/integration && make setup test reports

- name: Publish Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: integration-test-results
path: testsuite/integration/reports
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ on:
jobs:
unit-test:
uses: ./.github/workflows/unit-test.yml
integration-test:
uses: ./.github/workflows/integration-test.yml
needs: unit-test
#integration-test:
# uses: ./.github/workflows/integration-test.yml
# needs: unit-test
2 changes: 1 addition & 1 deletion .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,4 @@ jobs:
format: text
indicators: false
output: console
thresholds: '80 85'
thresholds: '70 85'
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ bash-4.4$ cd /jobs

The `/jobs` directory is mounted into the container from your workarea. You can find it in your workarea at `testsuite/integration/slurm/jobs`. This directory contains a sample job script. Any output files from job scripts will also be stored in this directory. Slurm commands such as `sbatch`, `scontrol`, and `scancel` may be used from this location in the container if run as the `slurm` user.

Watch the Slurm log which includes the log messages from the burst buffer
plugin:

```console
docker logs slurmctld
```

The Slurm `sacct` command, and certain others, will not work in this minimalist Slurm environment.

### Playground shutdown and cleanup
Expand Down
Loading

0 comments on commit 1c7c779

Please sign in to comment.