SlideShare a Scribd company logo
1 of 38
Download to read offline
DevOps Taiwan Meetup #19 - 那些年
我們踩的 CI 坑
Len Chang, December 14 2018
Outline
● Me
● Issues Discussion
○ CI / CD of gitlab
○ CI / CD of bitbucket
○ logstash of Elastic
● Advertisement time !!
Me
Fear is a choice ~
https://www.linkedin.com/in/huailunchang/
Issues Discussion-CI / CD of gitlab
Q: How to deploy
gitLab-runner ?
Key word
● CI/CD of GitLab
● GitLab-runner
Q: How to deploy gitLab-runner ?
Step 1.
● open GitLab
Server and follow
the steps
Q: How to deploy gitLab-runner ?
Step 2.
● Set up gitlab-runner
● Set parameters
Q: How to deploy gitLab-runner ?
Step 3.
● Config setting
Q: How to deploy
gitLab-runner ?
Something you need to care about….
● permission is important !!!
Q: How to clean
gitLab-runner ?
Key word
● NULL
Q: How to clean gitLab-runner ?
Q: How to clean gitLab-runner ?
gitlab-runner verify --delete. It will delete runners that got removed from GitLab.
Reference
Q: How to clean
gitLab-runner ?
Something you need to care about….
● Still .. NULL
CI / CD of bitbucket
Q: How to deploy
app in Google App
Engine by Bitbucket
Pipelines ?
Key word
● Google App Engine
● Bitbucket Pipelines
Q: How to deploy app in Google App Engine by
Bitbucket Pipelines ?
Step 1.
● Apply GCP / Bitbucket account
● Make sure your app can run on local and
match Google App Engine Environment
Step 2.
● Get auth. key from GCP
Q: How to deploy app in Google App Engine by
Bitbucket Pipelines ?
Step 3.
● Bitbucket Setting
a. Enable your settings
Q: How to deploy app in Google App Engine by
Bitbucket Pipelines ?
Step 4.
● Bitbucket Setting
a. Set repository variables
Q: How to deploy app in Google App Engine by
Bitbucket Pipelines ?
Step 5.
● Bitbucket Setting
a. write pipelines.yaml
Q: How to deploy
app in Google App
Engine by Bitbucket
Pipelines ?
Something you need to care about….
● Limitations of Bitbucket Pipelines
○ Free 50 minutes
● Something will break down forever….
Q: How to deploy
web (Angular)
in Google Cloud
Storage by
Bitbucket Pipelines
?
Key word
● Google Cloud Storage
○ https://cloud.google.com/storage/
● Angular
○ https://angular.io/
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 1.
● Apply GCP / Bitbucket account
● Make sure your angular app can run on local
Step 2.
● Get auth. key from GCP
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 3.
● Let google know we own the domain
"test123.com" if it's not done before (do this
on Google Search Console)
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 4.
● Create a new bucket named
"whatever.test123.com" and upload bundled
webapp
Step 5.
● Assign member named "allUsers" as the
"Storage Object Viewer" of the bucket
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 6.
● Set index.html as main page and 404 page
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 7.
● Bitbucket Setting
a. Enable your settings
Q: How to deploy web (Angular) in Google
Cloud Storage by Bitbucket Pipelines ?
Step 8.
● Bitbucket Setting
a. Set repository variables
Q: How to deploy app in Google App Engine by
Bitbucket Pipelines ?
Step 9.
● Bitbucket Setting
a. write pipelines.yaml
Q: How to deploy
app in Google App
Engine by Bitbucket
Pipelines ?
Something you need to care about….
● gsutil -m rm gs://aaa.test1234.com/**
○ You need to push data into bucket first otherwise
you will get exception
logstash of Elastic
How to use logstash
to read log files
created by rsyslog?
Key word
● logstash
● rsyslog
How to use logstash to read log files created by
rsyslog?
Q: logstash can’t read log files which “permission
deny…..”
How to use logstash to read log files created by
rsyslog?
Q: logstash can’t read log files which “permission
deny…..”
/etc/syslog.conf (default value)
● $FileCreateMode 0644
● $umask 0077
○ Update to $umask 0022
How to use logstash
to read log files
created by rsyslog?
Summary
● Permission is important….
logstash -
Persistent Queues
Key
- Queue
logstash - Persistent Queues
queue.type
● default: memory
● persisted
○ Info
logstash -
Persistent Queues
Summary
- set queue.type is “persisted”
Advertisement time !!
https://tw.yardian.com/
https://us.yardian.com/

