diff --git a/.buildkite/tagly.yml b/.buildkite/tagly.yml index 023e6dea736..086d39d67f1 100644 --- a/.buildkite/tagly.yml +++ b/.buildkite/tagly.yml @@ -7,11 +7,16 @@ env: TMPDIR: "/cache" steps: - - label: 'Build Docker Image (linux)' - key: build-docker - command: - - "mkdir -p config && echo '{ outputs = _: { dockerHubRepoName = \"cardanofoundation/cardano-wallet\"; }; }' > config/flake.nix" - - "nix build .#pushDockerImage --override-input hostNixpkgs \"path:$(nix eval --impure -I $NIX_PATH --expr '(import {}).path')\" --override-input customConfig path:./config -o docker-build-push" - - "./docker-build-push" + # - label: 'Build Docker Image (linux)' + # key: build-docker + # command: + # - "mkdir -p config && echo '{ outputs = _: { dockerHubRepoName = \"cardanofoundation/cardano-wallet\"; }; }' > config/flake.nix" + # - "nix build .#pushDockerImage --override-input hostNixpkgs \"path:$(nix eval --impure -I $NIX_PATH --expr '(import {}).path')\" --override-input customConfig path:./config -o docker-build-push" + # - "./docker-build-push" + # agents: + # system: x86_64-linux + - label: Run windows tests + key: windows-tests + command: "./scripts/buildkite/run-windows-tests.sh windows.yml $BUILDKITE_TAG" agents: system: x86_64-linux diff --git a/scripts/buildkite/run-windows-tests.sh b/scripts/buildkite/run-windows-tests.sh new file mode 100755 index 00000000000..bf819850112 --- /dev/null +++ b/scripts/buildkite/run-windows-tests.sh @@ -0,0 +1,92 @@ +#! /usr/bin/env bash + +set -euo pipefail + +WORKFLOW_FILE=$1 +echo "Workflow file is $WORKFLOW_FILE" + +REF=$2 +echo "Ref is $REF" + +TOKEN=$GITHUB_TOKEN +GH_USER="cardano-foundation" +REPO="cardano-wallet" + +WORKFLOW_ID=$(tr -dc '0-9'