elsa icon indicating copy to clipboard operation
elsa copied to clipboard

Support CircleCI

Open honzajavorek opened this issue 6 years ago • 2 comments

Currently Elsa is hardcoded for Travis CI. This is my attempt to bring support for CircleCI. I didn't test it - it's my best guess and I made it editing a file here using GitHub's pencil feature 🙀

See https://circleci.com/docs/2.0/env-vars/#built-in-environment-variables for a reference and https://circleci.com/gh/pyvec/pyvec.org/15#build-parameters/containers/0 (Spin Up Environment) for examples:

  BASH_ENV=/tmp/.bash_env-5d614082be728d64db773f33-0-build
  CI=true
  CIRCLECI=true
  CIRCLE_BRANCH=honzajavorek/members
  CIRCLE_BUILD_NUM=15
  CIRCLE_BUILD_URL=https://circleci.com/gh/pyvec/pyvec.org/15
  CIRCLE_COMPARE_URL=
  CIRCLE_JOB=build
  CIRCLE_NODE_INDEX=0
  CIRCLE_NODE_TOTAL=1
  CIRCLE_PREVIOUS_BUILD_NUM=14
  CIRCLE_PROJECT_REPONAME=pyvec.org
  CIRCLE_PROJECT_USERNAME=pyvec
  CIRCLE_PULL_REQUEST=https://github.com/pyvec/pyvec.org/pull/85
  CIRCLE_PULL_REQUESTS=https://github.com/pyvec/pyvec.org/pull/85
  [email protected]:pyvec/pyvec.org.git
  CIRCLE_SHA1=f6e04550035d3f904014689ee8f1541346b5feaf
  CIRCLE_SHELL_ENV=/tmp/.bash_env-5d614082be728d64db773f33-0-build
  CIRCLE_STAGE=build
  CIRCLE_USERNAME=honzajavorek
  CIRCLE_WORKFLOW_ID=e8affa4d-f267-4930-b339-af510fc8f849
  CIRCLE_WORKFLOW_JOB_ID=ce6ad044-09a4-4d4e-8423-ce085a50be0b
  CIRCLE_WORKFLOW_UPSTREAM_JOB_IDS=
  CIRCLE_WORKFLOW_WORKSPACE_ID=e8affa4d-f267-4930-b339-af510fc8f849
  CIRCLE_WORKING_DIRECTORY=~/repo
  CI_PULL_REQUEST=https://github.com/pyvec/pyvec.org/pull/85
  CI_PULL_REQUESTS=https://github.com/pyvec/pyvec.org/pull/85

honzajavorek avatar Aug 26 '19 19:08 honzajavorek

I probably won't be able to continue working on this one, but I knew I can provide more than to file an issue tonight, so I opened this. pyvec.org deployment seems unblocked by https://github.com/pyvec/pyvec.org/commit/c9cf30285f8150cba484ce4611b5df600ada21e6 👍

honzajavorek avatar Aug 26 '19 19:08 honzajavorek

I liek the change in general. The CI failed here for style issues, easier to fix them locally than trying to do it via the web Interface :)

hroncok avatar Aug 26 '19 19:08 hroncok