comments, re-indents, etc (nothing substantitive) #19
This file contains hidden or 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
| on: push | |
| jobs: | |
| cicd: | |
| # https://github.com/internetarchive/cicd | |
| uses: internetarchive/cicd/.github/workflows/cicd.yml@main | |
| with: | |
| NOMAD_VAR_MULTI_CONTAINER: 'true' | |
| NOMAD_VAR_COUNT: 1 | |
| NOMAD_VAR_COUNT_CANARIES: 0 | |
| NOMAD_VAR_PORTS: '{ 80 = "http", 3306 = "db" }' | |
| NOMAD_VAR_CHECK_PROTOCOL: 'tcp' | |
| # first bring up takes a long time, copying initial site & data to persist, to our slow PV | |
| NOMAD_VAR_HEALTH_TIMEOUT: '9m' | |
| NOMAD_VAR_PERSISTENT_VOLUME: '/var/www/html' | |
| NO_TEST: true | |
| BASE_DOMAIN: x.archive.org | |
| # BASE_DOMAIN: ux-b.archive.org # xxxx | |
| # NOMAD_VAR_PORTS: '{ -1 = "http", -1 = "db" }' # xxxx | |
| # NOMAD_VAR_NETWORK_MODE: 'host' # xxxx | |
| secrets: | |
| NOMAD_SECRETS: '{ "WORDPRESS_DB_PASSWORD"="${{ secrets.PW }}", "MYSQL_PASSWORD"="${{ secrets.PW }}" }' | |
| NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} |