<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>code on Christian Knedel</title>
    <link>https://www.christian-knedel.de/ja/tags/code/</link>
    <description>Recent content in code on Christian Knedel</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>ja-jp</language>
    <lastBuildDate>Wed, 24 Mar 2021 00:00:00 +0000</lastBuildDate><atom:link href="https://www.christian-knedel.de/ja/tags/code/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>短編：私のGitlabセットアップ</title>
      <link>https://www.christian-knedel.de/ja/post/2021/march/20210324-gitlab-setup/</link>
      <pubDate>Wed, 24 Mar 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/march/20210324-gitlab-setup/</guid>
      <description>Gitlab on the Synology disk station」というトピックで初めてチュートリアルを行った後、すでに何度かこのソリューションをまだ使っているのかと聞かれました。いや！とりあえず、Atlassianのツールと以下のGitLabのインストールをintel NUCに移しました。もちろん Synology ディスクステーションでも実行できます。 OpenLDAP、コンテナーレジストリ、メール、証明書、ロギングに特別な設定を使用していることがよくわかります。また、Atlassian-JiraとAtlassian-Confluenceを使用しているため、Wikiと課題追跡機能は停止しています。このように、Gitlabは非常にカスタマイズがしやすいのです。楽しんできてください。
version: &#39;2&#39; services: gitlab: image: &#39;gitlab/gitlab-ce:latest&#39; restart: always container_name: &#39;gitlab_server_gitlab&#39; environment: TZ: &amp;quot;Europe/Berlin&amp;quot; GITLAB_OMNIBUS_CONFIG: | gitlab_rails[&#39;time_zone&#39;] = &#39;Europe/Berlin&#39; external_url &#39;https://host:port&#39; registry_external_url &#39;https://host:registry_port&#39; registry_nginx[&#39;listen_https&#39;] = true nginx[&#39;redirect_http_to_https&#39;] = true registry_nginx[&#39;redirect_http_to_https&#39;] = true mattermost_nginx[&#39;redirect_http_to_https&#39;] = true registry_nginx[&#39;ssl_certificate&#39;] = &amp;quot;..server-cert.crt&amp;quot; registry_nginx[&#39;ssl_certificate_key&#39;] = &amp;quot;...server-cert.key&amp;quot; gitlab_rails[&#39;gitlab_default_projects_features_issues&#39;] = false gitlab_rails[&#39;gitlab_default_projects_features_container_registry&#39;] = true postgresql[&#39;enable&#39;] = false gitlab_rails[&#39;db_username&#39;] = &amp;quot;****&amp;quot; gitlab_rails[&#39;db_password&#39;] = &amp;quot;****&amp;quot; gitlab_rails[&#39;db_host&#39;] = &amp;quot;postgresql&amp;quot; gitlab_rails[&#39;db_port&#39;] = &amp;quot;5432&amp;quot; gitlab_rails[&#39;db_database&#39;] = &amp;quot;gitlabhq_production&amp;quot; gitlab_rails[&#39;db_adapter&#39;] = &#39;postgresql&#39; gitlab_rails[&#39;db_encoding&#39;] = &#39;utf8&#39; redis[&#39;enable&#39;] = false gitlab_rails[&#39;redis_host&#39;] = &#39;redis&#39; gitlab_rails[&#39;redis_port&#39;] = &#39;6379&#39; gitlab_rails[&#39;gitlab_shell_ssh_port&#39;] = 22 # Limit backup lifetime to 7 days (604800 seconds): gitlab_rails[&#39;backup_keep_time&#39;] = 604800 unicorn[&#39;worker_timeout&#39;] = 60 unicorn[&#39;worker_processes&#39;] = 3 nginx[&#39;enable&#39;] = true nginx[&#39;listen_port&#39;] = 80 nginx[&#39;client_max_body_size&#39;] = &#39;250m&#39; nginx[&#39;listen_port&#39;] = 443 nginx[&#39;redirect_http_to_https&#39;] = true nginx[&#39;ssl_certificate&#39;] = &#39;.</description>
    </item>
    
    <item>
      <title>Atlassian のクールな使い方: プラグインなしで Bamboo と jMeter を使う</title>
      <link>https://www.christian-knedel.de/ja/post/2021/march/20210321-atlassian-bamboo-jmeter/</link>
      <pubDate>Sun, 21 Mar 2021 00:00:00 +0000</pubDate>
      
      <guid>https://www.christian-knedel.de/ja/post/2021/march/20210321-atlassian-bamboo-jmeter/</guid>
      <description>今日、私はBambooでjMeterのテストを作成しています。もちろん、このテスト設定をGitlabランナーやJenkinsスレーブで実装することも可能です。
ステップ1：jMeterテストの作成 まず、当然ですが、jMeterのテストを作成する必要があります。以下のURL https://jmeter.apache.org/ からjMeterをダウンロードし、以下のコマンドで起動しました。 x  &amp;ndash;  +   Terminal   $ java -jar bin/ApacheJMeter.jar   See:このチュートリアルのための私のデモテストは、不具合のあるサンプラーと動作するサンプラーを含むことを意図しています。タイムアウトはわざと少なく設定しています。      BambooタスクのJMXファイルで保存しています。
ステップ2: バンブーエージェントの準備 BambooのエージェントはJavaが前提なので、Pythonは後からインストールするだけです。 x  &amp;ndash;  +   Terminal   $ apt-get update $ apt-get install python   新しいジョブとシェルタスクを作成します。    そして、このシェルスクリプトを挿入してください。
#!/bin/bash java -jar /tools/apache-jmeter-5.4.1/bin/ApacheJMeter.jar -n -t test.jmx -l requests.log &amp;gt; result.log echo &amp;quot;Ergebnis:&amp;quot; cat result.log if cat result.</description>
    </item>
    
  </channel>
</rss>
