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

Migrated to GitHub actions #30

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: Gradle

on:
push:
pull_request:

jobs:
build:
strategy:
matrix:
java: [8, 11, 17, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'
- name: Run commands
run: |
./gradlew build
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: omero-ms-thumbnail ${{ matrix.java }}
path: build/distributions/*
79 changes: 0 additions & 79 deletions .github/workflows/dockerpublish.yml

This file was deleted.

54 changes: 0 additions & 54 deletions Dockerfile

This file was deleted.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[![AppVeyor status](https://ci.appveyor.com/api/projects/status/github/omero-ms-thumbnail)](https://ci.appveyor.com/project/gs-jenkins/omero-ms-thumbnail)

OMERO Thumbnail Microservice
============================

Expand Down Expand Up @@ -30,9 +28,11 @@ workflow::
Build Artifacts
===============

The latest artifacts, built by AppVeyor, can be found here::
The latest release artifacts are available as assets from
https://github.com/glencoesoftware/omero-ms-thumbnail/releases.

* https://ci.appveyor.com/project/gs-jenkins/omero-ms-thumbnail/build/artifacts
The latest CI artifacts built by GitHub Actions can be downloaded from
https://github.com/glencoesoftware/omero-ms-thumbnail/actions.

Configuring and Running the Server
==================================
Expand Down
10 changes: 0 additions & 10 deletions appveyor.yml

This file was deleted.

9 changes: 8 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,16 @@ dependencies {
jar {
manifest {
attributes(
"Created-By": "Gradle ${gradle.gradleVersion}",
"Build-Jdk": "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})",
"Built-By": System.properties['user.name'],
"Built-On": new java.text.SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()),
"Implementation-Build": "git rev-parse --verify HEAD".execute().getText().trim(),
"Implementation-Title": "OMERO Thumbnail Microservice",
"Implementation-Version": archiveVersion,
"Implementation-Vendor": "Glencoe Software Inc.",
"Main-Class": mainClassName,
"Main-Verticle": "com.glencoesoftware.omero.ms.thumbnail.ThumbnailMicroserviceVerticle",
"Implementation-Version": archiveVersion
)
}
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
3 changes: 2 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading