Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.19 to next (2nd go) #1509

Merged
merged 194 commits into from Oct 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
497b78f
Working copy
katelynienaber Aug 2, 2021
dc2492b
Merge branch 'master' into fix-integration-tests
katelynienaber Aug 2, 2021
f79d2f9
Fixes for Billie
katelynienaber Aug 3, 2021
eb43c82
Merge branch 'fix-integration-tests' of https://github.com/zowe/vscod…
katelynienaber Aug 3, 2021
d157e6e
Merge branch 'master' into fix-integration-tests
katelynienaber Aug 3, 2021
6ceaa78
Nice copy of integration test improvements
katelynienaber Aug 5, 2021
981502e
Removing integration test pre/post-scripts from package.json
katelynienaber Aug 5, 2021
7df5029
Updates to docs related to running integration tests
katelynienaber Aug 5, 2021
3e04199
Adding tar to resolutions
katelynienaber Aug 5, 2021
8863939
Merge branch 'master' into integration-test-improvements
JillieBeanSim Aug 5, 2021
c5c9c0a
Merge branch 'master' into integration-test-improvements
JillieBeanSim Aug 5, 2021
2ee3378
Merge branch 'master' into integration-test-improvements
katelynienaber Aug 9, 2021
1404d66
WIP Imperative logger for extenders
katelynienaber Aug 10, 2021
4d88018
Working copy :)
katelynienaber Aug 10, 2021
f2d6d71
Fix lint
katelynienaber Aug 10, 2021
a0cf27e
Changing name of IZoweError to IZoweMessage, changing type a bit
katelynienaber Aug 10, 2021
76e8f38
Few more name changes & simplifications
katelynienaber Aug 10, 2021
b2ac037
Finished limiting command appearance on multi-select
katelynienaber Aug 12, 2021
d0d5d35
Merge branch 'master' into integration-test-improvements
JillieBeanSim Aug 12, 2021
369060e
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 12, 2021
3d22873
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Aug 13, 2021
dcadb16
Adding examples
katelynienaber Aug 13, 2021
daf89f0
Merge remote-tracking branch 'refs/remotes/origin/imperative-logger-f…
katelynienaber Aug 13, 2021
a408c82
Merge branch 'master' of https://github.com/zowe/vscode-extension-for…
katelynienaber Aug 13, 2021
be6d37d
WIP
katelynienaber Aug 13, 2021
2919133
validate profile and credential
tiantn Aug 17, 2021
25fac5c
Added Zowe CLI dependency to API package
phaumer Aug 17, 2021
f09197a
reminder added to pr template
JillieBeanSim Aug 17, 2021
1270ef2
Removed ^ from dependency to avoid conflicts
phaumer Aug 18, 2021
ae153a5
Merge branch 'v1.18.x' into dependabot/npm_and_yarn/path-parse-1.0.7
jellypuno Aug 19, 2021
43f9378
Merge pull request #1445 from zowe/added-cli-dependency-to-api
lauren-li Aug 19, 2021
066d679
Merge branch 'v1.18.x' into integration-test-improvements
jellypuno Aug 19, 2021
e4fe6ac
Merge branch 'v1.18.x' into fix-release-issue
jellypuno Aug 19, 2021
4074451
Merge branch 'v1.18.x' into dependabot/npm_and_yarn/path-parse-1.0.7
lauren-li Aug 19, 2021
8d7b25c
Merge branch 'v1.18.x' into pr-template-next-reminder
jellypuno Aug 19, 2021
7154d21
Merge pull request #1446 from zowe/pr-template-next-reminder
jellypuno Aug 19, 2021
76bafbe
Merge branch 'v1.18.x' into dependabot/npm_and_yarn/path-parse-1.0.7
lauren-li Aug 19, 2021
2023429
Merge pull request #1441 from zowe/dependabot/npm_and_yarn/path-parse…
lauren-li Aug 19, 2021
43e434f
Merge branch 'v1.18.x' into integration-test-improvements
zFernand0 Aug 20, 2021
9a4fa9e
Merge pull request #1430 from zowe/integration-test-improvements
jellypuno Aug 20, 2021
81c834f
1.18.1 doc updates
IgorCATech Aug 23, 2021
c07c03d
Merge branch 'v1.18.x' into fix-release-issue
katelynienaber Aug 24, 2021
70328fb
minor edit. thanks Lauren
IgorCATech Aug 24, 2021
cf45371
removing an item
IgorCATech Aug 24, 2021
9b19c0a
Removing changes from multi-select
katelynienaber Aug 24, 2021
6be9465
Adding back 2 scripts
katelynienaber Aug 24, 2021
799c022
formatting issue fix
IgorCATech Aug 24, 2021
de64f03
hyperlink fix
IgorCATech Aug 24, 2021
9ea1c9d
cli into @zowe/cli
IgorCATech Aug 24, 2021
a7e0623
Merge pull request #1442 from zowe/fix-release-issue
jellypuno Aug 24, 2021
8aa3757
Merge pull request #1451 from zowe/(doc)1.18.1-upd
lauren-li Aug 24, 2021
e9d5b5b
Revert "(Docs) Update Readme and Changelog for 1.18.1"
lauren-li Aug 24, 2021
b623e17
Merge branch 'v1.18.x' into (doc)1.18.1-upd
jellypuno Aug 24, 2021
580951f
Merge pull request #1452 from zowe/(doc)1.18.1-upd
jellypuno Aug 24, 2021
aee49ac
Merge pull request #1453 from zowe/revert-1451-(doc)1.18.1-upd
jellypuno Aug 24, 2021
61ddadf
Prepare for 1.18.1 release
lauren-li Aug 24, 2021
82078dc
Merge pull request #1454 from zowe/v1.18.1
jellypuno Aug 24, 2021
853f184
Merge branch 'master' into v1.18.x
jellypuno Aug 24, 2021
0e7fe39
Merge pull request #1455 from zowe/v1.18.x
jellypuno Aug 24, 2021
18b48f2
Fix for version compare step?
katelynienaber Aug 24, 2021
397d922
Add 1.18.1 updates as a subsection on Readme
lauren-li Aug 25, 2021
62d81c6
Cleanup commit history & signoff
katelynienaber Aug 26, 2021
de3b2bb
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Aug 26, 2021
7719c3f
Fixes for Fernando
katelynienaber Aug 26, 2021
47a9b54
Merge pull request #1459 from zowe/add-changelog-updates-v2
jellypuno Aug 26, 2021
4b96660
Make the darn thing upload the VSIX
katelynienaber Aug 26, 2021
bbbbb80
Merge pull request #1461 from zowe/v1.18.x
jellypuno Aug 26, 2021
d6f995f
Merge branch 'v1.18.x' into pipeline-fx
jellypuno Aug 26, 2021
817286b
Merge pull request #1460 from zowe/pipeline-fx
jellypuno Aug 26, 2021
c82b5b8
Merge pull request #1462 from zowe/v1.18.x
jellypuno Aug 26, 2021
0fb9e23
move archive logic up
zFernand0 Aug 26, 2021
b83ed64
remove eslint package
zFernand0 Aug 26, 2021
4f15d66
prodce changelog output regardless if there is a new versio nor not
zFernand0 Aug 26, 2021
a4bb40c
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Aug 27, 2021
17ee104
Adding changes to Error Handling.md to support the new API
katelynienaber Aug 27, 2021
16d681d
Merge branch 'master' into loggerApiDocumentation
katelynienaber Aug 27, 2021
4997a5b
add check to deployment for `SNAPSHOT` in version name
JillieBeanSim Aug 27, 2021
9ffba6b
Small changes to error message format
katelynienaber Aug 31, 2021
ea8bd82
Merge pull request #1468 from zowe/prerelease-version-snapshot
jellypuno Aug 31, 2021
56a1d60
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Aug 31, 2021
2a8550c
version bump added check for 'SNAPSHOT' in version
JillieBeanSim Aug 31, 2021
d619500
Merge branch 'master' into quick-fix
JillieBeanSim Aug 31, 2021
7357e87
audit fix, bump tar resolution from 6.1.2 to 6.1.9
JillieBeanSim Aug 31, 2021
3aa4508
Merge branch 'master' into loggerApiDocumentation
katelynienaber Sep 1, 2021
094bb8e
Added error severity section
katelynienaber Sep 1, 2021
2a0da93
Moved file ZoweVscodeExtension to folder vscode...fixed audit
katelynienaber Sep 1, 2021
bb3aae1
Merge pull request #1463 from zowe/quick-fix
jellypuno Sep 1, 2021
ababccd
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Sep 1, 2021
5f8e363
Merge branch 'master' into loggerApiDocumentation
katelynienaber Sep 1, 2021
e201df7
update check for SNAPSHOT in version bump check
JillieBeanSim Sep 1, 2021
137c8a4
fix syntax
JillieBeanSim Sep 1, 2021
f279521
Merge branch 'master' into quick-fix-pt2
JillieBeanSim Sep 1, 2021
6f1351e
running test
JillieBeanSim Sep 1, 2021
830d1bb
Merge pull request #1467 from zowe/loggerApiDocumentation
JillieBeanSim Sep 1, 2021
1ef33cf
Merge branch 'master' into quick-fix-pt2
JillieBeanSim Sep 1, 2021
baaf6f3
test
JillieBeanSim Sep 1, 2021
eb06a05
Merge branch 'quick-fix-pt2' of https://github.com/zowe/vscode-extens…
JillieBeanSim Sep 1, 2021
86b5f0a
moving one more file
katelynienaber Sep 1, 2021
7b27e38
test2
JillieBeanSim Sep 1, 2021
cb64946
test3
JillieBeanSim Sep 1, 2021
fc39cc5
test4
JillieBeanSim Sep 1, 2021
afb30d7
test5
JillieBeanSim Sep 1, 2021
8ce2081
test6
JillieBeanSim Sep 1, 2021
7135530
test7
JillieBeanSim Sep 1, 2021
da011fe
test8
JillieBeanSim Sep 1, 2021
f6df20d
cleanup
JillieBeanSim Sep 1, 2021
72be53d
Merge branch 'master' into imperative-logger-for-extenders
katelynienaber Sep 1, 2021
c956146
Merge branch 'master' into validate-profile
lauren-li Sep 2, 2021
9c41235
Merge pull request #1443 from tiantn/validate-profile
lauren-li Sep 2, 2021
8c67aaa
Merge branch 'master' into quick-fix-pt2
JillieBeanSim Sep 2, 2021
6f9c644
Merge pull request #1475 from zowe/quick-fix-pt2
jellypuno Sep 2, 2021
571c503
Merge branch 'master' into imperative-logger-for-extenders
jellypuno Sep 2, 2021
3920146
Changes for Jelly :)
katelynienaber Sep 2, 2021
6d65639
Remove last comments
katelynienaber Sep 2, 2021
97e7c40
!
katelynienaber Sep 2, 2021
7570b65
Merge pull request #1433 from zowe/imperative-logger-for-extenders
JillieBeanSim Sep 2, 2021
2ab47f3
Changing name of command window for TSO/MVS commands
katelynienaber Sep 8, 2021
a85e259
Ran prepublish
katelynienaber Sep 8, 2021
8bfe482
Fixed bug when cancelling TSO command
katelynienaber Sep 8, 2021
2ebceef
save state
JillieBeanSim Sep 9, 2021
6456740
fix unit tests
JillieBeanSim Sep 9, 2021
d6c6766
set right-click option as `Delete` for members and ds
JillieBeanSim Sep 10, 2021
2a6ddf9
standardize localization items with delete confirmation
JillieBeanSim Sep 10, 2021
0c2434f
implementation
JillieBeanSim Sep 10, 2021
2b92dad
fix unit tests
JillieBeanSim Sep 10, 2021
a2a4357
Redundant list populated
phaumer Sep 10, 2021
9890784
Cancel button not working
phaumer Sep 10, 2021
48058ea
Fixing message after cancel to show only deleted items
phaumer Sep 10, 2021
f6c63e2
Only show msg when at least one file was deleted
phaumer Sep 10, 2021
601fe34
Fixed Theia delete issue
phaumer Sep 10, 2021
3f0e21c
Extra space that failed tests
phaumer Sep 10, 2021
07cb1e2
Redundant list populated
phaumer Sep 10, 2021
a8f3b08
Cancel button not working
phaumer Sep 10, 2021
f01341e
Fixing message after cancel to show only deleted items
phaumer Sep 10, 2021
9deb711
remove member/parent check
JillieBeanSim Sep 13, 2021
9254e97
fix unit tests
JillieBeanSim Sep 13, 2021
f7e90ed
fix the spacing issue showInfoMsg
JillieBeanSim Sep 13, 2021
7b0b1f1
found stem of spacing issue, it the string message
JillieBeanSim Sep 13, 2021
9b72b6e
Merge branch 'multi-delete-bug' into delete-on-theia
phaumer Sep 13, 2021
0eff168
address laurens comment for confirmation box
JillieBeanSim Sep 13, 2021
ab3b25f
Merge branch 'multi-delete-bug' into delete-on-theia
phaumer Sep 13, 2021
65f06ab
remove instance of double pop up
JillieBeanSim Sep 13, 2021
aa7bafd
stop unreadable error message from popping up
JillieBeanSim Sep 13, 2021
608a0f3
quick fix for deleting faves regression
JillieBeanSim Sep 13, 2021
9f7789f
fix unit tests
JillieBeanSim Sep 13, 2021
23a180a
update strings per Lauren's request
JillieBeanSim Sep 14, 2021
da424e9
string change per Lauren's request
JillieBeanSim Sep 14, 2021
b924672
Merge pull request #1483 from zowe/multi-delete-bug
jellypuno Sep 15, 2021
11a5002
Merge branch 'master' into delete-on-theia
JillieBeanSim Sep 15, 2021
d584d7c
Merge branch 'master' into check-creds-bugfix
JillieBeanSim Sep 15, 2021
0aa7069
update run command to use v1.15.0 theia
JillieBeanSim Sep 15, 2021
a0830dd
update file to try to get all tests to run to test fix
JillieBeanSim Sep 15, 2021
999ba6f
remove comment used for the test
JillieBeanSim Sep 15, 2021
3847969
Merge pull request #1491 from zowe/theia-tests-for-v1.15.0
jellypuno Sep 15, 2021
801bec6
Merge pull request #1487 from zowe/delete-on-theia
JillieBeanSim Sep 15, 2021
e6a76ee
Merge branch 'master' into check-creds-bugfix
jellypuno Sep 15, 2021
b341c36
Merge branch 'master' into fix-cancel-tso-bug
jellypuno Sep 15, 2021
a0cbee0
Merge branch 'master' into command-window-name
jellypuno Sep 15, 2021
6a2fb73
Merge pull request #1478 from zowe/command-window-name
jellypuno Sep 15, 2021
6b795a3
Merge branch 'master' into check-creds-bugfix
JillieBeanSim Sep 15, 2021
67e3677
Merge branch 'master' into fix-cancel-tso-bug
jellypuno Sep 15, 2021
8ff9b3b
Merge pull request #1479 from zowe/fix-cancel-tso-bug
jellypuno Sep 15, 2021
117f6e3
Merge branch 'master' into check-creds-bugfix
jellypuno Sep 15, 2021
87c3360
Merge pull request #1486 from zowe/check-creds-bugfix
jellypuno Sep 15, 2021
f948303
Merge branch 'master' into next
katelynienaber Sep 15, 2021
aceed89
fix
JillieBeanSim Sep 15, 2021
c548821
Merge pull request #1496 from zowe/check-creds-save
lauren-li Sep 15, 2021
720ca6a
Add check for baseProfile before running getCombinedProfile
lauren-li Sep 17, 2021
3cc3a7e
Add unit test
lauren-li Sep 17, 2021
acecd9b
update Readme and Changelog
IgorCATech Sep 17, 2021
79b923e
Merge pull request #1500 from zowe/fix-tokens-bp-check
JillieBeanSim Sep 17, 2021
222c3bd
addressing Richelle's comments
IgorCATech Sep 17, 2021
bfc3268
Merge branch 'master' into (Docs)1.19.0-upd
IgorCATech Sep 17, 2021
87c8e4a
addressing Billie's comments
IgorCATech Sep 17, 2021
8a784ac
Merge branch '(Docs)1.19.0-upd' of https://github.com/zowe/vscode-ext…
IgorCATech Sep 17, 2021
be7c427
remove zFTP-related changes
IgorCATech Sep 17, 2021
f4978c3
add zFTP-related changes to appropriate README & CHANGELOG
JillieBeanSim Sep 20, 2021
e44d030
Refine changelog item on base profiles
lauren-li Sep 20, 2021
f6e21dd
Minor copyedit for consistency
lauren-li Sep 20, 2021
071ab30
Fix What's new in 1.19.0 hyperlink
lauren-li Sep 20, 2021
f12ab8e
Merge pull request #1501 from zowe/(Docs)1.19.0-upd
JillieBeanSim Sep 20, 2021
db1d016
Prepare for 1.19.0 release
lauren-li Sep 20, 2021
a70513b
Merge branch 'next' into 1.19-to-next-2
katelynienaber Sep 30, 2021
3081e58
require API register
katelynienaber Sep 30, 2021
54cbc06
Merge branch 'next' into 1.19-to-next-2
katelynienaber Oct 1, 2021
19b11a6
Removed Zowe CLI dependency from package.lock in api package
katelynienaber Oct 1, 2021
d916846
Build not working remotely
katelynienaber Oct 1, 2021
5a3e246
Fix weird issues
katelynienaber Oct 1, 2021
d2eb184
WIP fixing tests
katelynienaber Oct 4, 2021
748f47a
More fixed tests
katelynienaber Oct 5, 2021
6683ebb
All tests passing
katelynienaber Oct 5, 2021
7b96ce2
Prettier
katelynienaber Oct 5, 2021
1570eaf
remove node 10 & 16 from GHA tests
JillieBeanSim Oct 5, 2021
b87dc95
Merge branch 'next' into 1.19-to-next-2
jellypuno Oct 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Expand Up @@ -38,6 +38,10 @@ _Put an `x` in the boxes that apply. You can also fill these out after creating
- [ ] I have added necessary documentation (if appropriate)
- [ ] Any PR dependencies have been merged and published (if appropriate)

