forked from CIROH-UA/ngen-datastream
-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (37 loc) · 1.34 KB
/
test_stream.yaml
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
name: Datastream Test
on:
push:
branches:
- main
jobs:
fedora-job:
runs-on: ubuntu-latest
container: fedora:35
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: |
sudo dnf -y update && \
dnf install findutils && \
dnf clean all
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg \
lsb-release
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo systemctl start docker
sudo docker run hello-world
$(pwd)/scripts/install.sh
aws configure set aws_access_key_id ${{ secrets.aws_access_key_id }}
aws configure set aws_secret_access_key ${{ secrets.aws_secret_access_key }}
- name: Test datastream
run: |
$(pwd)/tests/scripts/test_stream.sh -d $(pwd)