Skip to content

Commit

Permalink
Pre-release cleanup (#47)
Browse files Browse the repository at this point in the history
* #16: fix windows fetch paramter, use each

* #16: fix platform list

* #16: use pipeline (not build) artifact

* #16: start assets

* pin robotframework-seleniumlibrary

* #43: get license into constructor
  • Loading branch information
bollwyvl authored Sep 20, 2019
1 parent 2c977cd commit f929b84
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 23 deletions.
2 changes: 1 addition & 1 deletion anaconda-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ env_specs:
- python-libarchive-c
- ripgrep
- robotframework
- robotframework-seleniumlibrary
- robotframework-seleniumlibrary >=3.3.0,<4

_lab:
packages:
Expand Down
34 changes: 14 additions & 20 deletions ci/job.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ parameters:
vmImage: ubuntu-16.04
githubConnection: release-robots-from-jupyter
repositoryName: robots-from-jupyter/robotlab
platforms:
- Linux
- MacOSX
- Windows
artifact: RobotLab
constructors: _artifacts/constructor

Expand All @@ -11,35 +15,25 @@ jobs:
pool:
vmImage: ${{ parameters.vmImage }}
dependsOn:
- LinuxTest
- MacOSXTest
- WindowsTest
- ${{ each platform in parameters.platforms }}:
- ${{ platform }}Test
- conda_win_test
- conda_noarch_test
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
steps:
- task: DownloadBuildArtifacts@0
displayName: Fetch Linux Installer
inputs:
artifactName: ${{ parameters.artifact }} For Linux
downloadPath: ${{ parameters.constructors }}
- task: DownloadBuildArtifacts@0
displayName: Fetch MacOSX Installer
inputs:
artifactName: ${{ parameters.artifact }} For MacOSX
downloadPath: ${{ parameters.constructors }}
- task: DownloadBuildArtifacts@0
displayName: Fetch Windows Installer
inputs:
artifactName: ${{ parameters.artifact }} For Windows
downloadPath: ${{ parameters.releaseDir }}
- ${{ each platform in parameters.platforms }}:
- task: DownloadPipelineArtifact@0
displayName: Fetch ${{ platform }} Installer
inputs:
artifactName: ${{ parameters.artifact }} For ${{ platform }}
targetPath: ${{ parameters.constructors }}
- script: find .
displayName: build hashes
displayName: list files before release
- script: cd ${{ parameters.constructors }} && sha256sum * >> SHA256SUMS
displayName: build hashes
- task: GithubRelease@0
inputs:
githubConnection: ${{ parameters.githubConnection }}
repositoryName: ${{ parameters.repositoryName }}
assets: ${{ parameters.constructors }}
assets: ${{ parameters.constructors }}/*
isDraft: true
1 change: 1 addition & 0 deletions constructor/construct.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ company: Robots from Jupyter
post_install: post_install.bat [win]
post_install: post_install.sh [unix]
ignore_duplicate_files: True
license_file: ../LICENSE

channels_remap:
- src: {{ build_channel }}
Expand Down
2 changes: 1 addition & 1 deletion environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ dependencies:
- python-libarchive-c
- ripgrep
- robotframework
- robotframework-seleniumlibrary
- robotframework-seleniumlibrary >=3.3.0,<4
2 changes: 1 addition & 1 deletion recipes/robotframework-jupyterlibrary/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ requirements:
- pillow
- python
- robotframework >=3.1
- robotframework-seleniumlibrary >=3.3.0
- robotframework-seleniumlibrary >=3.3.0,<4
- six

test:
Expand Down

0 comments on commit f929b84

Please sign in to comment.