## Reminder

After a PR is merged into the `master` branch, create a PR from `master` to the `next` branch resolving any conflicts.

## Further comments

If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
38 changes: 19 additions & 19 deletions .github/actions/common.js
Expand Up @@ -25,9 +25,12 @@ const publishProject = (checkVersion, publishSpecificProject) => {
const packagePath = path.normalize(core.getInput("package"));
const topPackageJson = JSON.parse(readFileSync("package.json"));
const packageJson = JSON.parse(readFileSync(path.join(packagePath, "package.json")));
let versionName = `${packageJson.name}-${topPackageJson.version}`;
versionName = versionName.replace("@", "").replace("/", "-");
core.setOutput("archive", versionName);

// Check if there is a new version to publish (looking at the top level package.json for version)
if (checkVersion(packageJson, topPackageJson.version)) {
if (checkVersion(packageJson, topPackageJson.version) || topPackageJson.version.includes(`SNAPSHOT`)) {
console.log(`No new version to publish at this time. Current version: ${topPackageJson.version}`);
if (topPackageJson.version != packageJson.version) {
console.log(
Expand All @@ -49,11 +52,8 @@ const publishProject = (checkVersion, publishSpecificProject) => {
console.log(execSync(`git add package.json`, { cwd: packagePath }).toString());
}

let versionName = `${packageJson.name}-${topPackageJson.version}`;
versionName = versionName.replace("@", "").replace("/", "-");
console.log(`Generate: ${versionName}`);
console.log(execSync(`yarn package`, { cwd: packagePath }).toString());
core.setOutput("archive", versionName);
// set tag for deployment
let tag = "";
if (versionName.includes("next")) {
Expand All @@ -63,23 +63,23 @@ const publishProject = (checkVersion, publishSpecificProject) => {
}

publishSpecificProject(versionName, core.getInput("token"), packagePath, tag);
}

let changelog = execSync(
"awk -v ver=" +
topPackageJson.version +
" '/## / {if (p) { exit }; if ($2 ~ ver) { p=1; next} } p && NF' CHANGELOG.md | sed -z \"s/'/'\\\\\\''/g\" | sed -z 's/\"/\\\"/g' | sed -z 's/\\n/\\\\n/g'",
{ cwd: packagePath }
).toString();
if (changelog != "") {
changelog = `#### ${core.getInput("name")}\n${changelog}`;
console.log("changelog", changelog);
core.setOutput("changelog", changelog);
} else {
// No changelog for this version
console.log("No changelog available for version:", topPackageJson.version);
let changelog = execSync(
"awk -v ver=" +
topPackageJson.version +
" '/## / {if (p) { exit }; if ($2 ~ ver) { p=1; next} } p && NF' CHANGELOG.md | sed -z \"s/'/'\\\\\\''/g\" | sed -z 's/\"/\\\"/g' | sed -z 's/\\n/\\\\n/g'",
{ cwd: packagePath }
).toString();
if (changelog != "") {
changelog = `#### ${core.getInput("name")}\n${changelog}`;
console.log("changelog", changelog);
core.setOutput("changelog", changelog);
} else {
// No changelog for this version
console.log("No changelog available for version:", topPackageJson.version);

// TODO: Decide whether to use `Recent Changes` method (similar to CLIs)
}
// TODO: Decide whether to use `Recent Changes` method (similar to CLIs)
}
} catch (err) {
// Fail the workflow if any commands threw an error
Expand Down
77 changes: 33 additions & 44 deletions .github/workflows/deployment.yml
Expand Up @@ -11,7 +11,7 @@ on:
inputs:
version:
description: Version to be published
default: v1.18.0
default: v1.19.0
required: false
# create_release:
# description: Create the release even if publishing already happened
Expand Down Expand Up @@ -67,6 +67,8 @@ jobs:
steps:
- name: Checkout the Source Code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup NodeJS
uses: actions/setup-node@v1
Expand Down Expand Up @@ -146,27 +148,27 @@ jobs:
- name: Get Top-Level package.json
run: "echo ::set-output name=top_package::$(cat package.json)"
id: get_version

- name: Check if files were staged
run: "echo ::set-output name=files_staged::$(git diff --cached --quiet || echo $?)"
- name: Get most recent GitHub release version
id: get_gh_version
uses: "WyriHaximus/github-action-get-previous-tag@v1"

# Removed step because of issues with publishing
# - name: Check if files were staged
# run: "echo ::set-output name=files_staged::$(git diff --cached --quiet || echo $?)"
# id: check_project

- name: Check version is bumped
if: ${{ !contains(steps.get_gh_version.outputs.tag, fromJson(steps.get_version.outputs.top_package).version) }}
run: echo "::set-output name=version_bumped::true"
id: check_project

# Each individual action should git-add the desired files
- name: Update Project Files with new Version
if: steps.check_project.outputs.files_staged == 1
run: |
git status
git commit -m "Version Bumped to ${{ fromJson(steps.get_version.outputs.top_package).version }}" --signoff
- name: Push changes
if: steps.check_project.outputs.files_staged == 1
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force: true
branch: ${{ github.ref }}
- name: Check version is a pre-release
if: ${{ endsWith(fromJson(steps.get_version.outputs.top_package).version, 'SNAPSHOT') }}
run: echo "::set-output name=pre_release::true"
id: is_pre_release

- name: Create the Release
if: steps.check_project.outputs.files_staged == 1
if: steps.check_project.outputs.version_bumped && !steps.is_pre_release.outputs.pre_release
id: create_release
uses: actions/create-release@v1
env:
Expand All @@ -183,10 +185,7 @@ jobs:
prerelease: false

- name: Upload the Zowe Explorer Assets
if: |
steps.check_project.outputs.files_staged == 1 &&
steps.deploy_zowe_explorer.outputs.archive != null
# steps.check_project.outputs.files_staged == 1 || github.event.input.create_release == 'true') &&
if: steps.check_project.outputs.version_bumped && !steps.is_pre_release.outputs.pre_release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -197,10 +196,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload the FTP Extension for Zowe Explorer Assets
if: |
steps.check_project.outputs.files_staged == 1 &&
steps.deploy_zowe_explorer_ftp_extension.outputs.archive != null
# steps.check_project.outputs.files_staged == 1 || github.event.input.create_release == 'true') &&
if: steps.check_project.outputs.version_bumped && !steps.is_pre_release.outputs.pre_release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -211,10 +207,7 @@ jobs:
asset_content_type: application/octet-stream

- name: Upload the Zowe Explorer APIs Assets
if: |
steps.check_project.outputs.files_staged == 1 &&
steps.deploy_zowe_explorer_api.outputs.archive != null
# steps.check_project.outputs.files_staged == 1 || github.event.input.create_release == 'true') &&
if: steps.check_project.outputs.version_bumped && !steps.is_pre_release.outputs.pre_release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -223,17 +216,13 @@ jobs:
asset_path: ./dist/${{ steps.deploy_zowe_explorer_api.outputs.archive }}.tgz
asset_name: ${{ steps.deploy_zowe_explorer_api.outputs.archive }}.tgz
asset_content_type: application/octet-stream

- name: Upload the ESLint plugin for Zowe Explorer Assets
if: |
steps.check_project.outputs.files_staged == 1 &&
steps.deploy_eslint_plugin_zowe_explorer.outputs.archive != null
# steps.check_project.outputs.files_staged == 1 || github.event.input.create_release == 'true') &&
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./dist/${{ steps.deploy_eslint_plugin_zowe_explorer.outputs.archive }}.tgz
asset_name: ${{ steps.deploy_eslint_plugin_zowe_explorer.outputs.archive }}.tgz
asset_content_type: application/octet-stream
# - name: Upload the ESLint plugin for Zowe Explorer Assets
# if: steps.check_project.outputs.version_bumped
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ steps.create_release.outputs.upload_url }}
# asset_path: ./dist/${{ steps.deploy_eslint_plugin_zowe_explorer.outputs.archive }}.tgz
# asset_name: ${{ steps.deploy_eslint_plugin_zowe_explorer.outputs.archive }}.tgz
# asset_content_type: application/octet-stream
2 changes: 1 addition & 1 deletion .github/workflows/theia-zowe-explorer-ci.yml
Expand Up @@ -37,7 +37,7 @@ jobs:
- run: ls -la temp/plugins

- name: Start Theia
run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" theiaide/theia
run: docker run --name theia --init -d -p 3000:3000 -v "${PWD}/temp:/home/theia/.theia" theiaide/theia:1.15.0
# NOTE(Kelosky): alternatively, we could run docker via something like this; however, we cannot hot reload
# hosted VS Code extensions after theia is started (at least at the time this was written).
# services:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zowe-explorer-ftp-ci.yml
Expand Up @@ -16,7 +16,7 @@ jobs:
# Continue to run tests on the other systems if one fails
fail-fast: false
matrix:
node-version: [10.x, 12.x, 14.x]
node-version: [12.x, 14.x]
# order operating systems from best to worst
os: [windows-latest, ubuntu-latest, macos-latest]

Expand Down
5 changes: 2 additions & 3 deletions .vscode/launch.json
Expand Up @@ -50,9 +50,8 @@
"--extensionTestsPath=${workspaceFolder}/packages/zowe-explorer/out/__tests__/__integration__/index"
],
"outFiles": ["${workspaceFolder}/out/__tests__/**/*.js"],
"preLaunchTask": "Pretest",
"smartStep": true,
"skipFiles": ["<node_internals>/**"]
"preLaunchTask": "Build",
"postDebugTask": "Posttest"
}
]
}
23 changes: 22 additions & 1 deletion .vscode/tasks.json
Expand Up @@ -104,11 +104,32 @@
"group": "build",
"isBackground": false,
"type": "shell",
"options": {
"cwd": "scripts"
},
"command": "ts-node create-env.ts"
},
{
"label": "Build",
"group": "build",
"isBackground": false,
"type": "shell",
"options": {
"cwd": "packages/zowe-explorer"
},
"command": "yarn",
"args": ["build:integration"]
"args": ["build:integration"],
"dependsOn": "Pretest"
},
{
"label": "Posttest",
"group": "build",
"isBackground": false,
"type": "shell",
"options": {
"cwd": "scripts"
},
"command": "ts-node clean-env.ts"
}
]
}
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -80,7 +80,7 @@ Use the following list with the description and links to find the topics of your

