Resolve the following error when logging into the remote docker registry.
Failed to import the required Python library (Docker SDK for Python:
docker (Python >= 2.7) or docker-py (Python 2.6)) on
ubuntu-bionic-rax-dfw-0015461365's Python /usr/bin/python3.
Please read module documentation and install in the appropriate
location, for example via `pip install docker` or `pip install docker-py`
(Python 2.6). The error was: No module named 'docker'
Change-Id: I0df7e58aae886dfa3901815a60853e47c98b5e90
This reverts commit 5c5ff8b46f254c5004bbf20b9b7da4933d476b58.
Logs are not being collected under artifacts section of Zuul.
Container logs collector patch set 712555 needs further work.
Change-Id: If8703812cf101506de2808365dfee6c032a0f35f
Currently, the image publish job is not functioning. This appears to be
due to an invalid secret name. Hyphens cause problems in Ansible
variable names [0]. This change converts the secrets in this repository
to use underscores.
[0] https://github.com/ansible/ansible/issues/3907
Closes #33
Change-Id: I2b1db9ba01a425788541afd8938afef92ef539d6
Signed-off-by: Drew Walters <andrew.walters@att.com>
This commit adds small fix, a missing 'path' parameter to synchronize
module call
Relates-To: #111
Closes: #111
Change-Id: I5208a0b327ddc75941f82dec671e6869352ed2ad
This PS adds role which does the log collection
Change-Id: Id249d87be4e95568659bdd5c6b1a20d279bc5e9f
Signed-off-by: Sreejith Punnapuzha <sreejith.punnapuzha@outlook.com>
Add NewBundleByPath function, that would return bundle built from
the specified path argument
Add CurrentContextEntryPoint method of the config
object, that would allow easily get kustomize root path based on
clusterType and phase. You can also leave phase arg empty string,
which would try to return bundle for all phases
Introduce changes to config pakage objects:
- Manifest:
SubPath: this is relative path to the root of the repository that
contains directories with sites (SiteNames)
PrimaryRepositoryName: this is a string that must correspond to a key
of the Repositories map of manifest object, which is used to derive
primary repository
Repositories object is a map, map keys correspond to names of the
directories where `document pull` command will download repositories
defined in manifest prepended by manifest.TargetPath.
Introduce new config method CurrentContextEntryPoint(), method takes
TargetPath, PrimaryRepo.URL, SubPath, and clusterType and phase
constructs a path to the entry point out of which the DocumentBundle
should be build, and returns it to the caller. After that caller can
build a bundle out of it, the bundle will contain documents relevant to
particular cluster-type and phase.
All objects that depend on bundle interface are updated to use the
CurrentContextEntryPoint() method of the config object
Relates-To: #99
Closes: #99
Change-Id: I99320c4cb626841d46f4c298b583e9af90b1dce4
Airshipctl no longers supports kubectl subcommand. Updated the Ansible
task name to reflect the change.
Change-Id: Ie6dd02c296ef20e2a491c6f3357d7bc89aa40e88
Signed-off-by: James Gu <james.gu@att.com>
With this change libvirt securty driver will be set to none,
also small fix to ignore errors during connection reset, this will
allow to run roles with connection_local
Change-Id: I0cbe7a465ce2e21aa23bde2aa7c1adb9f5f09cda
This change introduces a job that publishes the latest airshipctl image
to quay.io/airshipit/airshipctl each time a new change is merged.
Closes #33
Change-Id: I8468b10a8064333d1749015960151e98adb2be97
Signed-off-by: Drew Walters <andrew.walters@att.com>
This role uses config files from default directories to generate
iso for ephemeral node. Unfortunately docker image to build iso is
not yet available in upstream, hence we are currently using private
repository of the developer
Change-Id: I475fefe38a89466f782ece0a7ceb9952980f98c4
A change recently changed .yml file extensions to .yaml. This change
updates an ansible vars file that was missed during the refactor in
order to restore CI functionality.
Change-Id: Id832f71d2073ad1b3a552ad67a0a1617e80ea32a
Signed-off-by: Drew Walters <andrew.walters@att.com>
Currently we have mixed extensions of .yml and .yaml, this patch is
an effort to standardize all yaml documents as .yaml
Change-Id: I7eb815584de5856bbdac9a828ccad8518e8c1729
This change introduces a job to build airshipctl documentation and
publish a preview for each new PS.
Related #59
Change-Id: I741c59f2c1dc50e66bf3cacfc8cb385ec9ec223d
Signed-off-by: Drew Walters <andrew.walters@att.com>
This change adds a voting job that builds the airshipctl docker image on
each patch set. The same job will be updated in a later commit to
publish the image to the quay.io/airshipit/airshipctl repository.
Related #33
Change-Id: I202da62c77ec277312518fead09f0f3ef32ccde8
Signed-off-by: Drew Walters <andrew.walters@att.com>
Changes is needed because we can not make dependencies on PRs from
other repositories such as zuul-airship-roles, this would allow more
robust development in the stage we currently are in. When there will
be less activity on gating roles will be moved back to separate repo.
Change-Id: I85c9bdd47b5aaba90df5458b20c90ff5c912c05f