Skip to content

ruzickap/gha-test

Repository files navigation

gha-test

CodeQL Commit Check MegaLinter Release Please Renovate Scorecards Semantic Pull Request Stale

GitHub Action test repository...

Version test

  • Full Release: 2.1.0
cat << EOF
* Full Release: 2.1.0
EOF
  • Full Release: 2.0.0
  • Major Release: 2
  • Major Release: test@2
cat << EOF
* Full Release: 2.0.0
* Major Release: 2
* Major Release: test@2
EOF
  • Full Release: 1.0.0
  • Minor Release: 1
  • Minor Release: test@1
cat << EOF
* Full Release: 1.0.0
* Minor Release: 1
* Minor Release: test@1
EOF
  • Full Release: 0.0.0
  • Patch Release: 0
  • Patch Release: test@0

MP4 Video:

2023-12-17_13-02-14.mp4

AV1 Video:

2023-12-17_13-02-14-av1.mp4
cat << EOF
* Full Release: 0.0.0
* Patch Release: 0
* Patch Release: test@0
EOF

End...

echo "Test: $(date +'%F')"
echo "Test: $(date +'%F')"
kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:2.1.0
kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:2
kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:1.1

Pod limit on Node - AWS EKS


export AWS_DEFAULT_REGION="eu-central-1"

aws cloudformation deploy --capabilities CAPABILITY_IAM \
  --stack-name "${USER}-malware-cryptominer-container-ec2" \
  --parameter-overrides "ContainerImage=quay.io/petr_ruzicka/malware-cryptominer-container:2.1.0" \
  --template-file EC2InstanceWithDockerSample.yaml \
  --tags "Name=${USER}-malware-cryptominer-container-ec2"

# aws cloudformation delete-stack --stack-name ${USER}-malware-cryptominer-container-ec2
export AWS_DEFAULT_REGION="eu-central-2"

aws cloudformation deploy --capabilities CAPABILITY_IAM \
  --stack-name "${USER}-malware-cryptominer-container-ec2" \
  --parameter-overrides "ContainerImage=quay.io/petr_ruzicka/malware-cryptominer-container:2" \
  --template-file EC2InstanceWithDockerSample.yaml \
  --tags "Name=${USER}-malware-cryptominer-container-ec2"

# aws cloudformation delete-stack --stack-name ${USER}-malware-cryptominer-container-ec2

Run in Kubernetes:

# Test release: 2.1.0
# Test release: 1.1
# Test release: 1

kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:2.1.0

About

GitHub Action Test repository

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 6