- Feb 18, 2019
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
When subgroups are used, path_with_namespce can include several "/". We don't use subgroups in ansible-galaxy but should not crash when receiving a webhook from another group (as the system hooks are global).
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Having the version in the .gitlab-ci.yml file make it difficult to update. We could use a global variable but latest is probably fine. We control the image. If we push a new one, it should be used.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Command to run periodically to make sure the ansible-galaxy repository is up-to-date with the ics-ansible-galaxy group. The repo could diverge if the bot or GitLab API is down, a webhook is lost... JIRA INFRA-826 #action In Progress
-
- Feb 17, 2019
-
-
Benjamin Bertrand authored
Use click to implement subcommands to run the bot and the worker instead of 2 separate endpoints.
-
- Feb 16, 2019
-
-
Benjamin Bertrand authored
Submodule should be deleted when a repo is transferred, renamed or archived. Note that when a project is renamed, the new project will only be added when pushing to it.
-
Benjamin Bertrand authored
Visual Studio Code local settings
-
Benjamin Bertrand authored
It happened a few times that the merge request was accepted before the pipeline was started. Adding a 2 seconds delay should be enough. A cleaner solution would be to call the API to see if a pipeline exists. Could be implemented if the problem occurs again.
-
- Jan 23, 2019
-
-
Benjamin Bertrand authored
JIRA INFRA-748
-
- Jan 17, 2019
-
-
Benjamin Bertrand authored
The automatic merge can be disabled by including the words "do not merge" (case insensitive) in the message of the tag JIRA INFRA-748 #action In Progress
-
- Dec 17, 2018
-
-
Benjamin Bertrand authored
We had issues with AWX when a project was not updated if scm_delete_on_update was not set to True. This is the new default used for projects.
-
- Sep 14, 2018
-
-
Benjamin Bertrand authored
JIRA INFRA-526
-
- Sep 11, 2018
-
-
Benjamin Bertrand authored
Allow to disabled logging to prevent displaying secrets (like the tower-cli oauth token). Add some tests for the run function.
-
Benjamin Bertrand authored
-
- Sep 10, 2018
-
-
Benjamin Bertrand authored
- organization shall be passed as primary key (not string). - scm_credential is ignored. credential shall be passed instead as primary key (not string). Do a lookup on both to get the primary key. See https://github.com/ansible/ansible/pull/24624 JIRA INFRA-510
-
Benjamin Bertrand authored
Add new env variables: - TOWER_HOST - TOWER_OAUTH_TOKEN JIRA INFRA-510
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
We trigger the task on "Push Hook" and not "System Hook" (repository creation) because AWX tries to clone the repository when creating a project and that fails when the repo is empty. It also makes sure that if a project wasn't created for an old repo, it will. JIRA INFRA-510 #action In Progress
-
Benjamin Bertrand authored
Needed for Sentry support
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
The access token used to create merge request via the API is linked to a user. It's better to use a bot user in GitLab. We can then use this user ssh key instead of a global deploy key.
-
- Sep 07, 2018
-
-
Benjamin Bertrand authored
It shouldn't have been removed... galaxy_bot.__main__:main is defined as entry point in setup.py to just run galaxy-bot. We can still call python -m galaxy_bot
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
The same docker image is used both for the web server and worker. We shouldn't have to pass all env variables to both. GALAXY_BOT_SSH_KEY is only used by the worker for example.
-
Benjamin Bertrand authored
Ensure that a KeyError will be raised as soon as we import the library if an env variable is not defined and not only at run time.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
This requires to register a System hook.
-
- Sep 06, 2018
-
-
Benjamin Bertrand authored
There is no point checking the key when pushing to another branch than master.
-
Benjamin Bertrand authored
In theory, tag should not be deleted, but it's better to handle that case.
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Check that the bot can process and reply to a webhook request
-
- Sep 05, 2018
-
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
Use the ESS instance and not the cloud one... We have to write more tests...
-
Benjamin Bertrand authored
-
Benjamin Bertrand authored
-