Skip to content
This repository was archived by the owner on Nov 11, 2025. It is now read-only.
Open
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
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build against current HawkBit

on:
pull_request:

jobs:
build-without-push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Smoke build in docker
uses: docker/build-push-action@v3
with:
push: false
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM ubuntu:22.04 AS build

ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y openjdk-11-jdk-headless maven git

WORKDIR /src
RUN git clone https://github.com/eclipse/hawkbit
WORKDIR /src/hawkbit
RUN mvn --quiet --batch-mode --threads 1C dependency:go-offline dependency:resolve-plugins
RUN mvn --quiet --batch-mode --threads 1C --define=skipTests package
RUN mvn --quiet --batch-mode --threads 1C --define=skipTests --offline install

WORKDIR /src/hawkbit-extensions
COPY . .
RUN mvn --quiet --batch-mode --threads 1C dependency:go-offline dependency:resolve-plugins
RUN mvn --quiet --batch-mode --threads 1C package
RUN mvn --quiet --batch-mode --threads 1C --offline install