AWS Lambda: Advanced Coding Session (slides)
Live demos:
- Amazon API Gateway Access Control
- Amazon Kinesis Streams processing
- Amazon Cognito Sync trigger
- AWS CloudFormation Custom Resources
sudo firewall-cmd --permanent --add-port=8080/tcp | |
sudo firewall-cmd --reload | |
sudo systemctl start jenkins.service | |
systemctl status jenkins.service | |
sudo dnf install policycoreutils-devel setroubleshoot-server | |
sepolicy network -t http_port_t | |
sudo semanage port -a -t http_port_t -p tcp 8080 #(definimos rgla para el tcp/8080) | |
sudo dnf install nginx |
#[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.4.0.905:sonar (default-cli) on project data.model: Unable to execute SonarQube: Fail to get bootstrap index from server: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1] | |
keytool -import -v -trustcacerts -alias mySonarServer -file sonarServer.crt -keystore cacerts | |
#Where cacerts is the one from the JRE installation. |
git clone --mirror <url_of_old_repo> | |
cd <name_of_old_repo> | |
git remote add new-origin <url_of_new_repo> | |
git push new-origin --mirror |
git config --global http.postBuffer 524288000 |
stage("Te saco las clave") { | |
steps { | |
script { | |
def creds = com.cloudbees.plugins.credentials.CredentialsProvider.lookupCredentials( | |
com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.class, | |
Jenkins.instance, | |
null, | |
null | |
); | |
for (c in creds) { |
<?xml version="1.0" encoding="UTF-8"?> | |
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
<mirrors> | |
<mirror> | |
<!--This sends everything else to /public --> | |
<id>nexus</id> | |
<mirrorOf>*</mirrorOf> |
BCBA:GGAL*10/NASDAQ:GGAL |
git clone --mirror old-repo-url new-repo | |
cd new-repo | |
git remote remove origin | |
git remote add origin new-repo-url | |
git push --all | |
git push --tags |
Live demos:
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:deadsnakes/ppa | |
sudo apt update | |
sudo apt install python3.7 | |
sudo apt install pipenv | |
pip3 install pipenv --user | |
pipenv --python 3.7 | |
pipenv shell | |
#pip install jwt | |
#pip uninstall jwt==1.0.0 |