Skip to content

Commit

Permalink
Revert "chore(stack)!: Temporarily disable Stack in Dockerfile-legacy…
Browse files Browse the repository at this point in the history
… and tests"

This reverts commit fc77b1c.

Signed-off-by: Martin Nonnenmacher <[email protected]>
  • Loading branch information
mnonnenmacher authored and sschuberth committed Nov 20, 2023
1 parent a9bd271 commit 8bf89ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Dockerfile-legacy
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ RUN /opt/ort/bin/export_proxy_certificates.sh /tmp/certificates/ && \
# Install golang in order to have `go mod` as package manager.
curl -ksS https://dl.google.com/go/go$GO_VERSION.linux-amd64.tar.gz | tar -C /opt -xz && \
curl -ksS https://raw.githubusercontent.com/golang/dep/v$GO_DEP_VERSION/install.sh | sh && \
# Temporarily disable installation of Stack as GitHub runners are running out of disk space.
#curl -ksS https://raw.githubusercontent.com/commercialhaskell/stack/v$HASKELL_STACK_VERSION/etc/scripts/get-stack.sh | sh && \
curl -ksS https://raw.githubusercontent.com/commercialhaskell/stack/v$HASKELL_STACK_VERSION/etc/scripts/get-stack.sh | sh && \
mkdir -p $SWIFT_HOME && \
curl -L https://download.swift.org/swift-$SWIFT_VERSION-release/ubuntu2204/swift-$SWIFT_VERSION-RELEASE/swift-$SWIFT_VERSION-RELEASE-ubuntu22.04.tar.gz \
| tar -xz -C $SWIFT_HOME --strip-components=2 && \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ import org.ossreviewtoolkit.utils.test.matchExpectedResult

class StackFunTest : WordSpec({

Check warning on line 32 in plugins/package-managers/stack/src/funTest/kotlin/StackFunTest.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Unused symbol

Class "StackFunTest" is never used
"Resolving project dependencies" should {
// TODO: Tests are temporarily disabled as GitHub runners are running out of disk space. Enable them again once
// a better solution was implemented.
"succeed for quickcheck-state-machine".config(enabled = false) {
"succeed for quickcheck-state-machine" {
val definitionFile = getAssetFile("projects/external/quickcheck-state-machine/stack.yaml")
val suffix = "-windows".takeIf { Os.isWindows }.orEmpty()
val expectedResultFile = getAssetFile(
Expand All @@ -45,7 +43,7 @@ class StackFunTest : WordSpec({
result.toYaml() should matchExpectedResult(expectedResultFile)
}

"succeed for stack-yesodweb-simple".config(enabled = false) {
"succeed for stack-yesodweb-simple" {
val definitionFile = getAssetFile("projects/synthetic/stack-yesodweb-simple/stack.yaml")
val expectedResultFile = getAssetFile("projects/synthetic/stack-yesodweb-simple-expected-output.yml")

Expand Down

0 comments on commit 8bf89ad

Please sign in to comment.