Skip to content

Instantly share code, notes, and snippets.

View silverskyvicto's full-sized avatar
🏢
Work

Yuuki Ebihara silverskyvicto

🏢
Work
  • Ricksoft Co., Ltd.
  • Japan
View GitHub Profile
version: '3.8'
services:
redmine:
image: redmine:5.1.1-alpine
ports:
- 8080:3000
environment:
REDMINE_DB_POSTGRES: redmine-db
REDMINE_DB_DATABASE: redmine

Helm v3 で Activiti Cloud Full Example を動かす

Minikube 設定 (ワークアラウンド)

minikube start --extra-config=apiserver.runtime-config=apps/v1beta1=true,apps/v1beta2=true,extensions/v1beta1/daemonsets=true,extensions/v1beta1/deployments=true,extensions/v1beta1/replicasets=true,extensions/v1beta1/networkpolicies=true,extensions/v1beta1/podsecuritypolicies=true

helm コマンド側

$ helm install  activiti-cloud-helm-charts/activiti-cloud-full-example \
- name: Install git
hosts: {{server}}
become: yes
tasks:
- name: Install a list of development tool packages
yum:
name:
- gcc
- autoconf
state: present
- name: Install Apache Maven
hosts: {{server}}
become: yes
tasks:
- name: Download Maven tar.gz file with check (sha512)
get_url:
url: http://ftp.jaist.ac.jp/pub/apache/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz
dest: /root
checksum: sha512:b4880fb7a3d81edd190a029440cdf17f308621af68475a4fe976296e71ff4a4b546dd6d8a58aaafba334d309cc11e638c52808a4b0e818fc0fd544226d952544
- name: Install ActiveMQ
hosts: {{server}}
become: yes
tasks:
- name: Find path for new JAVA home
shell: 'readlink -f /usr/bin/java | sed "s:bin/java::"'
register: java_home_path
- name: Set JAVA_HOME
lineinfile:
- name: Install LibreOffice
hosts: {{server}}
become: yes
tasks:
- name: Download LibreOffice rpm tar.gz file with check (sha256)
get_url:
url: https://download.documentfoundation.org/libreoffice/stable/6.2.4/rpm/x86_64/LibreOffice_6.2.4_Linux_x86-64_rpm.tar.gz
dest: /root
checksum: sha256:6fb99b2044b1bce943f8796a3ff75d9e7f33ae88963bb236a8e2c5a2266c7121
- name: Install Oracle JDK 8u202
hosts: {{server}}
become: yes
tasks:
- name: Copy a "jdk-8u202-linux-x64.rpm" file into place
copy:
src: ./files/jdk-8u202-linux-x64.rpm
dest: /root/jdk-8u202-linux-x64.rpm
- name: Install a list of packages
- name: Install tomcat
hosts: {{ server }}
become: yes
tasks:
- name: Download file with check (sha512)
get_url:
url: http://ftp.jaist.ac.jp/pub/apache/tomcat/tomcat-9/v9.0.21/bin/apache-tomcat-9.0.21.tar.gz
dest: /root/apache-tomcat-9.0.21.tar.gz
checksum: sha512:a8788ba8187f940b55d3db6cb0108943b8b48aecc2d9a3307409d3cbf72fac9b19fa434baa97aa0d4ac552f7c13967932b8a36dbae5d582bc14ed13bb058ea9b
- name: Install vim
hosts: {{server}}
become: yes
tasks:
- name: Install a list of development tool packages
yum:
name:
- gcc
- autoconf
- ncurses-devel
#!/bin/bash
# install tool necessary
sudo apt -y install gcc autoconf libncursesw5-dev
cd /usr/local/src
sudo git clone https://github.com/vim/vim.git
if [ $? -eq 0 ]; then