Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add RPMs and Anywhere scripts to validation #3358

Merged
merged 1 commit into from
Aug 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion scripts/verify-agent-artifacts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# limitations under the License.

AGENT_VERSION="${1:-}"
INIT_VERSION="${AGENT_VERSION}-1"
chienhanlin marked this conversation as resolved.
Show resolved Hide resolved
BUCKET_NAME="${2:-}"
SHA=$(git rev-parse --short=8 HEAD)

Expand Down Expand Up @@ -66,7 +67,35 @@ ecs-agent-arm64-v${AGENT_VERSION}.tar.asc
ecs-agent-arm64-${SHA}.tar
ecs-agent-arm64-${SHA}.tar.md5
ecs-agent-arm64-${SHA}.tar.json
ecs-agent-arm64-${SHA}.tar.asc"
ecs-agent-arm64-${SHA}.tar.asc
ecs-anywhere-install-latest.sh
ecs-anywhere-install-latest.sh.asc
ecs-anywhere-install-${INIT_VERSION}.sh
ecs-anywhere-install-${INIT_VERSION}.sh.asc
amazon-ecs-init-${INIT_VERSION}.x86_64.rpm
amazon-ecs-init-${INIT_VERSION}.x86_64.rpm.asc
amazon-ecs-init-${INIT_VERSION}.aarch64.rpm
amazon-ecs-init-${INIT_VERSION}.aarch64.rpm.asc
amazon-ecs-init-${INIT_VERSION}.amd64.deb
amazon-ecs-init-${INIT_VERSION}.amd64.deb.asc
amazon-ecs-init-${INIT_VERSION}.arm64.deb
amazon-ecs-init-${INIT_VERSION}.arm64.deb.asc
ecs-init-${INIT_VERSION}.amzn2.aarch64.rpm
ecs-init-${INIT_VERSION}.amzn2.aarch64.rpm.asc
ecs-init-${INIT_VERSION}.amzn2.x86_64.rpm
ecs-init-${INIT_VERSION}.amzn2.x86_64.rpm.asc
ecs-init-${INIT_VERSION}.amzn2022.aarch64.rpm
ecs-init-${INIT_VERSION}.amzn2022.aarch64.rpm.asc
ecs-init-${INIT_VERSION}.amzn2022.x86_64.rpm
ecs-init-${INIT_VERSION}.amzn2022.x86_64.rpm.asc
ecs-init-latest.amzn2.aarch64.rpm
ecs-init-latest.amzn2.aarch64.rpm.asc
ecs-init-latest.amzn2.x86_64.rpm
ecs-init-latest.amzn2.x86_64.rpm.asc
ecs-init-latest.amzn2022.aarch64.rpm
ecs-init-latest.amzn2022.aarch64.rpm.asc
ecs-init-latest.amzn2022.x86_64.rpm
ecs-init-latest.amzn2022.x86_64.rpm.asc"

# verify the files actually exist:
for f in $files; do
Expand Down