You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2023/10/05 21:20:07 UTC

[couchdb-infra-cm] branch create-hex-and-gradle-cache-dirs created (now 94aa1fa)

This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a change to branch create-hex-and-gradle-cache-dirs
in repository https://gitbox.apache.org/repos/asf/couchdb-infra-cm.git


      at 94aa1fa  Automatically create /home/jenkins/{.gradle,.hex} directories

This branch includes the following new commits:

     new 94aa1fa  Automatically create /home/jenkins/{.gradle,.hex} directories

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[couchdb-infra-cm] 01/01: Automatically create /home/jenkins/{.gradle,.hex} directories

Posted by va...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

vatamane pushed a commit to branch create-hex-and-gradle-cache-dirs
in repository https://gitbox.apache.org/repos/asf/couchdb-infra-cm.git

commit 94aa1faa1cc287c2982109bc61614d9000fe57de
Author: Nick Vatamaniuc <va...@gmail.com>
AuthorDate: Thu Oct 5 17:16:18 2023 -0400

    Automatically create /home/jenkins/{.gradle,.hex} directories
---
 roles/ci_agent/tasks/main.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/roles/ci_agent/tasks/main.yml b/roles/ci_agent/tasks/main.yml
index fe585b1..f45de65 100644
--- a/roles/ci_agent/tasks/main.yml
+++ b/roles/ci_agent/tasks/main.yml
@@ -129,3 +129,22 @@
     src: /etc/sv/jenkins
     dest: /etc/service/jenkins
     state: link
+
+- name: Setup Gradle cache directory
+  become: yes
+  file:
+    path: /home/jenkins/.gradle
+    state: directory
+    owner: jenkins
+    group: jenkins
+    mode: u=rwX,g=rX,o=rX
+
+- name: Setup Hex cache directory
+  become: yes
+  file:
+    path: /home/jenkins/.hex
+    state: directory
+    owner: jenkins
+    group: jenkins
+    mode: u=rwX,g=rX,o=rX
+