This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cdktf-vault Terraform used the selected providers to generate the following execution plan. | |
| Resource actions are indicated with the following symbols: | |
| ~ update in-place | |
| Terraform will perform the following actions: | |
| cdktf-vault # vault_policy.group_devops_policy_ldap_devops_developer_82DAFADE (group_devops_policy/ldap_devops_developer) will be updated in-place | |
| ~ resource "vault_policy" "group_devops_policy_ldap_devops_developer_82DAFADE" { | |
| id = "ldap_devops_developer" | |
| name = "ldap_devops_developer" | |
| ~ policy = <<-EOT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| origin_url=$(git config --get remote.origin.url) | |
| if [[ $origin_url == *"AgTechHub"* ]]; then | |
| new_url=${origin_url/AgTechHub/nera-agro} | |
| git remote remove origin | |
| git remote add origin $new_url | |
| echo "El origen del repositorio se ha actualizado a $new_url" | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <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 https://maven.apache.org/xsd/settings-1.0.0.xsd"> | |
| <servers> | |
| <server> | |
| <id>nera-agro-nera-libs</id> | |
| <username>aws</username> | |
| <password>${env.CODEARTIFACT_AUTH_TOKEN}</password> | |
| </server> | |
| <server> | |
| <id>nera-agro-nera-maven</id> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import boto3 | |
| import hvac | |
| import sys | |
| import pysos | |
| import time | |
| import os | |
| import argparse | |
| def fetch_from_ssm(path): | |
| session = boto3.Session(profile_name='shared-services') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/actions-runner-controller/gh_app_id | |
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/actions-runner-controller/gh_client_id | |
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/actions-runner-controller/gh_private_key | |
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/actions-runner-controller/gh_webhook_secret_token | |
| Adding repo actions-runner-controller https://actions-runner-controller.github.io/actions-runner-controller | |
| "actions-runner-controller" has been added to your repositories | |
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/akhq/clientid | |
| SSM: successfully retrieved key=/production/devops-services-prod/devops/infra/devops-services-prod-main/akhq/googlesecret | |
| Adding repo akhq https://akhq |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [ | |
| { | |
| "pipelineName": "airflow_finance_dags", | |
| "repositoryURL": "[email protected]:frubana/devops_jenkins-pipelines.git", | |
| "credentialId": "github-key", | |
| "branchName": "master", | |
| "pipelineFile": "airflow/airflow_finance_dags.Jenkinsfile" | |
| }, | |
| { | |
| "pipelineName": "airflow_finance_dags", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildscript { | |
| repositories { | |
| mavenCentral() | |
| gradlePluginPortal() | |
| google() | |
| jcenter() | |
| maven { | |
| url 'https://jitpack.io' | |
| allowInsecureProtocol = true | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.jenkinsci.plugins.scriptsecurity.scripts.* | |
| println "groovy:" | |
| println " - script: |" | |
| println " import org.jenkinsci.plugins.scriptsecurity.scripts.*" | |
| println " ScriptApproval scriptApproval = ScriptApproval.get()" | |
| println " [" | |
| // List all Signatures approved on Jenkins |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo yum update -y | |
| sudo yum install -y java-1.8.0-openjdk-devel | |
| cd /opt | |
| wget https://binaries.sonarsource.com/Distribution/sonarqube/sonarqube-7.6.zip | |
| unzip sonarqube-7.6.zip | |
| sudo groupadd sonar | |
| sudo useradd -c "Sonar System User" -d /opt/sonarqube-7.6 -g sonar -s /bin/bash sonar | |
| sudo chown -R sonar:sonar /opt/sonarqube-7.6 | |
| sudo chmod -R 775 /opt/sonarqube-7.6/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "Version": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Sid": "GetAuthorizationToken", | |
| "Effect": "Allow", | |
| "Action": [ | |
| "ecr:GetAuthorizationToken" | |
| ], | |
| "Resource": "*" |
NewerOlder