version: "2"
# Note that the images depended on here can be built using build_docker_image.sh
services:
master:
image: perforce/centos7-sdp
hostname: master
ports:
- "2167:1667"
command: /usr/sbin/sshd -D
volumes:
- ${PWD}/../../sdp:/sdp
replica_ha:
image: perforce/centos7-sdp
hostname: replica_ha
ports:
- "2266:1666"
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_ham:
image: perforce/centos7-sdp
hostname: replica_ham
ports:
- "2267:1666"
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_fr:
image: perforce/centos7-sdp
hostname: replica_fr
ports:
- "2366:1666"
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_edge:
image: perforce/centos7-sdp
hostname: replica_edge
ports:
- "2466:1666"
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_ro:
image: perforce/centos7-sdp
hostname: replica_ro
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_rom:
image: perforce/centos7-sdp
hostname: replica_rom
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_fs:
image: perforce/centos7-sdp
hostname: replica_fs
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_frm:
image: perforce/centos7-sdp
hostname: replica_frm
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_fsm:
image: perforce/centos7-sdp
hostname: replica_fsm
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica_ffr:
image: perforce/centos7-sdp
hostname: replica_ffr
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
replica1:
image: perforce/centos7-sdp
hostname: replica1
ports:
- "2566:1666"
command: /usr/sbin/sshd -D
links:
- master
volumes:
- ${PWD}/../../sdp:/sdp
test:
image: perforce/centos7-sdp
hostname: test
command: /usr/sbin/sshd -D
links:
- master
- replica_ha
volumes:
- ${PWD}/../../sdp:/sdp
| # | Change | User | Description | Committed | |
|---|---|---|---|---|---|
| #1 | 33433 | Claude (AI Agent by Anthropic) |
Copy Up from //p4-sdp/dev into //p4-sdp/main. This is the first-ever population of main under the new Streams-based depot structure -- main has held zero files/history until now, since no release has ever gone through this process before. 463 files, covering the entire 2026.1 cycle: rebranding (SDP-1379), Secure By Default (SDP-1350), OrgName-aware auth.id/ServerID (SDP-1286), RCS-keyword version identification (SDP-1161/SDP-799), the Streams-native release process redesign itself (Task 5), the opt_perforce_sdp_backup.sh false-error fix, the P4D 2026.1 test-suite targeting, refreshed P4*.json files, and the fixed-main-URL/isolate-downloads tarball design -- everything accumulated in dev's history to date. Isolated paths (ai_dev_support/, Version, doc/*.html, doc/*.pdf, doc/gen/*.man.txt, doc/gen/sdp_install.cfg, Unsupported/doc/*.html, Unsupported/doc/*.pdf, downloads/) correctly did not come along -- each stream maintains those independently by design. Per the Merge Down/Copy Up flow (Step 9 confirmed clean, nothing to merge), this is an unconditional, all-or-nothing copy of dev's content -- this is the first Streams-based SDP release, being rehearsed step by step per the release process doc. Agent: Claude Code, Model: Claude Sonnet 5 (claude-sonnet-5), operating as bot_Claude_Anthropic. |
||
| //p4-sdp/dev/test/docker-compose.yml | |||||
| #1 | 31397 | C. Thomas Tyler | Populate -b SDP_Classic_to_Streams -s //guest/perforce_software/sdp/...@31368. | ||
| //guest/perforce_software/sdp/dev/test/docker-compose.yml | |||||
| #6 | 30845 | Robert Cowham |
Base the podman/docker image on rocky9-ubi-init to get systemd This supports systemd within the container if run under podman instead of docker Remove centos7 docker files |
||
| #5 | 30356 | C. Thomas Tyler |
Added Rocky 9 and Ubuntu 22 to test suite. Dropped CentOS 6. Changed default OS for tests from CentOS 7 to Rocky 9. Adapted to using podman for the test suite. Reduced minimum disk space requirement for testing from 1G to 10M. To be revisited: * Disabled OOM killer defenese feature and systemd due to compatibility issues with the test environment. * Disabled systemd by moving systemctl aside Enhanced build_docker_image.sh; added '-clean' option and added support for more platforms. Updated OS-specific packages as needed for all platforms, e.g. adding 'file' and 'rsync' utils as needed in Docker definitions. Added minimum performance recommendations for test containers in config. Updated env.sh utilities. This change test on: [X] centos7 [X] rocky8 [X] rocky9 [X] ubuntu20 [X] ubuntu22 #review-30357 @robert_cowham TO DO: * This builds using the official SDP test suite run manually on Tom's laptop. Next step: Get it working on our shiny new Jenkins Rocky 9 server machine. |
||
| #4 | 25575 | Robert Cowham |
Updates to SDP and tests for 19.1 upgrades #review @tom_tyler |
||
| #3 | 25565 | Robert Cowham |
For docker-compose the following now work: replica_ha, replica_ham, replica_fr, replica_edge |
||
| #2 | 25562 | Robert Cowham | Docker compose file for multi system tests | ||
| #1 | 25258 | Robert Cowham |
Rework the containers in preparation for multi container testing mkrep changes: Remove -c cfg option which was unused anyway Converted tabs to spaces Fixed logic error causing forwarding replicas to bail due to unsupported p4d version Standby servers require ReplicatingFrom field Add seconds to log file name (useful for testing to avoid overwriting files) |
||
| //guest/robert_cowham/perforce/sdp/test/docker-compose.yml | |||||
| #8 | 25116 | Robert Cowham | Docker compose tests starting to get there... | ||
| #7 | 25113 | Robert Cowham | Merge latest changes from dev | ||
| #6 | 23433 | Robert Cowham | Got it working with basic ssh stuff if sshd run manually on a box | ||
| #5 | 22509 | Robert Cowham | Basics of getting ssh working amongst the containers | ||
| #4 | 22487 | Robert Cowham | Docker compose file - getting there slowly | ||
| #3 | 20828 | Robert Cowham | Use docker-compose | ||
| #2 | 20815 | Robert Cowham | Simplified so "docker-compose up" starts test instance. | ||
| #1 | 20813 | Robert Cowham | Using docker-compose | ||