Skip to content

Instantly share code, notes, and snippets.

View pen-pal's full-sized avatar
💻
I may be slow to respond.

Manish K pen-pal

💻
I may be slow to respond.
View GitHub Profile
@pen-pal
pen-pal / install.sh
Created December 6, 2023 04:13
gitlab runner k8s installation
helm repo add gitlab https://charts.gitlab.io
helm repo update
helm upgrade --install --create-namespace --namespace <NAMESPACE> gitlab-runner -f <CONFIG_VALUES_FILE> gitlab/gitlab-runner --set gitlabUrl=https://gitlab.com/ --set runnerToken=<GITLAB_RUNNER_TOKEN>
@pen-pal
pen-pal / get-parameter
Created December 4, 2023 02:09
get parameter from aws with decryption
#this will get parameters list from aws and output it
aws ssm get-parameter --name "{{parameter-name}" --with-decryption --query "Parameter.Value" --output text
@pen-pal
pen-pal / file.txt
Created December 4, 2023 01:51
create file based on parameter store name `/dev/hello/env` as `dev-hello-env` in local
/dev/hello/a
/dev/hello/b
/dev/hello/c
/dev/hello/d
/dev/hello/e
/dev/hello/f
/dev/hello/g
@pen-pal
pen-pal / codebuild.tf
Last active December 4, 2023 02:13
codebuild.tf
variable "codebuild_specs" {
type = any
default = {}
#sample example
#codebuild_specs = {
# "test-api0" = {
# app_type = "java"
# location = "https://github.com/pen-pal/test-api0"
# buildspec = "buildspec.yml"
# nodeenv = "16"
@pen-pal
pen-pal / ubuntu-16.04(xenial)-sources.list
Last active December 4, 2023 02:12
ubuntu-16.04(xenial)-sources.list
#deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ xenial main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
@pen-pal
pen-pal / sns-outputs.tf
Created March 22, 2023 07:52
sns topic terraform
output "sns_topic" {
value = aws_sns_topic.this
description = "SNS topic"
}
output "aws_sns_topic_subscriptions" {
value = aws_sns_topic_subscription.this
description = "SNS topic subscriptions"
}
@pen-pal
pen-pal / create_aur_package.md
Last active December 4, 2023 02:12
Create New AUR Package