Skip to content

Commit

Permalink
1.5-rc1 -> master prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
C02CR2E3ML85 committed Sep 17, 2020
2 parents c4a6e89 + e02ab0d commit 0223849
Show file tree
Hide file tree
Showing 14 changed files with 206 additions and 69 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [macOS-10.14, windows-2016, ubuntu-18.04]
os: [macOS-latest, windows-2016, ubuntu-18.04]

steps:
- name: Context
Expand All @@ -21,23 +21,24 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Use Node.js 8.x
- name: Use Node.js 13.x
uses: actions/setup-node@v1
with:
node-version: 8.x
node-version: 13.x
- name: yarn install
run: |
yarn install
- name: Build
run: |
yarn run build
# - name: Cleanup artifacts
# run: |
# npx rimraf "dist/!(*.exe|*.deb|*.AppImage|*.dmg)"

- name: Upload macOS artifacts
if: matrix.os == 'macOS-10.14'
if: matrix.os == 'macOS-latest'
uses: actions/upload-artifact@v1
with:
name: ${{ matrix.os }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os:
- macOS-10.14
- macOS-latest
#- windows-2016 #until we can figure out cross-platform command line
- ubuntu-18.04

Expand All @@ -24,10 +24,10 @@ jobs:
- uses: actions/checkout@v1
with:
fetch-depth: 1
- name: Use Node.js 8.x
- name: Use Node.js 13.x
uses: actions/setup-node@v1
with:
node-version: 8.x
node-version: 13.x
- name: Install and test
run: |
yarn install
Expand Down
40 changes: 0 additions & 40 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion electron-build.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ builder.build({
ext: "cwl",
name: "CWL"
}],
// afterSign: projectRoot + "/build-scripts/notarize.js",
afterSign: projectRoot + "/build-scripts/notarize.js",
dmg: {
sign: false
}
Expand Down
2 changes: 1 addition & 1 deletion electron/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rabix-composer",
"version": "1.0.2",
"version": "1.5.0-rc1",
"main": "dist/main.js",
"scripts": {
"test": "./node_modules/mocha/bin/_mocha -r ts-node/register ./src/**/*.spec.ts",
Expand Down
File renamed without changes.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rabix-composer",
"version": "1.0.3",
"version": "1.5.0-rc1",
"executorVersion": "1.0.5",
"executorDownloadURL": "https://github.com/rabix/bunny/releases/download/v1.0.5-1/rabix-1.0.5.tar.gz",
"license": "Apache-2.0",
Expand Down Expand Up @@ -59,7 +59,7 @@
"brace": "^0.11.0",
"core-js": "^2.5.3",
"cwl-svg": "2.0.1",
"cwlts": "1.15.29",
"cwlts": "^1.19.2",
"font-awesome": "^4.7.0",
"jquery": "^3.2.1",
"js-yaml": "^3.10.0",
Expand Down Expand Up @@ -107,6 +107,7 @@
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"markdown-it": "^8.3.2",
"node-sass": "^4.13",
"request": "^2.83.0",
"rimraf": "^2.6.1",
"spectron": "^3.7.2",
Expand All @@ -116,4 +117,4 @@
"typescript": "~2.6.2",
"webdriverio": "~4.10.2"
}
}
}
6 changes: 1 addition & 5 deletions src/app/core/data-gateway/data-gateway.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ export class DataGatewayService {
if (parse) {
return fetch.pipe(
map(content => {
try {
return YAML.safeLoad(content, {json: true, onWarning: noop} as any);
} catch (err) {
return new Error(err);
}
return YAML.safeLoad(content, {json: true, onWarning: noop} as any) as string;
})
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/editor-common/app-editor-base/app-editor-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ export abstract class AppEditorBase extends DirectiveBase implements StatusContr

const jobWithAbspaths = appIsLocal ? ensureAbsolutePaths(path.dirname(appID), job) : job;

return executor.execute(appID, this.dataModel, jobWithAbspaths, executorPath, executionParams).pipe(
return executor.execute(appID, appContent, this.dataModel, jobWithAbspaths, executorPath, executionParams).pipe(
finalize(() => this.fileRepository.reloadPath(executionParams.outDir.value))
);
})
Expand Down
3 changes: 1 addition & 2 deletions src/app/execution/services/executor/executor.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,8 @@ export class ExecutorService2 {

}

execute(appID: string, model: WorkflowModel | CommandLineToolModel, jobValue: Object = {}, executorPath: string = "", executionParams: Partial<CWLExecutionParamsConfig> = {}): Observable<any> {
execute(appID: string, appContent: string, model: WorkflowModel | CommandLineToolModel, jobValue: Object = {}, executorPath: string = "", executionParams: Partial<CWLExecutionParamsConfig> = {}): Observable<any> {

const appContent = serializeModel(model, true, false, true);
const executor = new CWLExecutor({ executorPath: executorPath });
const stepList = this.getStepList(model);

Expand Down
2 changes: 1 addition & 1 deletion src/app/layout/action-bar/action-bar.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
$buttonMargins: 2px;
$buttonHeight: $action-bar-height - 2*$borderSize - 2*$buttonMargins;

&:not(".text-inherit") {
&:not(.text-inherit) {
font-size: $font-size-base;
}
padding: 0 $btn-padding-x-sm;
Expand Down
2 changes: 1 addition & 1 deletion src/app/platform-providers/electron-system.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const {shell, webFrame} = window["require"]("electron");
export class ElectronSystemService extends SystemService {

boot() {
webFrame.setZoomLevelLimits(1, 1);
webFrame.setVisualZoomLevelLimits(1, 1);
}

openLink(url: string, event?: MouseEvent) {
Expand Down
4 changes: 4 additions & 0 deletions src/app/repository/platform-repository.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ export class PlatformRepositoryService {


createApp(appID: string, content: string): Promise<string> {

const appContent = Yaml.safeLoad(content, { json: true } as LoadOptions);
content = JSON.stringify(appContent, null, 4);

return this.ipc.request("createPlatformApp", {
id: appID,
content: content
Expand Down
Loading

0 comments on commit 0223849

Please sign in to comment.