-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into dependabot/github_actions/aws-actions/stale-…
…issue-cleanup-6
- Loading branch information
Showing
18 changed files
with
164 additions
and
101 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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,47 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
############################################################################### | ||
# Install prereqs | ||
############################################################################### | ||
RUN apt-get update -qq \ | ||
&& apt-get -y install \ | ||
git \ | ||
curl \ | ||
sudo \ | ||
unzip \ | ||
python3-dev \ | ||
python3-pip \ | ||
build-essential \ | ||
# For PPAs | ||
software-properties-common \ | ||
apt-transport-https \ | ||
ca-certificates \ | ||
&& apt-get clean | ||
|
||
############################################################################### | ||
# Python/AWS CLI | ||
############################################################################### | ||
WORKDIR /tmp | ||
|
||
RUN python3 -m pip install setuptools \ | ||
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o awscliv2.zip \ | ||
&& unzip awscliv2.zip \ | ||
&& sudo aws/install \ | ||
&& aws --version | ||
|
||
############################################################################### | ||
# Install pre-built CMake | ||
############################################################################### | ||
RUN curl -sSL https://d19elf31gohf1l.cloudfront.net/_binaries/cmake/cmake-3.13-manylinux1-x64.tar.gz -o cmake.tar.gz \ | ||
&& tar xvzf cmake.tar.gz -C /usr/local \ | ||
&& cmake --version \ | ||
&& rm -f /tmp/cmake.tar.gz | ||
|
||
############################################################################### | ||
# Install entrypoint | ||
############################################################################### | ||
ADD entrypoint.sh /usr/local/bin/builder | ||
RUN chmod a+x /usr/local/bin/builder | ||
ENTRYPOINT ["/usr/local/bin/builder"] |
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
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,19 @@ | ||
name: HandleStaleDiscussions | ||
on: | ||
schedule: | ||
- cron: '0 */4 * * *' | ||
discussion_comment: | ||
types: [created] | ||
|
||
jobs: | ||
handle-stale-discussions: | ||
name: Handle stale discussions | ||
runs-on: ubuntu-latest | ||
permissions: | ||
discussions: write | ||
steps: | ||
- name: Stale discussions action | ||
uses: aws-github-ops/handle-stale-discussions@v1 | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
|
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
Oops, something went wrong.