This fixes the name of the ansible `site` variable to `site_name`, so
that we can properly set the value of the SITE environment variable
while running gate scripts.
Change-Id: I9156fbdda4e52dc2b5310beb4d285736282bc8b6
Introduces an ability to pass custom environment that
has the highest precedence from job definition for
airshipctl-gate-runner playbook, e.g.:
job:
name: test-job
playbook: run: playbooks/airshipctl-gate-runner.yaml
vars:
job_environment:
FOO: BAR
Defined environment variables complete/replace default playbook variables.
Change-Id: Ib11480068141315126a80f3952b6882cdb7439ae
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
Additionally aligned between Treasuremap and Airchipctl to use the same
environemnt variable "SITE" for a site name.
Change-Id: I50494b50691a40efe68996cd11ccede6517b23d6
Signed-off-by: James Gu <james.gu@att.com>
Currently we don't test document pull step by rewriting
manifest_directory variable as current source path, which
makes a mess in target_path, manifest_path and related paths
(concatenation of target_path+manifest_path won't return
an existing and proper location). This patch organizes
mentioned variables and enables document pull step which
starts working properly. The latest repo state used as
git source for this command.
Change-Id: I5abce73877441c7529f2f77add79cf410e2226d8
Signed-off-by: Ruslan Aliev <raliev@mirantis.com>
This change adds multi-site support to the gate runner by leveraging
environment variables used by the deployment scripts. Zuul jobs can
change the site by defining the site variable in the job definition. If
no site name is specified, test-site is used as a default.
Example:
- job:
name: gate-script-runner-site-b
vars:
site: site-b
This change will allow the treasuremap repository to test multiple sites
using the same job definitions.
Change-Id: I5ed02d2563db2d2b3b1587fcac94ad2bce805ced
Signed-off-by: Drew Walters <andrew.walters@att.com>
Removed orphaned local scripts because some roles were removed.
Fixed env vars for proper configuration.
Updated documentation accordingly.
Change-Id: I37f0c8d038fb51ddaa57664a65d347056df6f007