File tree Expand file tree Collapse file tree 3 files changed +600
-0
lines changed
Expand file tree Collapse file tree 3 files changed +600
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generate SHA256 Checksum
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' AWS/EC2/ec2-install.sh' # Trigger only when the install.sh file in the AWS/EC2 directory is changed
7+ types :
8+ - opened
9+ - synchronize
10+ - reopened
11+
12+ jobs :
13+ generate-checksum :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Checkout code
18+ uses : actions/checkout@v4
19+
20+ - name : Generate SHA256 checksum for install.sh in AWS/EC2 directory
21+ run : |
22+ # Generate SHA256 checksum for the install.sh script located in AWS/EC2
23+ sha256sum AWS/EC2/ec2-install.sh > AWS/EC2/ec2-install.sh.sha256
24+
25+ - name : Commit SHA256 file to AWS/EC2 directory
26+ run : |
27+ # Set up Git config
28+ git config --global user.name 'github-actions'
29+ git config --global user.email 'github-actions@github.com'
30+
31+ # Add the generated checksum file in the AWS/EC2 directory
32+ git add AWS/EC2/ec2-install.sh.sha256
33+ git commit -m "Add SHA256 checksum for ec2-install.sh in AWS/EC2 directory"
34+ git push
Original file line number Diff line number Diff line change 1+ # EC2 Installation Quickstart
2+
3+ * A Develocity license
4+ * An active ** AWS account**
5+ * Basic familiarity with AWS EC2
6+
7+ ## Getting Started
8+
9+ HERE THE LINK TO THE DOC
10+
11+ ``` shell
12+ ec2-install.sh --license $PATH /TO/LICENSE --hostname $AWS -HOSTNAME
13+ ```
You can’t perform that action at this time.
0 commit comments