-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: consolidate Ansible playbooks under assets (#117)
- Loading branch information
1 parent
655cbee
commit 55130e7
Showing
33 changed files
with
199 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# Packer CI | ||
|
||
This README provides steps for running basic CI on Packer templates contained in the project. | ||
|
||
## Configuration | ||
|
||
In the root of the `./packer` directory is a configuration yaml file (`.config.yml`) that contains the location of each of the Packer templates in the project. When new Packer templates are added, the config file should be updated as well. | ||
|
||
|
||
### `.config.yml` | ||
|
||
``` title=".confi.yml" | ||
--8<-- "assets/packer/.config.yml" | ||
``` | ||
|
||
```bash | ||
docker build -t packer-ci -f .ci/Dockerfile . \ | ||
--build-arg AWS_REGION=us-east-1 \ | ||
--build-arg AWS_VPC_ID=vpc-086839c0e28ad1f29 \ | ||
--build-arg AWS_SUBNET_ID=subnet-0e6bb0e5c155610c0 \ | ||
--build-arg AWS_PROFILE=default \ | ||
--build-arg PUBLIC_KEY=Key_Pair_Linux | ||
``` | ||
|
||
|
||
## Packer Directory | ||
|
||
``` | ||
. | ||
├── build-agents | ||
│ ├── linux | ||
│ │ ├── amazon-linux-2023-arm64.pkr.hcl | ||
│ │ ├── amazon-linux-2023-x86_64.pkr.hcl | ||
│ │ ├── create_swap.service | ||
│ │ ├── create_swap.sh | ||
│ │ ├── example.pkrvars.hcl | ||
│ │ ├── fsx_automounter.py | ||
│ │ ├── fsx_automounter.service | ||
│ │ ├── install_common.al2023.sh | ||
│ │ ├── install_common.ubuntu.sh | ||
│ │ ├── install_mold.sh | ||
│ │ ├── install_octobuild.al2023.x86_64.sh | ||
│ │ ├── install_octobuild.ubuntu.x86_64.sh | ||
│ │ ├── install_sccache.sh | ||
│ │ ├── mount_ephemeral.service | ||
│ │ ├── mount_ephemeral.sh | ||
│ │ ├── octobuild.conf | ||
│ │ ├── README.md | ||
│ │ ├── sccache.service | ||
│ │ ├── ubuntu-jammy-22.04-amd64-server.pkr.hcl | ||
│ │ └── ubuntu-jammy-22.04-arm64-server.pkr.hcl | ||
│ ├── README.md | ||
│ └── windows | ||
│ ├── base_setup.ps1 | ||
│ ├── example.pkrvars.hcl | ||
│ ├── install_vs_tools.ps1 | ||
│ ├── setup_jenkins_agent.ps1 | ||
│ ├── userdata.ps1 | ||
│ └── windows.pkr.hcl | ||
├── .ci | ||
│ ├── Dockerfile | ||
│ ├── packer-ci.md | ||
│ ├── packer-validate.sh | ||
│ ├── README.md | ||
│ └── setup.sh | ||
├── .config.yml | ||
└── perforce | ||
└── helix-core | ||
├── example.pkrvars.hcl | ||
├── p4_configure.sh | ||
├── p4_setup.sh | ||
├── perforce.pkr.hcl | ||
└── README.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Dockerfiles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Jenkins Pipelines |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Packer Templates | ||
|
||
|
||
|
||
- **[Unreal Engine Build Agents](#unreal-engine-build-agents)**: Packer templates for building Unreal Engine on Windows and Linux, including support for x86 and ARM (i.e. Graviton). | ||
- **[Perforce Helix Core AMI](#perforce-helix-core-packer-template)**: Packer templates for creating an Amazon Machine Image (AMI) of Perforce Helix Core on Linux and configuration with Perforce Server Deployment Package (SDP) | ||
|
||
<!-- Build Agents README #unreal-engine-build-agents --> | ||
--8<-- "assets/packer/build-agents/README.md" | ||
|
||
<!-- Perforce Helix Core README #perforce-helix-core-ami --> | ||
--8<-- "assets/packer/perforce/helix-core/README.md" | ||
|
||
<!-- CI and Testing for Packer Templates--> | ||
--8<-- "assets/packer/.ci/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "assets/ansible-playbooks/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# CI and Testing | ||
|
||
This project uses Github Actions to automate continuous integration (CI) testing using utilities contained in the `.ci/` directories within the project's assets, modules, and samples. Dockerfiles are included to simplify running these CI workflows locally in your development environment or in a cloud CI environment. | ||
|
||
## Example CI directory: `packer/.ci/` | ||
|
||
```shell | ||
.ci/ | ||
├── Dockerfile <------------------ Dockerfile for running Packer CI | ||
├── packer-validate.sh <---------- Script for linting with Packer Validate | ||
├── README.md <------------------- Instructions for Packer CI | ||
└── setup.sh <-------------------- Commands to setup environment (i.e install Packer) | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "assets/packer/.ci/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "CONTRIBUTING.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "modules/jenkins/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "modules/perforce/helix-authentication-service/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "modules/perforce/helix-core/README.md" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--8<-- "modules/perforce/helix-swarm/README.md" |
Empty file.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Simple Build Pipeline Sample |
Oops, something went wrong.