More Related Content

What's hot

Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ GitheyMP
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDEEvan Lin
 
Changing Etsy's Architectural Foundations with Continuous Deployment
Changing Etsy's Architectural Foundations with Continuous DeploymentChanging Etsy's Architectural Foundations with Continuous Deployment
Changing Etsy's Architectural Foundations with Continuous DeploymentMatt Graham
 
Kotlin react bkk 3.0.0
Kotlin react bkk 3.0.0Kotlin react bkk 3.0.0
Kotlin react bkk 3.0.0Christopher Ng
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)Roman Kuba
 
Exploring Google APIs with Python
Exploring Google APIs with PythonExploring Google APIs with Python
Exploring Google APIs with Pythonwesley chun
 
GitLab_meetup_tokyo_201807
GitLab_meetup_tokyo_201807GitLab_meetup_tokyo_201807
GitLab_meetup_tokyo_201807Shota Ito
 
How to master a programming language: a Golang example"
How to master a programming language: a Golang example"How to master a programming language: a Golang example"
How to master a programming language: a Golang example"Evan Lin
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with gitDídac Ríos
 
Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Hiroaki Kawai
 
Gwt training presentation
Gwt training presentationGwt training presentation
Gwt training presentationMUFIX Community
 
Gerrit jenkins-big data-continuous-delivery
Gerrit jenkins-big data-continuous-deliveryGerrit jenkins-big data-continuous-delivery
Gerrit jenkins-big data-continuous-deliveryLuca Milanesio
 
Gerrit Code Review Analytics
Gerrit Code Review AnalyticsGerrit Code Review Analytics
Gerrit Code Review AnalyticsLuca Milanesio
 
Git使用经验
Git使用经验Git使用经验
Git使用经验Tianpo Gao
 
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)Pedro Moreira da Silva
 

What's hot (20)

Git Going w/ Git
Git Going w/ GitGit Going w/ Git
Git Going w/ Git
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDE
 
Git basics
Git basicsGit basics
Git basics
 
Changing Etsy's Architectural Foundations with Continuous Deployment
Changing Etsy's Architectural Foundations with Continuous DeploymentChanging Etsy's Architectural Foundations with Continuous Deployment
Changing Etsy's Architectural Foundations with Continuous Deployment
 
Advanced Git
Advanced GitAdvanced Git
Advanced Git
 
Kotlin react bkk 3.0.0
Kotlin react bkk 3.0.0Kotlin react bkk 3.0.0
Kotlin react bkk 3.0.0
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)
 
Exploring Google APIs with Python
Exploring Google APIs with PythonExploring Google APIs with Python
Exploring Google APIs with Python
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Besut Kode - Workshop 1
Besut Kode - Workshop 1Besut Kode - Workshop 1
Besut Kode - Workshop 1
 
GitLab_meetup_tokyo_201807
GitLab_meetup_tokyo_201807GitLab_meetup_tokyo_201807
GitLab_meetup_tokyo_201807
 
How to master a programming language: a Golang example"
How to master a programming language: a Golang example"How to master a programming language: a Golang example"
How to master a programming language: a Golang example"
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with git
 
Gopenflow demo v1 (english)
Gopenflow demo v1 (english)Gopenflow demo v1 (english)
Gopenflow demo v1 (english)
 
Git step by step
Git step by stepGit step by step
Git step by step
 
Gwt training presentation
Gwt training presentationGwt training presentation
Gwt training presentation
 
Gerrit jenkins-big data-continuous-delivery
Gerrit jenkins-big data-continuous-deliveryGerrit jenkins-big data-continuous-delivery
Gerrit jenkins-big data-continuous-delivery
 
Gerrit Code Review Analytics
Gerrit Code Review AnalyticsGerrit Code Review Analytics
Gerrit Code Review Analytics
 
Git使用经验
Git使用经验Git使用经验
Git使用经验
 
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
GitLab: One Tool for Software Development (2018-02-06 @ SEIUM, Braga, Portugal)
 

Similar to DevOps Taiwan meetup #19

markedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMmarkedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMtakezoe
 
