Skip to content

Commit f929b84

Browse files
authored
Pre-release cleanup (#47)
* #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
1 parent 2c977cd commit f929b84

File tree

5 files changed

+18
-23
lines changed

5 files changed

+18
-23
lines changed

anaconda-project.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ env_specs:
7070
- python-libarchive-c
7171
- ripgrep
7272
- robotframework
73-
- robotframework-seleniumlibrary
73+
- robotframework-seleniumlibrary >=3.3.0,<4
7474

7575
_lab:
7676
packages:

ci/job.release.yml

Lines changed: 14 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ parameters:
33
vmImage: ubuntu-16.04
44
githubConnection: release-robots-from-jupyter
55
repositoryName: robots-from-jupyter/robotlab
6+
platforms:
7+
- Linux
8+
- MacOSX
9+
- Windows
610
artifact: RobotLab
711
constructors: _artifacts/constructor
812

@@ -11,35 +15,25 @@ jobs:
1115
pool:
1216
vmImage: ${{ parameters.vmImage }}
1317
dependsOn:
14-
- LinuxTest
15-
- MacOSXTest
16-
- WindowsTest
18+
- ${{ each platform in parameters.platforms }}:
19+
- ${{ platform }}Test
1720
- conda_win_test
1821
- conda_noarch_test
1922
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/v'))
2023
steps:
21-
- task: DownloadBuildArtifacts@0
22-
displayName: Fetch Linux Installer
23-
inputs:
24-
artifactName: ${{ parameters.artifact }} For Linux
25-
downloadPath: ${{ parameters.constructors }}
26-
- task: DownloadBuildArtifacts@0
27-
displayName: Fetch MacOSX Installer
28-
inputs:
29-
artifactName: ${{ parameters.artifact }} For MacOSX
30-
downloadPath: ${{ parameters.constructors }}
31-
- task: DownloadBuildArtifacts@0
32-
displayName: Fetch Windows Installer
33-
inputs:
34-
artifactName: ${{ parameters.artifact }} For Windows
35-
downloadPath: ${{ parameters.releaseDir }}
24+
- ${{ each platform in parameters.platforms }}:
25+
- task: DownloadPipelineArtifact@0
26+
displayName: Fetch ${{ platform }} Installer
27+
inputs:
28+
artifactName: ${{ parameters.artifact }} For ${{ platform }}
29+
targetPath: ${{ parameters.constructors }}
3630
- script: find .
37-
displayName: build hashes
31+
displayName: list files before release
3832
- script: cd ${{ parameters.constructors }} && sha256sum * >> SHA256SUMS
3933
displayName: build hashes
4034
- task: GithubRelease@0
4135
inputs:
4236
githubConnection: ${{ parameters.githubConnection }}
4337
repositoryName: ${{ parameters.repositoryName }}
44-
assets: ${{ parameters.constructors }}
38+
assets: ${{ parameters.constructors }}/*
4539
isDraft: true

constructor/construct.yaml.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ company: Robots from Jupyter
44
post_install: post_install.bat [win]
55
post_install: post_install.sh [unix]
66
ignore_duplicate_files: True
7+
license_file: ../LICENSE
78

89
channels_remap:
910
- src: {{ build_channel }}

environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ dependencies:
1616
- python-libarchive-c
1717
- ripgrep
1818
- robotframework
19-
- robotframework-seleniumlibrary
19+
- robotframework-seleniumlibrary >=3.3.0,<4

recipes/robotframework-jupyterlibrary/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ requirements:
2121
- pillow
2222
- python
2323
- robotframework >=3.1
24-
- robotframework-seleniumlibrary >=3.3.0
24+
- robotframework-seleniumlibrary >=3.3.0,<4
2525
- six
2626

2727
test:

0 commit comments

Comments
 (0)