From b67096636fd6ef518ee624a0797d38d474aeebee Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 27 Jan 2023 21:14:42 +0000 Subject: ci: Fix Docker build for web UI This change fixes the Docker build for the web UI in the release workflow. Previously, the job would fail because the path "opendc-web/opendc-web-ui" couldn't be found. This is due to not checking out the repository beforehand. See https://github.com/docker/build-push-action#usage. --- .github/workflows/publish.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ce25802f..129cc049 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -29,7 +29,6 @@ jobs: with: push: true file: opendc-web/opendc-web-runner/Dockerfile - repository: atlargeresearch/opendc tags: ${{ steps.prep.outputs.tags }} push-api: name: Push API to DockerHub @@ -59,6 +58,8 @@ jobs: name: Push UI to DockerHub runs-on: ubuntu-22.04 steps: + - name: Checkout repository + uses: actions/checkout@v3 - name: Prepare id: prep run: | -- cgit v1.2.3 From 8a9c9638c51d6b2834ac5d57585b7814f5a9d698 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 27 Jan 2023 21:22:59 +0000 Subject: build: Allow version to be overridable This change updates the Gradle configuration to allow the user to overide the version number OpenDC will use when producing the build artifacts. --- build.gradle.kts | 3 +++ gradle.properties | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 42a7f366..1a64b77e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,3 +24,6 @@ plugins { `dokka-conventions` `jacoco-aggregation` } + +group = "org.opendc" +version = "3.0-SNAPSHOT" diff --git a/gradle.properties b/gradle.properties index 99952a92..06c56148 100644 --- a/gradle.properties +++ b/gradle.properties @@ -20,9 +20,6 @@ # SOFTWARE. # -group = org.opendc -version = 3.0-SNAPSHOT - # For Dokka https://github.com/Kotlin/dokka/issues/1405 org.gradle.jvmargs=-XX:MaxMetaspaceSize=2G -- cgit v1.2.3 From c31c80293f27ad474a2b9525e82e535b5a9076ae Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 27 Jan 2023 21:31:44 +0000 Subject: docs: Update latest release in documentation This change updates the documentation to mention the most recent release candidate of OpenDC, in order to point students in the correct direction. --- README.md | 6 +++--- site/docs/getting-started/0-installation.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a82848bb..be09e2a7 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@ Collaborative Datacenter Simulation and Exploration for Everybody [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](/LICENSE.txt) -[![Documentation](https://img.shields.io/badge/docs-master-green.svg)](https://opendc.org) -[![GitHub release](https://img.shields.io/github/release/atlarge-research/opendc)](https://github.com/atlarge-research/opendc/releases) +[![Documentation](https://img.shields.io/badge/docs-master-green.svg)](https://atlarge-research.github.io/opendc) +[![GitHub release](https://img.shields.io/github/v/release/atlarge-research/opendc?include_prereleases)](https://github.com/atlarge-research/opendc/releases) [![Build](https://github.com/atlarge-research/opendc/actions/workflows/build.yml/badge.svg)](https://github.com/atlarge-research/opendc/actions/workflows/build.yml) ----- @@ -18,7 +18,7 @@ This repository is the home of the OpenDC project, a free and open-source platfo ## Latest Release - General Availability (GA): [OpenDC v2.0](https://github.com/atlarge-research/opendc/releases/tag/v2.0) (May 10, 2021) -- Preview (Release Candidate): n/a +- Preview (Release Candidate): [OpenDC v3.0-rc1](https://github.com/atlarge-research/opendc/releases/tag/v3.0-rc1) (Jan 27, 2023) ## Documentation diff --git a/site/docs/getting-started/0-installation.md b/site/docs/getting-started/0-installation.md index 9b9b0e82..e0e944cc 100644 --- a/site/docs/getting-started/0-installation.md +++ b/site/docs/getting-started/0-installation.md @@ -20,7 +20,7 @@ quicker. ## Download -To get an OpenDC distribution, download a recent stable version from our [Releases](https://github.com/atlarge-research/opendc/releases) +To get an OpenDC distribution, download a recent version from our [Releases](https://github.com/atlarge-research/opendc/releases) page on GitHub. ## Setup -- cgit v1.2.3