**Note**: Zowe Explorer FTP extension is an example that shows how the extensibility API is used to add new capabilities to Zowe Explorer.

[Zowe Explorer Developer's ReadMe](https://github.com/zowe/vscode-extension-for-zowe/blob/master/docs/Developer's%20ReadMe.md) — contains information on how to install, build, and test Zowe Explorer.
[Zowe Explorer Developer's ReadMe](https://github.com/zowe/vscode-extension-for-zowe/blob/master/docs/README-Developer.md) — contains information on how to install, build, and test Zowe Explorer.

[Zowe Explorer in Theia ReadMe](https://github.com/zowe/vscode-extension-for-zowe/blob/master/docs/README-Theia.md) — contains information on how to develop for the Web-based IDE Eclipse Theia.

Expand Down
21 changes: 5 additions & 16 deletions docs/README-Developer.md
Expand Up @@ -76,26 +76,15 @@ To test the extension, the mainframe data sets under `normalPattern` must match
- "TCHILD2"
- `normalPattern` + ".PUBLIC.TPS"

The `./scripts` folder contains the following scripts to help you set up the required file structure. You can execute the scripts when the `ts-node` package is installed globally.

- [create-env](/scripts/create-env.ts): Creates the proper data sets on the mainframe.
- [clean-env](/scripts/clean-env.ts): Cleans up the data sets created on the mainframe.

**Note:** The scripts use the profile that you specified in `testProfileData`.

##### Execute the setup scripts

1. Issue the following command to install `ts-node` globally:

`npm install -g ts-node`
#### Or pattern

2. Issue the following command to execute script as if it were a node script.
There is no required structure for the mainframe data sets under `orPattern`.

`ts-node ./scripts/clean-env.ts` or `ts-node ./scripts/create-env.ts`
#### Prerequisites

#### Or pattern
To run the system tests, ensure that you have `ts-node` insalled globally by running the following command:

There is no required structure for the mainframe data sets under `orPattern`.
`npm install -g ts-node`

### Executing from VSC

Expand Down