公式にバグレポート出す前の下書き
https://circleci.com/workflow-run/e2dba05f-baa0-42b4-8c83-4fd5ea99387a
test-in-builds(ローカルのテスト)は通っているのに、smoke_test(実際に別リポジトリからPRのorbを使ってのテスト)でコケてる
| # envリポジトリのcurrent | |
| set :env_current, "/home/deploy/docker-gitlab-env/current" | |
| set :stack_name, "gitlab" | |
| namespace :stack do | |
| desc "docker stack deploy" | |
| task :deploy do | |
| on roles(:app) do | |
| within release_path do |
| version: '3.7' | |
| services: | |
| redis: | |
| restart: always | |
| image: sameersbn/redis:4.0.9-2 | |
| command: | |
| - --loglevel warning | |
| deploy: |
| # 巨大なリポジトリのバックアップを作ろうとするとBackup::Repositoryでエラーになるのでコネクションを明示的に取得するためのモンキーパッチ | |
| # (lib/tasks/gitlab/backup.rake よりも後にloadされてほしいのでわざとz_を付与) | |
| # https://gitlab.com/gitlab-org/gitlab-ce/blob/v12.2.4/lib/backup/repository.rb | |
| # FIXME: gitlab-ceにMRを投げてマージされたら削除したい | |
| task :backup_repository_monkey_patch do | |
| module BackupRepositoryMonkeyPatch | |
| MAX_RETRY_COUNT = 1 | |
| def backup_custom_hooks(project) |
| stages: | |
| - test | |
| - deploy | |
| .default: &default | |
| image: sue445/awscli-all | |
| variables: | |
| GITPANDA_VERSION: v0.3.4 | |
| AWS_DEFAULT_REGION: ap-northeast-1 |
| #!/bin/sh -e | |
| if [ -n "$1" ]; then | |
| master=$1 | |
| else | |
| master=`git remote show origin | grep 'HEAD branch:' | cut -d : -f 2 | tr -d '[[:space:]]'` | |
| fi | |
| current=`git branch | grep '*' | cut -f 2 -d ' '` |
| Process: ruby [38736] | |
| Path: /Users/USER/*/ruby | |
| Identifier: ruby | |
| Version: 0 | |
| Code Type: X86-64 (Native) | |
| Parent Process: bash [12607] | |
| Responsible: ruby [38736] | |
| User ID: 501 | |
| Date/Time: 2018-12-30 19:37:37.242 +0900 |
公式にバグレポート出す前の下書き
https://circleci.com/workflow-run/e2dba05f-baa0-42b4-8c83-4fd5ea99387a
test-in-builds(ローカルのテスト)は通っているのに、smoke_test(実際に別リポジトリからPRのorbを使ってのテスト)でコケてる
DockerHubと比べると色々足りてない
| gem "other_gem", github: "sue445/other_gem", branch: "rails_6_0" |