Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

[DEVOPS-1113] Buildkite: Add Windows build #3880

Merged
merged 1 commit into from
Nov 21, 2018

Conversation

rvl
Copy link
Contributor

@rvl rvl commented Nov 21, 2018

Description

This is a squash of the changes in #3802, without deleting appveyor.yml, without the setup script, and with ghc 8.2.2 instead of 8.4.4.

Linked issue

https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-1113
https://iohk.myjetbrains.com/youtrack/issue/DEVOPS-1138

Type of change

  • Build system improvement

QA Steps

  1. Daedalus should build on AppVeyor using the artifact from this build.
  2. The resulting Daedalus installer for windows should pass smoke tests.

@rvl rvl requested a review from a team November 21, 2018 02:02
@rvl rvl force-pushed the devops-1113-buildkite-windows-release branch from 9d7c8bd to e947292 Compare November 21, 2018 02:07
Copy link
Contributor

@angerman angerman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Some minor suggestions.

.buildkite/windows.ps1 Show resolved Hide resolved
.buildkite/windows.ps1 Show resolved Hide resolved
.buildkite/windows.ps1 Show resolved Hide resolved
@angerman
Copy link
Contributor

Hmm... not so fast I guess:


copy : Cannot find path 'D:\w\cardano-launcher.exe' because it does not exist.
--
  | At D:\buildkite-agent\builds\buildkite-aws-win2016-1\input-output-hk\cardano-sl
  | \.buildkite\windows.ps1:85 char:1
  | + copy cardano-launcher.exe daedalus\
  | + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  | + CategoryInfo          : ObjectNotFound: (D:\w\cardano-launcher.exe:Strin
  | g) [Copy-Item], ItemNotFoundException
  | + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.CopyI
  | temCommand


copy log-configs\daedalus.yaml daedalus\log-config-prod.yaml
copy lib\configuration.yaml daedalus\
copy lib\*genesis*.json daedalus\
copy cardano-launcher.exe daedalus\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are we in $env:WORK_DIR?
Can we do copy $env:WORK_DIR\cardano-launcher.exe daedalus\?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we are in $env:WORK_DIR but I don't want to touch this bit because it works and produces a zip with the expected layout.

This is a squash of the changes on the buildkite/windows branch,
without deleting appveyor.yml, without the setup script,
and with ghc 8.2.2 instead of 8.4.4.

Original authors:
  Jacob Mitchell <jacob.mitchell@iohk.io>
  Samuel Leathers <samuel.leathers@iohk.io>
  Rodney Lorrimar <rodney.lorrimar@iohk.io>
@rvl rvl force-pushed the devops-1113-buildkite-windows-release branch from e947292 to a312801 Compare November 21, 2018 02:39
@angerman
Copy link
Contributor

Also, are the ~6min buidkite/windows build seem suspicious. Shouldn't a full build take much much longer?

@rvl
Copy link
Contributor Author

rvl commented Nov 21, 2018

Thanks - I force-pushed the review fixes. The build failed quickly in 6 minutes because I accidentally left a ghc-8.4.4 option on the build command line.

@rvl rvl merged commit 9869106 into release/2.0.0 Nov 21, 2018
@rvl rvl deleted the devops-1113-buildkite-windows-release branch November 21, 2018 04:13
@KtorZ KtorZ mentioned this pull request Jan 4, 2019
12 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants