Skip to content

Commit 53b8073

Browse files
committed
Merge branch 'sliedig/iac' into develop
2 parents d17cca3 + de2a9fb commit 53b8073

66 files changed

Lines changed: 3456 additions & 1514 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: 'Configure Build Environment'
2+
description: 'A reusable action that configures the build environment'
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- run: echo "**** Setup Python ****"
8+
- name: Setup Python
9+
uses: actions/setup-python@v6
10+
with:
11+
python-version: ${{ env.PYTHON_VERSION }}
12+
- run: python --version
13+
14+
- run: echo "**** Install Python based tooling ****"
15+
- name: Install Python based tooling
16+
run: pip install cfn-lint cfn-lint-serverless
17+
18+
- run: echo "**** Setup Java ****"
19+
- name: Setup Java
20+
uses: actions/setup-java@v5
21+
with:
22+
distribution: 'corretto'
23+
java-version: ${{ env.JAVA_VERSION }}
24+
- run: java --version
25+
26+
- run: echo "**** Setup Maven ****"
27+
- name: Set up Maven
28+
uses: stCarolas/setup-maven@v5
29+
with:
30+
maven-version: ${{ env.MAVEN_VERSION }}
31+
- run: mvn --version
32+
33+
- run: echo "**** Install AWS CLI ****"
34+
- name: Install AWS CLI
35+
run: |
36+
curl -s "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
37+
unzip -q awscliv2.zip
38+
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update > /dev/null 2>&1
39+
aws --version
40+
41+
- run: echo "**** Install SAM CLI ****"
42+
- name: Install SAM CLI
43+
uses: aws-actions/setup-sam@v2
44+
with:
45+
use-installer: true
46+
- run: sam --version

0 commit comments

Comments
 (0)