Auto Build(CI SCM GIT)19 airflow example DAG 생성 및 BashOperator 예제 (test.py) from datetime import timedelta from textwrap import dedent # The DAG object; we'll need this to instantiate a DAG from airflow import DAG # Operators; we need this to operate! from airflow.operators.bash import BashOperator from airflow.utils.dates import days_ago # These args will get passed on to each operator # You can override them on a per-task basis durin.. 2022. 8. 23. linux (centos) gradle 설치 centos gradle 설치 gradle 4.9 이상 버전에서 Lombok 오류 발생 4.8 이하로 다운 그레이드 필요. Spring boot , querydsl , lombock 등 각 모듈 버전에 따라 맞는 버전이 있음으로 각자의 버전에 맞게 설치. 3.1 Gradle 다운 로드 > wget https://services.gradle.org/distributions/gradle-4.8.1-bin.zip > sudo mkdir /opt/gradle > sudo unzip -d /opt/gradle gradle-4.8.1-bin.zip > ls /opt/gradle/gradle-4.8.1 3.3. 환경 설정 추가 > vim /etc/environment or vim /etc/profile export .. 2020. 7. 28. git 명령어 ---------------------------------------------------------------------------------깃 Bare Hock 사용법 git --bare initgit remote add {원하는Git서버명} ssh://{USER}@{IP}:{PORT}/{PATH}git --work-tree=/var/www/manager2 --git-dir=/home/mycup/git/test checkout -fgit remote add remotedev ssh://root@192.168.10.1:7777/ --------------------------------------------------------------------------------깃 리모트 브렌치 체크아웃 사용.. 2018. 11. 26. Git 빈폴더 추가 관리 하기 (git empty folder add) 빈폴더에 .keep 텍스트 파일을 만들어 관리 한다. touch .keep 모든 폴더를 검사해서 .keep 파일 생성. git clean -nd | sed s/'^Would remove '// | xargs -I{} touch "{}.keep" Log 폴더 관리 log 폴더와 같이 정말 빈 디렉토리만 존재하고 내부에 생성되는 파일은 Tracking할 필요가 없을 때는 .gitignore 파일을 만들어 사용한다. #ignore all files in this dir...*#... except for this one.!.gitignore 2018. 11. 1. 이전 1 2 3 4 5 다음 728x90