upgrade_19_1.yaml #1

  • //
  • p4-sdp/
  • dev_rebrand/
  • test/
  • upgrade_19_1.yaml
  • View
  • Commits
  • Open Download .zip Download (991 B)
# Upgrade to p4d 19.1

# ------------------------------------------------------------------
- name: Upgrade to 19.1 - outside in
  hosts: replicas

  tasks:
    - name: Rename p4d-19-1 to p4d
      copy:
        remote_src: True
        src:        /p4/common/bin/p4d-19.1
        dest:       /p4/common/bin/p4d

    - name: Execute upgrade.sh
      shell: /p4/common/bin/upgrade.sh 1

    - name: Stop the replica
      shell: "/p4/1/bin/p4d_1_init stop"

# ------------------------------------------------------------------
- name: Install SDP
  hosts: master

  tasks:
    - name: Copy remote 19.2 into place
      copy:
        remote_src: True
        src:        /p4/common/bin/p4d-19.1
        dest:       /p4/common/bin/p4d

    - name: Execute upgrade
      shell: /p4/common/bin/upgrade.sh 1

# ------------------------------------------------------------------
- name: Install SDP
  hosts: replicas

  tasks:
    - name: Start the replica
      shell: "/p4/1/bin/p4d_1_init start"
# Change User Description Committed
#1 31751 C. Thomas Tyler p4 stream convertsparse
//p4-sdp/dev/test/upgrade_19_1.yaml
#1 31397 C. Thomas Tyler Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368.
//guest/perforce_software/sdp/dev/test/upgrade_19_1.yaml
#1 25575 Robert Cowham Updates to SDP and tests for 19.1 upgrades

#review @tom_tyler