Skip to content

Commit a1be8d3

Browse files
committed
chore: Updated Go deploy config and script
1 parent 0aa92d5 commit a1be8d3

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<html>
2-
<body>
3-
<h2>Hello World!</h2>
4-
</body>
2+
<body>
3+
<h2>Hello World!</h2>
4+
</body>
55
</html>

test/deploy/linux/java/redhat/roles/configure/tasks/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@
2525
PATH: "{{ ansible_env.PATH }}:/opt/jdk-14.0.1/bin:/opt/apache-maven/bin"
2626
JRE_HOME: "/opt/jdk-14.0.1"
2727
become: true
28+
29+
- name: Change the permissions and ownership of javaApp directory
30+
shell: chown -R ec2-user:ec2-user /home/ec2-user/javaApp/ &&
31+
chmod -R 755 /home/ec2-user/javaApp
32+
become: true
2833

2934
- name: Move the package
3035
shell: mv /home/ec2-user/javaApp/target/javaApp.war /opt/tomcat/latest/webapps

test/manual/definitions/apm/java/linux/java-al2.json renamed to test/manual/definitions/apm/java/linux/java-tomcat-maven-linux2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
},
2525
{
2626
"id": "javaApp",
27-
"source_repository": "https://github.com/newrelic/open-install-library.git",
27+
"local_source_path": "/mnt/deployer",
2828
"deploy_script_path": "test/deploy/linux/java/redhat/roles",
2929
"port": 80,
3030
"destinations": ["dummyApp"]

0 commit comments

Comments
 (0)