Skip to content

Commit 191d6f7

Browse files
committed
ops: add check to ensure test containers build
1 parent 63d8202 commit 191d6f7

File tree

2 files changed

+66
-31
lines changed

2 files changed

+66
-31
lines changed
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
name: Test GraphTally
2+
on:
3+
push:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
# test job requires a full local testnet
9+
# running, and it requires way more memory
10+
# than what actions supports
11+
# test:
12+
# runs-on: ubuntu-latest
13+
# steps:
14+
# - name: Checkout code
15+
# uses: actions/checkout@v3
16+
#
17+
# - name: Set up Docker Buildx # Changed from "Set up Docker" for clarity
18+
# uses: docker/setup-buildx-action@v2
19+
#
20+
# - name: Run make setup
21+
# run: make setup
22+
#
23+
# - name: Run tests
24+
# run: make rav_tests
25+
#
26+
# - name: Tear down containers
27+
# if: always()
28+
# run: make down
29+
30+
build_docker_images:
31+
runs-on: ubuntu-latest
32+
# needs: [] # Runs in parallel with 'test'. Add 'test' here if it should run after 'test' job.
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v3
36+
37+
- name: Set up QEMU # Useful for multi-platform builds, often used with Buildx
38+
uses: docker/setup-qemu-action@v2
39+
40+
- name: Set up Docker Buildx
41+
uses: docker/setup-buildx-action@v2
42+
43+
# Taken from containers.yml, probably not needed
44+
# for building images
45+
# - name: Login to GitHub Container Registry
46+
# uses: docker/login-action@v3
47+
# with:
48+
# registry: ghcr.io
49+
# username: ${{ github.actor }}
50+
# password: ${{ secrets.GITHUB_TOKEN }}
51+
52+
- name: Build indexer-rs image
53+
uses: docker/build-push-action@v5
54+
with:
55+
context: ./contrib/indexer-service
56+
file: ./contrib/indexer-service/Dockerfile
57+
push: false
58+
tags: graphtally/indexer-service:latest
59+
60+
- name: Build tap-agent image
61+
uses: docker/build-push-action@v5
62+
with:
63+
context: ./contrib/tap-agent
64+
file: ./contrib/tap-agent/Dockerfile
65+
push: false
66+
tags: graphtally/tap-agent:latest

.github/workflows/tap_integration_test.yml.disable

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)