An open API service indexing awesome lists of open source software.

https://github.com/ruzickap/gha-test

GitHub Action Test repository
https://github.com/ruzickap/gha-test

actions ci gha github github-action test

Last synced: about 2 months ago
JSON representation

GitHub Action Test repository

Awesome Lists containing this project

README

          

# gha-test

[![CodeQL](https://github.com/ruzickap/gha-test/actions/workflows/codeql.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/codeql.yml)
[![Commit Check](https://github.com/ruzickap/gha-test/actions/workflows/commit-check.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/commit-check.yml)
[![MegaLinter](https://github.com/ruzickap/gha-test/actions/workflows/mega-linter.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/mega-linter.yml)
[![Release Please](https://github.com/ruzickap/gha-test/actions/workflows/release-please.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/release-please.yml)
[![Renovate](https://github.com/ruzickap/gha-test/actions/workflows/renovate.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/renovate.yml)
[![Scorecards](https://github.com/ruzickap/gha-test/actions/workflows/scorecards.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/scorecards.yml)
[![Semantic Pull Request](https://github.com/ruzickap/gha-test/actions/workflows/semantic-pull-request.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/semantic-pull-request.yml)
[![Stale](https://github.com/ruzickap/gha-test/actions/workflows/stale.yml/badge.svg)](https://github.com/ruzickap/gha-test/actions/workflows/stale.yml)

GitHub Action test repository...

Version test

[//]: # (x-release-please-start-version)

* Full Release: 2.1.0

```bash
cat << EOF
* Full Release: 2.1.0
EOF
```

[//]: # (x-release-please-end)

[//]: # (x-release-please-start-major)

* Full Release: 2.0.0
* Major Release: 2
* Major Release: test@2

```bash
cat << EOF
* Full Release: 2.0.0
* Major Release: 2
* Major Release: test@2
EOF
```

[//]: # (x-release-please-end)

[//]: # (x-release-please-start-minor)

* Full Release: 1.0.0
* Minor Release: 1
* Minor Release: test@1

```bash
cat << EOF
* Full Release: 1.0.0
* Minor Release: 1
* Minor Release: test@1
EOF
```

[//]: # (x-release-please-end)

[//]: # (x-release-please-start-patch)

* Full Release: 0.0.0
* Patch Release: 0
* Patch Release: test@0

MP4 Video:

AV1 Video:

```bash
cat << EOF
* Full Release: 0.0.0
* Patch Release: 0
* Patch Release: test@0
EOF
```

[//]: # (x-release-please-end)

End...

```bash
echo "Test: $(date +'%F')"
```

```shell
echo "Test: $(date +'%F')"
```

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

```bash
kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:2
```

```bash
kubectl run malware-cryptominer --image=quay.io/petr_ruzicka/malware-cryptominer-container:1.1
```

[Pod limit on Node - AWS EKS](https://stackoverflow.com/questions/57970896/pod-limit-on-node-aws-eks/57971006)

---

* Container Image:
* [quay.io/petr_ruzicka/malware-cryptominer-container:3](https://quay.io/petr_ruzicka/malware-cryptominer-container:2.0.0)

```bash
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
```

```bash
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:

```bash
# 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
```