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

Backport v1.x master to staging #3860

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
97126ea
WebUI v1.28.6 RC1
Mar 28, 2024
443d94f
Update zss
Mar 28, 2024
ea14795
apiml 1.28.6 rc1
achmelo Mar 28, 2024
e883d42
Merge pull request #3782 from zowe/user/markackert/v1-staging-to-rc
MarkAckert Mar 28, 2024
5763f55
Merge branch 'v1.x/rc' into reboot/apiml_1-28-6-rc1
MarkAckert Mar 28, 2024
127b063
Merge branch 'v1.x/rc' into users/jstruga/v1.28.6-RC1
MarkAckert Mar 28, 2024
a935424
Merge pull request #3780 from zowe/reboot/apiml_1-28-6-rc1
MarkAckert Mar 28, 2024
9ecf4a6
Merge branch 'v1.x/rc' into users/jstruga/v1.28.6-RC1
MarkAckert Mar 28, 2024
54f90ea
Merge pull request #3778 from zowe/users/jstruga/v1.28.6-RC1
MarkAckert Mar 28, 2024
c2d61b3
Update component versions
zowe-robot Mar 28, 2024
628970f
Merge pull request #3783 from zowe/v1.28.6/cli/rc
MarkAckert Mar 28, 2024
bb10934
lock in files, jobs, datasets explorer artifacts
MarkAckert Apr 3, 2024
67761de
Merge pull request #3786 from zowe/user/markackert/explorer-updates
MarkAckert Apr 3, 2024
cb87f83
update manifest.json.template file for v1.28.6
ManjuVNair133 Apr 8, 2024
6adac38
update imageDependencies zowe-launch-scripts
ojcelis Apr 9, 2024
7b649dc
Merge pull request #3791 from zowe/manifestimagesfor1.28.6
MarkAckert Apr 11, 2024
3fa6a30
update licenses package
MarkAckert Apr 11, 2024
1043670
Merge pull request #3793 from zowe/user/markackert/1.28.6-rc-to-master
MarkAckert Apr 11, 2024
ed57832
remove imperative (now in zowe-cli)
MarkAckert Apr 11, 2024
f7835d0
Merge branch 'v1.x/master' into user/markackert/1.28.6-rc-to-master
MarkAckert Apr 11, 2024
2a145d1
Merge pull request #3794 from zowe/user/markackert/1.28.6-rc-to-master
MarkAckert Apr 11, 2024
6e2aa28
update cics cli repo
MarkAckert Apr 11, 2024
802ab3e
Merge pull request #3795 from zowe/user/markackert/update-sourceDeps-v1
MarkAckert Apr 11, 2024
c9e85d9
fix remaining versions
MarkAckert Apr 11, 2024
7261c49
Merge pull request #3796 from zowe/user/markackert/v1x-final-version-…
MarkAckert Apr 11, 2024
d8da66c
fix zowe vscode repo name
MarkAckert Apr 11, 2024
4e4e03b
Merge pull request #3797 from zowe/user/markackert/fix-vscode-sourced…
MarkAckert Apr 11, 2024
c182af8
Update component versions
zowe-robot May 24, 2024
311b525
API ML 1.28.7 rc1
achmelo May 29, 2024
521c376
API ML 1.28.7 rc1
achmelo May 29, 2024
09fd488
datasets and jobs 1.28.7 rc1
achmelo May 30, 2024
5d617a5
Revert "API ML 1.28.7 rc1"
achmelo May 30, 2024
059dc02
add manifest
May 30, 2024
aa34b39
Merge branch 'v1.x/staging' into user/markackert/v1-staging-to-rc
MarkAckert May 30, 2024
a126ef4
update licenses
MarkAckert May 30, 2024
3c8d97f
Merge pull request #3842 from zowe/user/markackert/v1-staging-to-rc
MarkAckert May 30, 2024
d7c3f00
Merge branch 'v1.x/rc' into reboot/apiml_v1_rc1
MarkAckert May 30, 2024
83ea641
Merge branch 'v1.x/rc' into reboot/jobs-updt
MarkAckert May 30, 2024
170a457
update sourceDeps
MarkAckert May 30, 2024
addc0d9
Merge pull request #3839 from zowe/reboot/apiml_v1_rc1
MarkAckert May 30, 2024
80c75ca
Merge branch 'v1.x/rc' into reboot/jobs-updt
MarkAckert May 30, 2024
a315a3c
Merge branch 'v1.x/rc' into v1.28.7/cli/rc
MarkAckert May 30, 2024
e37dddf
Merge pull request #3840 from zowe/reboot/jobs-updt
MarkAckert May 30, 2024
13835d1
Merge branch 'v1.x/rc' into v1.28.7/cli/rc
MarkAckert May 30, 2024
fe96b55
Merge pull request #3837 from zowe/v1.28.7/cli/rc
MarkAckert May 30, 2024
c8b80c9
Merge branch 'v1.x/rc' into useers/jstruga/webui-rc1
MarkAckert May 30, 2024
0bc15c5
Merge pull request #3841 from zowe/useers/jstruga/webui-rc1
MarkAckert May 30, 2024
6a5ba95
skip fmid config step for ptf tests
MarkAckert Jun 3, 2024
8ed7297
Merge pull request #3846 from zowe/user/markackert/ptf-build-fixes-v1
MarkAckert Jun 3, 2024
0184e37
address build failure
MarkAckert Jun 4, 2024
2c324e0
debug content
MarkAckert Jun 4, 2024
cb4bf43
move certificate setup post-ptf
MarkAckert Jun 5, 2024
5dfa917
move to configptf
MarkAckert Jun 5, 2024
0709296
small fixes
MarkAckert Jun 5, 2024
83a8ca8
try skipping old configfmid
MarkAckert Jun 6, 2024
5cf6328
remove validate_configuration check
MarkAckert Jun 6, 2024
9081114
Merge branch 'v1.x/rc' into user/markackert/ptf-build-fixes-v1
MarkAckert Jun 7, 2024
52fe1f7
remove debug, add more conversions
MarkAckert Jun 7, 2024
4df918a
Merge pull request #3849 from zowe/user/markackert/ptf-build-fixes-v1
MarkAckert Jun 7, 2024
7cfcbdd
merge v1.x/rc in to v1.x/master
MarkAckert Jun 10, 2024
b9e15cd
Merge pull request #3855 from zowe/user/markackert/rc-to-master-1.28.7
MarkAckert Jun 10, 2024
3c1d736
Merge branch 'v1.x/master' into user/markackert/backport-v1x-master-t…
MarkAckert Jun 12, 2024
e97ba12
update zowe version for staging
MarkAckert Jun 12, 2024
e7d674e
fix manifest for staging
MarkAckert Jun 12, 2024
7c7e707
Merge branch 'v1.x/staging' into user/markackert/backport-v1x-master-…
MarkAckert Jun 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 3 additions & 10 deletions manifest.json.template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Zowe",
"version": "1.28.7",
"version": "1.28.8",
"description": "Zowe is an open source project created to host technologies that benefit the Z platform from all members of the Z community (Integrated Software Vendors, System Integrators and z/OS consumers). Zowe, like Mac or Windows, comes with a set of APIs and OS capabilities that applications build on and also includes some applications out of the box. Zowe offers modern interfaces to interact with z/OS and allows you to work with z/OS in a way that is similar to what you experience on cloud platforms today. You can use these interfaces as delivered or through plug-ins and extensions that are created by clients or third-party vendors.",
"license": "EPL-2.0",
"homepage": "https://zowe.org",
Expand Down Expand Up @@ -136,19 +136,12 @@
"version": "~0.0.8-SNAPSHOT"
},
"org.zowe.licenses": {
"version": "1.28.1",
"version": "1.28.7",
"artifact": "zowe_licenses_full.zip"
}
},
"sourceDependencies": [
{
"componentGroup": "Imperative CLI Framework for Zowe",
"entries": [{
"repository": "imperative",
"tag": "zowe-v1-lts",
"destinations": ["Zowe CLI Package"]
}]
}, {
{
"componentGroup": "Zowe API Mediation Layer",
"entries": [{
"repository": "api-layer",
Expand Down
2 changes: 2 additions & 0 deletions playbooks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,8 @@ $ ansible-playbook -l <server> show-logs.yml -v
- **zowe_auto_create_user_group**: A boolean value to enable or disable creating Zowe user and group. Default value is `false`.
- **zowe_configure_skip_zwesecur**: A boolean value to skip running `ZWESECUR` job when configure Zowe instance.
- **zos_keystore_mode**: An optional string to configure Zowe instance to store certificates into Keyring instead of keystore. Valid values are `<empty>` (default value) or `KEYSTORE_MODE_KEYRING`.
- **convert_upload**: A boolean value to convert uploaded scripts from ASCII to EBCDIC post-transfer. Required for some distros, such as MacOSX. Default value is `false`.
- **skip_configfmid**: A boolean value to skip automatically configuring Zowe after FMID installation. Default value is `false`.
- **skip_start**: A boolean value to skip automatically starting Zowe after installation. Default value is `false`.
- **zowe_uninstall_before_install**: If you want to uninstall Zowe before installing a new version. Default value is `true`.
- **ZOWE_COMPONENTS_UPGRADE**: An optional boolean value to enable upgrading Zowe components to the latest version. If set to `true`,
Expand Down
13 changes: 1 addition & 12 deletions playbooks/install-fmid.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Install Zowe SMPE FMID
- name: Install Zowe SMPE FMID.
hosts: all
gather_facts: false
become: false
Expand Down Expand Up @@ -78,14 +78,3 @@
- import_role:
name: fmid
tasks_from: overwrite_vars

# ============================================================================
# Configure Zowe
- import_role:
name: configfmid

# ============================================================================
# Start Zowe
- import_role:
name: start
when: not skip_start|default(False)
7 changes: 1 addition & 6 deletions playbooks/install-ptf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
name: fmid
tasks_from: overwrite_vars


# ============================================================================
# FIXME
- name: Check if zowe_keystore_dir has a value
Expand All @@ -75,12 +76,6 @@
- import_role:
name: configure

# ============================================================================
- name: Test upgraded configuration
import_role:
name: configfmid
tasks_from: validate_configuration

# ============================================================================
# Start Zowe
- import_role:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
vars:
script_chdir: "{{ zowe_root_dir }}/scripts/utils"
script_filename: ./zowe-install-proc.sh
script_parameters: "\"{{ zowe_dataset_prefix }}\" \"{{ zowe_proclib_dsname }}\""
script_parameters: -d {{ zowe_dataset_prefix }} -r {{ zowe_proclib_dsname }}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
vars:
script_chdir: "{{ zowe_root_dir }}/scripts/utils"
script_filename: ./zowe-install-xmem.sh
script_parameters: "\"{{ zowe_dataset_prefix }}\" \"{{ zowe_xmem_loadlib }}\" \"{{ zowe_xmem_parmlib }}\" \"{{ zowe_xmem_proclib }}\""
script_parameters: -d {{ zowe_xmem_loadlib }} -a {{ zowe_xmem_parmlib }} -r {{ zowe_xmem_proclib }}

- name: Show content of ZSS proc {{ zowe_xmem_proclib_member_zss }}
raw: cat "//'{{ zowe_xmem_proclib }}({{ zowe_xmem_proclib_member_zss }})'"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,32 +45,26 @@
# ============================================================================
# Install Zowe proc
- import_role:
name: configfmid
name: configptf
tasks_from: install_proc

# ============================================================================
# Install Cross Memory Server
- import_role:
name: configfmid
name: configptf
tasks_from: install_xmem_server
vars:
zowe_xmem_install_from_path: "{{ zowe_root_dir }}/scripts/utils"

# ============================================================================
# Run ZWESECUR
- import_role:
name: configfmid
name: configptf
tasks_from: create_security_defn
when: not zowe_configure_skip_zwesecur

# ============================================================================
# Setup certificates
- import_role:
name: configfmid
tasks_from: setup_certificates

# ============================================================================
# Configure Zowe Instance
- import_role:
name: configfmid
name: configptf
tasks_from: configure_instance
4 changes: 3 additions & 1 deletion playbooks/roles/configure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

This role will configure Zowe after Zowe runtime has been laid down on the server.

Please note: if you want to configure FMID, should use `configfmid` role.
Please note: if you want to configure SMP/e install, should use `configptf` role.

Please note: config no longers works for base FMID on z/OS 2.5+
4 changes: 4 additions & 0 deletions playbooks/roles/ptf/tasks/is_ptf_installed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@
file_upload_method: scp
file_upload_hashcheck: false

- name: Convert ascii to ebcdic
when: convert_upload|default(False)
raw: iconv -f ISO8859-1 -t IBM-1047 "{{ work_dir_remote }}/LSTFMID.jcl" > "{{ work_dir_remote }}/LSTFMID.jcl.ebcdic" && mv "{{ work_dir_remote }}/LSTFMID.jcl.ebcdic" "{{ work_dir_remote }}/LSTFMID.jcl"

# ============================================================================
# Run LSTFMID.jcl
- name: Run LSTFMID.jcl
Expand Down
23 changes: 17 additions & 6 deletions playbooks/roles/ptf/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,17 @@
file_upload_hashcheck: false
loop: "{{ zowe_ptf_install_jcls }}"

# ============================================================================
# Convert uploaded JCLs in remote workspace if necessary
- name: (Optional) convert PTF installation JCLs
vars:
filename: "{{ item }}.jcl"
loop: "{{ zowe_ptf_install_jcls }}"
when: convert_upload|default(False)
raw: iconv -f ISO8859-1 -t IBM-1047 "{{ work_dir_remote }}/{{ filename }}" > "{{ work_dir_remote }}/{{ filename }}.ebcdic" && mv "{{ work_dir_remote }}/{{ filename }}.ebcdic" "{{ work_dir_remote }}/{{ filename }}"



- name: Fix JCLs is we only have 1 PTF
when: zowe_smpe_ptf_2 == ""
block:
Expand Down Expand Up @@ -129,12 +140,12 @@
mode: 0700
delegate_to: localhost

- import_role:
name: zos
tasks_from: upload_and_run_script
vars:
upload_and_run_script_filename: install-SMPE-SYSMOD.sh
upload_and_run_script_parameters: "\"{{ zowe_smpe_hlq_dsn }}\" \"{{ zowe_smpe_hlq_csi }}\" \"{{ (zowe_smpe_dir_prefix is regex(\"/$\")) | ternary(zowe_smpe_dir_prefix, zowe_smpe_dir_prefix + \"/\") }}\" \"{{ work_dir_remote }}\" \"{{ zowe_smpe_fmid }}\" \"{{ zowe_smpe_ptf }}\" \"{{ zowe_smpe_ptf_2 }}\" \"{{ zowe_smpe_volser }}\" install"
#- import_role:
# name: zos
# tasks_from: upload_and_run_script
# vars:
# upload_and_run_script_filename: install-SMPE-SYSMOD.sh
# upload_and_run_script_parameters: "\"{{ zowe_smpe_hlq_dsn }}\" \"{{ zowe_smpe_hlq_csi }}\" \"{{ (zowe_smpe_dir_prefix is regex(\"/$\")) | ternary(zowe_smpe_dir_prefix, zowe_smpe_dir_prefix + \"/\") }}\" \"{{ work_dir_remote }}\" \"{{ zowe_smpe_fmid }}\" \"{{ zowe_smpe_ptf }}\" \"{{ zowe_smpe_ptf_2 }}\" \"{{ zowe_smpe_volser }}\" install"

- name: Check if the first PTF is installed properly
block:
Expand Down
5 changes: 5 additions & 0 deletions playbooks/roles/zos/tasks/upload_and_run_script.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
file_upload_method: scp
file_upload_hashcheck: false

# Necessary for some scp distros, as on MacOS
- name: Convert ascii to ebcdic
when: convert_upload|default(False)
raw: iconv -f ISO8859-1 -t IBM-1047 "{{ work_dir_remote }}/{{ upload_and_run_script_filename }}" > "{{ work_dir_remote }}/{{ upload_and_run_script_filename }}.ebcdic" && mv "{{ work_dir_remote }}/{{ upload_and_run_script_filename }}.ebcdic" "{{ work_dir_remote }}/{{ upload_and_run_script_filename }}"

- name: Add executive permission to {{ upload_and_run_script_filename }}
raw: chmod a+x "{{ work_dir_remote }}/{{ upload_and_run_script_filename }}"

Expand Down
4 changes: 3 additions & 1 deletion tests/installation/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
*
* @param {Any} obj any object
*/
export function calculateHash(obj: any): string {

Check warning on line 52 in tests/installation/src/utils.ts

View workflow job for this annotation

GitHub Actions / cicd-test (basic/install.ts, marist-zzow06)

Unexpected any. Specify a different type
return crypto.createHash('md5').update(util.format('%j', obj)).digest('hex');
}

Expand Down Expand Up @@ -381,7 +381,9 @@
'install-fmid.yml',
serverId,
{
'zowe_build_remote': ZOWE_FMID
'zowe_build_remote': ZOWE_FMID,
'skip_configfmid': 'true',
'skip_start': 'true'
}
);

Expand Down
Loading