-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
UID2-3331 Update ami from al2 to al2023 (#641)
* Update AL source * Remove unnecessary arguments * Update installing aws-nitro-enclaves-cli * Use dnf instead of yum * Remove the step for installing epel * Define cut down version of syslog-ng * Update inputs for `actions/download-artifact@v4` * Copy syslog-ng-amazon23.repo to artifacts dir * Temporary change ref to use new files * Update syslog-ng-amazon23.repo path * Add steps to ensure /etc/cron.d/ folder exist * Remove disabling rsyslog * Give cron.d 0755 access * Put in scripts for logrotate under cron.daily * Update external ethernet port name * Add `df -h` to monitor disk usage * Disable DOCKER_BUILDKIT for docker build * Make Makefile.nitro run quietly * Comment out uid2 build * Use .github/workflows/publish-aws-nitro-enclave-docker.yaml for build_aws_eif * Remove --quiet mode * Update start.sh * Install libxcrypt-compat * Modify scripts/aws/entrypoint.sh to match AL2023 metadata standard * Use echo $SECURITY_CREDS to get AWS keys * Convert .github/workflows/publish-aws-nitro-enclave-docker.yaml to main
- Loading branch information
1 parent
7d2c1c6
commit 46ae1ee
Showing
11 changed files
with
75 additions
and
49 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
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,8 @@ | ||
#!/bin/sh | ||
|
||
/usr/sbin/logrotate -s /var/lib/logrotate/logrotate.status /etc/logrotate.conf | ||
EXITVALUE=$? | ||
if [ $EXITVALUE != 0 ]; then | ||
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]" | ||
fi | ||
exit 0 |
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,10 @@ | ||
[copr:copr.fedorainfracloud.org:czanik:syslog-ng-amazon23] | ||
name=Copr repo for syslog-ng-amazon23 owned by czanik | ||
baseurl=https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng-amazon23/amazonlinux-2023-$basearch/ | ||
type=rpm-md | ||
skip_if_unavailable=True | ||
gpgcheck=1 | ||
gpgkey=https://download.copr.fedorainfracloud.org/results/czanik/syslog-ng-amazon23/pubkey.gpg | ||
repo_gpgcheck=0 | ||
enabled=1 | ||
enabled_metadata=1 |
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