-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (40 loc) · 1.24 KB
/
sfss.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: SFSS
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
sfss-debian:
runs-on: ubuntu-latest
steps:
- name: Install SFSS deb
run: |
set -x
wget https://linux.dell.com/files/SANdbox/1.1.0/sfss-1.1.0.0038.deb.zip
unzip sfss-1.1.0.0038.deb.zip
sudo dpkg -i sfss-1.1.0.0038.deb
- name: Test SFSS deb
run: echo "TBD"
sfss-compose:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
# Workaround: https://github.com/docker/build-push-action/issues/461
- name: Setup Docker buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226
- name: Start containers
run: docker-compose up -d
working-directory: "Centralized Discovery Controller (CDC)/SFSS"
- name: Logs
if: always() # TODO: replace with failure going forward
run: docker-compose logs
working-directory: "Centralized Discovery Controller (CDC)/SFSS"
- name: Stop containers
if: always()
run: docker-compose down
working-directory: "Centralized Discovery Controller (CDC)/SFSS"