Web.dev extended : What's new in Web [GDG Taichung]
Web.dev extended : What's new in Web [GDG Taichung]Web.dev extended : What's new in Web [GDG Taichung]
Web.dev extended : What's new in Web [GDG Taichung]Chieh Kai Yang
 
Front Page of Hacker News with GitLab Pages
Front Page of Hacker News with GitLab PagesFront Page of Hacker News with GitLab Pages
Front Page of Hacker News with GitLab PagesWill Hall
 
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...Nico Meisenzahl
 
Default GitLab CI Pipeline - Auto DevOps
Default GitLab CI Pipeline - Auto DevOpsDefault GitLab CI Pipeline - Auto DevOps
Default GitLab CI Pipeline - Auto DevOpsRajith Bhanuka Mahanama
 
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) 給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) William Yeh
 
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5MysoreMuleSoftMeetup
 
You're doing it wrong! Git it right!
You're doing it wrong! Git it right!You're doing it wrong! Git it right!
You're doing it wrong! Git it right!Cory Webb
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017MarcinStachniuk
 
Contributing to github is for everyone
Contributing to github is for everyoneContributing to github is for everyone
Contributing to github is for everyoneMatt Heusser
 
Shining a light on performance (js meetup)
Shining a light on performance (js meetup)Shining a light on performance (js meetup)
Shining a light on performance (js meetup)Yoav Niran
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingAlessandro Molina
 
Google Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGoogle Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGCPUserGroupVietnam
 
Managing e commerce systems codebase with git
Managing e commerce systems codebase with gitManaging e commerce systems codebase with git
Managing e commerce systems codebase with gitBruno Ricardo Siqueira
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloudwesley chun
 
Getting started with BigQuery
Getting started with BigQueryGetting started with BigQuery
Getting started with BigQueryPradeep Bhadani
 
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by Default
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by DefaultJS Fest 2019. Minko Gechev. Building Fast Angular Applications by Default
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by DefaultJSFestUA
 
Monitoring in the cloud with Puppet
Monitoring in the cloud with PuppetMonitoring in the cloud with Puppet
Monitoring in the cloud with PuppetKris Buytaert
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers WorkshopJody Garnett
 

Similar to DevOps Taiwan meetup #19 (20)

markedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVMmarkedj: The best of markdown processor on JVM
markedj: The best of markdown processor on JVM
 
Web.dev extended : What's new in Web [GDG Taichung]
Web.dev extended : What's new in Web [GDG Taichung]Web.dev extended : What's new in Web [GDG Taichung]
Web.dev extended : What's new in Web [GDG Taichung]
 
Front Page of Hacker News with GitLab Pages
Front Page of Hacker News with GitLab PagesFront Page of Hacker News with GitLab Pages
Front Page of Hacker News with GitLab Pages
 
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
Gitlab Commit: How Containerized GitLab CI Pipelines Can Help You Streamline ...
 
Default GitLab CI Pipeline - Auto DevOps
Default GitLab CI Pipeline - Auto DevOpsDefault GitLab CI Pipeline - Auto DevOps
Default GitLab CI Pipeline - Auto DevOps
 
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version) 給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
給 RD 的 Kubernetes 初體驗 (GDG Cloud KH 2019-08 version)
 
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
Github Actions for CI/CD Setup | MuleSoft Mysore Meetup #5
 
You're doing it wrong! Git it right!
You're doing it wrong! Git it right!You're doing it wrong! Git it right!
You're doing it wrong! Git it right!
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
 
Contributing to github is for everyone
Contributing to github is for everyoneContributing to github is for everyone
Contributing to github is for everyone
 
Shining a light on performance (js meetup)
Shining a light on performance (js meetup)Shining a light on performance (js meetup)
Shining a light on performance (js meetup)
 
Bitbucket and Git
Bitbucket and GitBitbucket and Git
Bitbucket and Git
 
EuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears TrainingEuroPython 2013 - Python3 TurboGears Training
EuroPython 2013 - Python3 TurboGears Training
 
Google Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended HanoiGoogle Cloud: Next'19 Extended Hanoi
Google Cloud: Next'19 Extended Hanoi
 
Managing e commerce systems codebase with git
Managing e commerce systems codebase with gitManaging e commerce systems codebase with git
Managing e commerce systems codebase with git
 
