-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add `ap-southeast-5` * revamp pipeline * build image first * awscli is already installed * only build image on changes on dockerfile * see if cli updates * build image and check latest `aws-cli` version * specify aws cli version * update image building and aws cli install
- Loading branch information
1 parent
9e4af12
commit e84f017
Showing
12 changed files
with
96 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ package-lock.json | |
**/.serverless | ||
/.idea/ | ||
|
||
ci/build-*.yaml | ||
.gitlab/build-*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM registry.ddbuild.io/images/docker:24.0.5 | ||
|
||
RUN apt-get update && apt-get install -y --fix-missing --no-install-recommends \ | ||
curl gcc gnupg g++ make cmake unzip openssl g++ uuid-runtime xxd ca-certificates | ||
|
||
# Install NodeJS 18.x | ||
RUN mkdir -p /etc/apt/keyrings | ||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg | ||
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list | ||
RUN apt-get update && apt-get install -y nodejs | ||
|
||
# Install Yarn and Typescript globally | ||
RUN npm install --global yarn typescript | ||
RUN yarn global add serverless@^3 --prefix /usr/local | ||
|
||
# Install AWS CLI | ||
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | ||
RUN unzip awscliv2.zip && ./aws/install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
inputFiles: | ||
- .gitlab/input_files/build.yaml.tpl | ||
|
||
outputFiles: | ||
- .gitlab/build-pipeline.yaml | ||
|
||
datasources: | ||
runtimes: | ||
url: .gitlab/datasources/runtimes.yaml | ||
regions: | ||
url: .gitlab/datasources/regions.yaml | ||
environments: | ||
url: .gitlab/datasources/environments.yaml |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file was deleted.
Oops, something went wrong.