adamrushuk / devops-lab Goto Github PK
View Code? Open in Web Editor NEWThis is the main repo where I test and use DevOps tools and processes.
This is the main repo where I test and use DevOps tools and processes.
Evaluate using one of the following DNS providers:
https://github.com/kubernetes-sigs/external-dns
https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/azure.md
userAssignedIdentityID
as per workaround here: kubernetes-sigs/external-dns#1548 (comment)https://help.sonatype.com/repomanager3/rest-and-integration-api#RESTandIntegrationAPI-RESTAPI
https://help.sonatype.com/repomanager3/rest-and-integration-api/script-api
https://help.sonatype.com/repomanager3/rest-and-integration-api/script-api/examples
https://github.com/sonatype-nexus-community/nexus-scripting-examples
I usually dev between 06:00 - 09:00, so would like the AKS nodes to be deallocated if I forget to do this manually.
$env:FUNCTIONS_WORKER_RUNTIME_VERSION = '~7'
when local, or add application setting FUNCTIONS_WORKER_RUNTIME_VERSION = '~7'
for hosted function apps.choco install azure-functions-core-tools-3 --params "'/x64'"
for local testing.Use locks or tags to skip prod VMs
https://docs.microsoft.com/en-us/azure/azure-functions/functions-create-first-function-vs-code
Use config appsettings for Service Principal auth during local testing, and MSI once deployed. Azure/Azure-Functions#644 (comment)
Use Ansible and PowerShell 7 to do post deployment configuration via Nexus REST API.
API TODO
result.json != none
Check flags used in PS pipeline test example to reduce output
cat: /nexus-data/admin.password: No such file or directory
https://dev.to/cloudskills/using-containers-for-ansible-development-2n9n
Check what Jenkins agent docker image is used before building my own
https://code.visualstudio.com/docs/remote/containers
Test mounted volume, sandbox, and attaching to running container (in AKS). Validate git and SSH connections. Use additional mount point for local .ssh folder.
https://aka.ms/vscode-remote/samples/kubernetes-helm
Add similar Dockerfile as used for building in Jenkins. Update to latest PowerShell and Az modules:
Install-Module Az.Accounts -Scope AllUsers -Acceptlicense -Force
Set bash autocomplete for kubectl and other CLIs
Install the same Ansible version as GitHub Ubuntu1804 runner: https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md
https://launchpad.net/~ansible/+archive/ubuntu/ansible
sudo add-apt-repository ppa:ansible/ansible
sudo apt-get update
https://docs.ansible.com/ansible/latest/reference_appendices/interpreter_discovery.html
Test all interactions:
https://www.edc4it.com/blog/java/minikube-nexus-statefulset-ingress
Need extra ports mapped. Check with:
kubectl describe sts -A
Test configuring another ingress in different namespace called nexus
.
Add an insecure-repo setting or arg:
docker-machine provision default
after updating $HOME/.docker/machine/machines/default/config.json
Use new features like Managed Identity
Currently disabled as waiting for issue to be fixed: zyborg/pester-tests-report#1
TODO
throughout code.No longer needed.
#!/bin/bash
set -euo pipefail
Might be better than passing secrets around within GitHub Actions
initial_lab_setup.sh
script, using gh
CLI for github steps like secretsworks when CI_DEBUG: false
test using CI_DEBUG: true
"Run after the first terraform apply
, and viola. At least you are more confident that your code is idempotent any it does not create a new resource due to a random string or something within the code."
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.