Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Tests using github action workflows #51

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/docker-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,19 @@ on:
- master
- mseed

env:
AWSACCESSKEYID: ${{ secrets.AWSACCESSKEYID}}
AWSSECRETACCESSKEY: ${{ secrets.AWSSECRETACCESSKEY }}

jobs:
Docker-tests:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: build base image
run: cd base/amd64 && ./buildamdbase.sh
- name: start containers
run: cd mseed/ && docker-compose up --build
run: ls && cd mseed && docker-compose up --build
- name: clean up containers
run: docker-compose down

4 changes: 2 additions & 2 deletions mseed/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ services:
build: ./
command: tail -F README.md
restart: always
env_file: .env
#env_file: .env
volumes:
- data:/tmp
depends_on:
Expand All @@ -16,7 +16,7 @@ services:
build: ./
command: ./streamfiles.sh
restart: always
env_file: .env
#env_file: .env
volumes:
- data:/tmp
privileged: true
Expand Down