Introduction to serverless computing on Google Cloud
Introduction to serverless computing on Google CloudIntroduction to serverless computing on Google Cloud
Introduction to serverless computing on Google Cloud
 
Getting started with BigQuery
Getting started with BigQueryGetting started with BigQuery
Getting started with BigQuery
 
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by Default
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by DefaultJS Fest 2019. Minko Gechev. Building Fast Angular Applications by Default
JS Fest 2019. Minko Gechev. Building Fast Angular Applications by Default
 
Monitoring in the cloud with Puppet
Monitoring in the cloud with PuppetMonitoring in the cloud with Puppet
Monitoring in the cloud with Puppet
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers Workshop
 

More from Len Chang

The issue discussion between dml and ddl deployment
The issue discussion between dml and ddl deploymentThe issue discussion between dml and ddl deployment
The issue discussion between dml and ddl deploymentLen Chang
 
COSCUP 2019 - The discussion between Knex.js and PostgreSQL
COSCUP 2019 - The discussion between Knex.js and PostgreSQLCOSCUP 2019 - The discussion between Knex.js and PostgreSQL
COSCUP 2019 - The discussion between Knex.js and PostgreSQLLen Chang
 
2014 Pixnet Hackathonh - EXIF Mining
2014 Pixnet Hackathonh - EXIF Mining2014 Pixnet Hackathonh - EXIF Mining
2014 Pixnet Hackathonh - EXIF MiningLen Chang
 
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic Stack
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic StackHadoop con2016 - Implement Real-time Centralized logging System by Elastic Stack
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic StackLen Chang
 
Agile scrum in startup
Agile scrum in startup  Agile scrum in startup
Agile scrum in startup Len Chang
 
Hadoop Con2015 - The Data Scientist’s Toolbox
Hadoop Con2015 - The Data Scientist’s ToolboxHadoop Con2015 - The Data Scientist’s Toolbox
Hadoop Con2015 - The Data Scientist’s ToolboxLen Chang
 
Spam user detection report
Spam user detection reportSpam user detection report
Spam user detection reportLen Chang
 

More from Len Chang (8)

The issue discussion between dml and ddl deployment
The issue discussion between dml and ddl deploymentThe issue discussion between dml and ddl deployment
The issue discussion between dml and ddl deployment
 
COSCUP 2019 - The discussion between Knex.js and PostgreSQL
COSCUP 2019 - The discussion between Knex.js and PostgreSQLCOSCUP 2019 - The discussion between Knex.js and PostgreSQL
COSCUP 2019 - The discussion between Knex.js and PostgreSQL
 
BI in Xuenn
BI in XuennBI in Xuenn
BI in Xuenn
 
2014 Pixnet Hackathonh - EXIF Mining
2014 Pixnet Hackathonh - EXIF Mining2014 Pixnet Hackathonh - EXIF Mining
2014 Pixnet Hackathonh - EXIF Mining
 
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic Stack
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic StackHadoop con2016 - Implement Real-time Centralized logging System by Elastic Stack
Hadoop con2016 - Implement Real-time Centralized logging System by Elastic Stack
 
Agile scrum in startup
Agile scrum in startup  Agile scrum in startup
Agile scrum in startup
 
Hadoop Con2015 - The Data Scientist’s Toolbox
Hadoop Con2015 - The Data Scientist’s ToolboxHadoop Con2015 - The Data Scientist’s Toolbox
Hadoop Con2015 - The Data Scientist’s Toolbox
 
Spam user detection report
Spam user detection reportSpam user detection report
Spam user detection report
 

Recently uploaded

What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxwendy cai
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSCAESB
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxDeepakSakkari2
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.eptoze12
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZTE
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Dr.Costas Sachpazis
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024hassan khalil
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 

Recently uploaded (20)

🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptxExploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
Exploring_Network_Security_with_JA3_by_Rakesh Seal.pptx
 
What are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptxWhat are the advantages and disadvantages of membrane structures.pptx
What are the advantages and disadvantages of membrane structures.pptx
 
GDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentationGDSC ASEB Gen AI study jams presentation
GDSC ASEB Gen AI study jams presentation
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Biology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptxBiology for Computer Engineers Course Handout.pptx
Biology for Computer Engineers Course Handout.pptx
 
Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.Oxy acetylene welding presentation note.
Oxy acetylene welding presentation note.
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
ZXCTN 5804 / ZTE PTN / ZTE POTN / ZTE 5804 PTN / ZTE POTN 5804 ( 100/200 GE Z...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
Sheet Pile Wall Design and Construction: A Practical Guide for Civil Engineer...
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 
Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024Architect Hassan Khalil Portfolio for 2024
Architect Hassan Khalil Portfolio for 2024
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 

DevOps Taiwan meetup #19

  • 1. DevOps Taiwan Meetup #19 - 那些年 我們踩的 CI 坑 Len Chang, December 14 2018
  • 2. Outline ● Me ● Issues Discussion ○ CI / CD of gitlab ○ CI / CD of bitbucket ○ logstash of Elastic ● Advertisement time !!
  • 3. Me Fear is a choice ~ https://www.linkedin.com/in/huailunchang/
  • 4. Issues Discussion-CI / CD of gitlab
  • 5. Q: How to deploy gitLab-runner ? Key word ● CI/CD of GitLab ● GitLab-runner
  • 6. Q: How to deploy gitLab-runner ? Step 1. ● open GitLab Server and follow the steps
  • 7. Q: How to deploy gitLab-runner ? Step 2. ● Set up gitlab-runner ● Set parameters
  • 8. Q: How to deploy gitLab-runner ? Step 3. ● Config setting
  • 9. Q: How to deploy gitLab-runner ? Something you need to care about…. ● permission is important !!!
  • 10. Q: How to clean gitLab-runner ? Key word ● NULL
  • 11. Q: How to clean gitLab-runner ?
  • 12. Q: How to clean gitLab-runner ? gitlab-runner verify --delete. It will delete runners that got removed from GitLab. Reference
  • 13. Q: How to clean gitLab-runner ? Something you need to care about…. ● Still .. NULL
  • 14. CI / CD of bitbucket
  • 15. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Key word ● Google App Engine ● Bitbucket Pipelines
  • 16. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Step 1. ● Apply GCP / Bitbucket account ● Make sure your app can run on local and match Google App Engine Environment Step 2. ● Get auth. key from GCP
  • 17. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Step 3. ● Bitbucket Setting a. Enable your settings
  • 18. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Step 4. ● Bitbucket Setting a. Set repository variables
  • 19. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Step 5. ● Bitbucket Setting a. write pipelines.yaml
  • 20. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Something you need to care about…. ● Limitations of Bitbucket Pipelines ○ Free 50 minutes ● Something will break down forever….
  • 21. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Key word ● Google Cloud Storage ○ https://cloud.google.com/storage/ ● Angular ○ https://angular.io/
  • 22. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 1. ● Apply GCP / Bitbucket account ● Make sure your angular app can run on local Step 2. ● Get auth. key from GCP
  • 23. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 3. ● Let google know we own the domain "test123.com" if it's not done before (do this on Google Search Console)
  • 24. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 4. ● Create a new bucket named "whatever.test123.com" and upload bundled webapp Step 5. ● Assign member named "allUsers" as the "Storage Object Viewer" of the bucket
  • 25. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 6. ● Set index.html as main page and 404 page
  • 26. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 7. ● Bitbucket Setting a. Enable your settings
  • 27. Q: How to deploy web (Angular) in Google Cloud Storage by Bitbucket Pipelines ? Step 8. ● Bitbucket Setting a. Set repository variables
  • 28. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Step 9. ● Bitbucket Setting a. write pipelines.yaml
  • 29. Q: How to deploy app in Google App Engine by Bitbucket Pipelines ? Something you need to care about…. ● gsutil -m rm gs://aaa.test1234.com/** ○ You need to push data into bucket first otherwise you will get exception
  • 31. How to use logstash to read log files created by rsyslog? Key word ● logstash ● rsyslog
  • 32. How to use logstash to read log files created by rsyslog? Q: logstash can’t read log files which “permission deny…..”
  • 33. How to use logstash to read log files created by rsyslog? Q: logstash can’t read log files which “permission deny…..” /etc/syslog.conf (default value) ● $FileCreateMode 0644 ● $umask 0077 ○ Update to $umask 0022
  • 34. How to use logstash to read log files created by rsyslog? Summary ● Permission is important….
  • 36. logstash - Persistent Queues queue.type ● default: memory ● persisted ○ Info
  • 37. logstash - Persistent Queues Summary - set queue.type is “persisted”