{"action":"created","issue":{"url":"https://api.github.com/repos/peopledoc/django-formidable/issues/339","repository_url":"https://api.github.com/repos/peopledoc/django-formidable","labels_url":"https://api.github.com/repos/peopledoc/django-formidable/issues/339/labels{/name}","comments_url":"https://api.github.com/repos/peopledoc/django-formidable/issues/339/comments","events_url":"https://api.github.com/repos/peopledoc/django-formidable/issues/339/events","html_url":"https://github.com/peopledoc/django-formidable/issues/339","id":334491728,"node_id":"MDU6SXNzdWUzMzQ0OTE3Mjg=","number":339,"title":"Circle-CI 2","user":{"login":"brunobord","id":25185,"node_id":"MDQ6VXNlcjI1MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/25185?v=4","gravatar_id":"","url":"https://api.github.com/users/brunobord","html_url":"https://github.com/brunobord","followers_url":"https://api.github.com/users/brunobord/followers","following_url":"https://api.github.com/users/brunobord/following{/other_user}","gists_url":"https://api.github.com/users/brunobord/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobord/subscriptions","organizations_url":"https://api.github.com/users/brunobord/orgs","repos_url":"https://api.github.com/users/brunobord/repos","events_url":"https://api.github.com/users/brunobord/events{/privacy}","received_events_url":"https://api.github.com/users/brunobord/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-21T13:22:54Z","updated_at":"2018-06-21T13:28:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"End of life of the version 1 is August 31st.\r\n\r\nhttps://circleci.com/docs/2.0/migration/"},"comment":{"url":"https://api.github.com/repos/peopledoc/django-formidable/issues/comments/399103356","html_url":"https://github.com/peopledoc/django-formidable/issues/339#issuecomment-399103356","issue_url":"https://api.github.com/repos/peopledoc/django-formidable/issues/339","id":399103356,"node_id":"MDEyOklzc3VlQ29tbWVudDM5OTEwMzM1Ng==","user":{"login":"brunobord","id":25185,"node_id":"MDQ6VXNlcjI1MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/25185?v=4","gravatar_id":"","url":"https://api.github.com/users/brunobord","html_url":"https://github.com/brunobord","followers_url":"https://api.github.com/users/brunobord/followers","following_url":"https://api.github.com/users/brunobord/following{/other_user}","gists_url":"https://api.github.com/users/brunobord/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobord/subscriptions","organizations_url":"https://api.github.com/users/brunobord/orgs","repos_url":"https://api.github.com/users/brunobord/repos","events_url":"https://api.github.com/users/brunobord/events{/privacy}","received_events_url":"https://api.github.com/users/brunobord/received_events","type":"User","site_admin":false},"created_at":"2018-06-21T13:28:15Z","updated_at":"2018-06-21T13:28:15Z","author_association":"CONTRIBUTOR","body":"basic reference - using the automatic configuration conversion tool:\r\n\r\n```yaml\r\n# This configuration was automatically generated from a CircleCI 1.0 config.\r\n# It should include any build commands you had along with commands that CircleCI\r\n# inferred from your project structure. We strongly recommend you read all the\r\n# comments in this file to understand the structure of CircleCI 2.0, as the idiom\r\n# for configuration has changed substantially in 2.0 to allow arbitrary jobs rather\r\n# than the prescribed lifecycle of 1.0. In general, we recommend using this generated\r\n# configuration as a reference rather than using it in production, though in most\r\n# cases it should duplicate the execution of your original 1.0 config.\r\nversion: 2\r\njobs:\r\n  build:\r\n    working_directory: ~/peopledoc/django-formidable\r\n    parallelism: 1\r\n    shell: /bin/bash --login\r\n    # CircleCI 2.0 does not support environment variables that refer to each other the same way as 1.0 did.\r\n    # If any of these refer to each other, rewrite them so that they don't or see https://circleci.com/docs/2.0/env-vars/#interpolating-environment-variables-to-set-other-environment-variables .\r\n    environment:\r\n      CIRCLE_ARTIFACTS: /tmp/circleci-artifacts\r\n      CIRCLE_TEST_REPORTS: /tmp/circleci-test-results\r\n    # In CircleCI 1.0 we used a pre-configured image with a large number of languages and other packages.\r\n    # In CircleCI 2.0 you can now specify your own image, or use one of our pre-configured images.\r\n    # The following configuration line tells CircleCI to use the specified docker image as the runtime environment for you job.\r\n    # We have selected a pre-built image that mirrors the build environment we use on\r\n    # the 1.0 platform, but we recommend you choose an image more tailored to the needs\r\n    # of each job. For more information on choosing an image (or alternatively using a\r\n    # VM instead of a container) see https://circleci.com/docs/2.0/executor-types/\r\n    # To see the list of pre-built images that CircleCI provides for most common languages see\r\n    # https://circleci.com/docs/2.0/circleci-images/\r\n    docker:\r\n    - image: circleci/build-image:ubuntu-14.04-XXL-upstart-1189-5614f37\r\n      command: /sbin/init\r\n    steps:\r\n    # Machine Setup\r\n    #   If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each\r\n    # The following `checkout` command checks out your code to your working directory. In 1.0 we did this implicitly. In 2.0 you can choose where in the course of a job your code should be checked out.\r\n    - checkout\r\n    # Prepare for artifact and test results  collection equivalent to how it was done on 1.0.\r\n    # In many cases you can simplify this from what is generated here.\r\n    # 'See docs on artifact collection here https://circleci.com/docs/2.0/artifacts/'\r\n    - run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS\r\n    # This is based on your 1.0 configuration file or project settings\r\n    - run:\r\n        working_directory: ~/peopledoc/django-formidable\r\n        command: pyenv global 2.7.10 3.5.3 3.6.2\r\n    # Dependencies\r\n    #   This would typically go in either a build or a build-and-test job when using workflows\r\n    # Restore the dependency cache\r\n    - restore_cache:\r\n        keys:\r\n        # This branch if available\r\n        - v1-dep-{{ .Branch }}-\r\n        # Default branch if not\r\n        - v1-dep-master-\r\n        # Any branch if there are none on the default branch - this should be unnecessary if you have your default branch configured correctly\r\n        - v1-dep-\r\n    # This is based on your 1.0 configuration file or project settings\r\n    - run: pip install --upgrade tox virtualenv tox-pyenv\r\n    # Save dependency cache\r\n    - save_cache:\r\n        key: v1-dep-{{ .Branch }}-{{ epoch }}\r\n        paths:\r\n        # This is a broad list of cache paths to include many possible development environments\r\n        # You can probably delete some of these entries\r\n        - vendor/bundle\r\n        - ~/virtualenvs\r\n        - ~/.m2\r\n        - ~/.ivy2\r\n        - ~/.bundle\r\n        - ~/.go_workspace\r\n        - ~/.gradle\r\n        - ~/.cache/bower\r\n    # Test\r\n    #   This would typically be a build job when using workflows, possibly combined with build\r\n    # This is based on your 1.0 configuration file or project settings\r\n    - run: tox -e $(tox -l | grep django110 | tr '\\n' ',')\r\n    - run: tox -e $(tox -l | grep django111 | tr '\\n' ',')\r\n    - run: tox -e flake8\r\n    - run: tox -e isort-check\r\n    - run: tox -e docs\r\n    # Teardown\r\n    #   If you break your build into multiple jobs with workflows, you will probably want to do the parts of this that are relevant in each\r\n    # Save test results\r\n    - store_test_results:\r\n        path: /tmp/circleci-test-results\r\n    # Save artifacts\r\n    - store_artifacts:\r\n        path: /tmp/circleci-artifacts\r\n    - store_artifacts:\r\n        path: /tmp/circleci-test-results\r\n```"}}
{"actor":{"display_login":"brunobord"}}