Skip to content

Commit

Permalink
Merge pull request #252 from OctopusDeploy/bp/deb-oldoldstable
Browse files Browse the repository at this point in the history
removed oldoldstable-slim from testing matrix
  • Loading branch information
benPearce1 authored May 11, 2023
2 parents 1f580de + 5755996 commit c3588c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
TAG="octopusdeploy/octo-prerelease:${VERSION}-${PLATFORM}"
LATEST="octopusdeploy/octo-prerelease:latest-${PLATFORM}"
echo "::set-output name=DOCKER_IMAGE_TAG::${TAG}"
echo "DOCKER_IMAGE_TAG=${TAG}" >> $GITHUB_OUTPUT
docker build \
--build-arg OCTO_TOOLS_VERSION=${VERSION} \
Expand Down Expand Up @@ -170,7 +170,6 @@ jobs:
distro: [
'debian:stable-slim',
'debian:oldstable-slim',
'debian:oldoldstable-slim',
'ubuntu:latest',
'ubuntu:focal',
'ubuntu:bionic',
Expand Down Expand Up @@ -274,7 +273,7 @@ jobs:
echo "::debug::${{github.event_name}}"
OUTPUT_FILE="release_notes.txt"
jq --raw-output '.release.body' ${{ github.event_path }} | sed 's#\r# #g' > $OUTPUT_FILE
echo "::set-output name=release-note-file::$OUTPUT_FILE"
echo "release-note-file=$OUTPUT_FILE" >> $GITHUB_OUTPUT
- name: Create a release in Octopus Deploy 🐙
uses: OctopusDeploy/create-release-action@v3
Expand Down
2 changes: 1 addition & 1 deletion BuildAssets/test-linux-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [[ "$OSRELID" == "rhel" && ( -z "$REDHAT_SUBSCRIPTION_USERNAME" || -z "$REDHA
exit 1
fi


# Install the package (with any needed docker config, system registration, dependencies) using a script from 'linux-package-feeds'.

bash ./install-linux-package.sh || exit
Expand All @@ -38,7 +39,6 @@ if [[ "$OSRELID" == "fedora" ]]; then
export DOTNET_BUNDLE_EXTRACT_BASE_DIR=$(pwd)/dotnet-extraction-dir
fi


echo Testing octo.
octo version || exit
OCTO_RESULT="$(octo list-environments --space="$OCTOPUS_SPACE")" || { echo "$OCTO_RESULT"; exit 1; }
Expand Down
6 changes: 5 additions & 1 deletion build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ class Build : NukeBuild

File.WriteAllText(octoVersionText, fullSemVer);
Console.WriteLine($"##[notice]Release version number: {fullSemVer}");
Console.WriteLine($"::set-output name=version::{fullSemVer}");
var outputFile = Environment.GetEnvironmentVariable("GITHUB_OUTPUT");
if (outputFile != null) {
File.AppendAllLines(outputFile, new [] {$"version={fullSemVer}"});
}

});

Target Compile => _ => _
Expand Down

0 comments on commit c3588c5

Please sign in to comment.