Skip to content

Commit ed99181

Browse files
authored
Merge pull request #152 from glimchb/patch-1
ci: adding test using mockup server
2 parents 42319e3 + 1390361 commit ed99181

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.github/workflows/docker.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Docker
2+
on: [push, pull_request]
3+
4+
jobs:
5+
test:
6+
runs-on: ubuntu-latest
7+
services:
8+
bmc:
9+
image: docker.io/dmtf/redfish-mockup-server:latest
10+
ports:
11+
- 8000:8000
12+
steps:
13+
- uses: actions/checkout@v4
14+
- uses: docker/setup-qemu-action@v3
15+
- uses: docker/[email protected]
16+
- name: Start containers
17+
run: docker run --rm --network=host docker.io/dmtf/redfish-tacklebox:latest rf_manager_config.py --user root --password 123 --rhost http://localhost:8000

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Copyright 2019-2024 DMTF. All rights reserved.
66
[![PyPI](https://img.shields.io/pypi/v/redfish-utilities)](https://pypi.org/project/redfish-utilities/)
77
[![Pulls](https://img.shields.io/docker/pulls/dmtf/redfish-tacklebox?style=flat&logo=docker&label=Pulls)](https://hub.docker.com/r/dmtf/redfish-tacklebox)
88
[![Linters](https://github.com/DMTF/Redfish-Tacklebox/actions/workflows/linters.yml/badge.svg)](https://github.com/DMTF/Redfish-Tacklebox/actions/workflows/linters.yml)
9+
[![Docker](https://github.com/DMTF/Redfish-Tacklebox/actions/workflows/docker.yml/badge.svg)](https://github.com/DMTF/Redfish-Tacklebox/actions/workflows/docker.yml)
910
[![GitHub stars](https://img.shields.io/github/stars/DMTF/Redfish-Tacklebox.svg?style=flat-square&label=github%20stars)](https://github.com/DMTF/Redfish-Tacklebox)
1011
[![GitHub Contributors](https://img.shields.io/github/contributors/DMTF/Redfish-Tacklebox.svg?style=flat-square)](https://github.com/DMTF/Redfish-Tacklebox/graphs/contributors)
1112

0 commit comments

Comments
 (0)