Skip to content

Commit

Permalink
add nabu integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Loftus committed Feb 19, 2025
1 parent c5b8a9a commit c2c3f98
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/nabu_integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Test Nabu Integration

on:
workflow_dispatch: # Allows manual triggering of the workflow
push:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
build-and-push-temp-image:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Generate Unique Image Tag
id: vars
run: echo "tag=tmp-${{ github.sha }}" >> $GITHUB_ENV

- name: Build and Push Docker Image
uses: docker/build-push-action@v4
with:
context: .
push: true
tags: internetofwater/gleaner:${{ env.tag }}

- name: "Run Geoconnex Scheduler to simulate a full crawl"
uses: internetofwater/nabu@master
with:
gleaner_image: internetofwater/gleaner:${{ env.tag }}


0 comments on commit c2c3f98

Please sign in to comment.