-
Notifications
You must be signed in to change notification settings - Fork 34
Conversation
A friendly bump, it'll be nice to have this land sooner. I have to maintain a |
@kn1kn1 This has merge conflicts that need to be fixed btw. |
resolved. CircleCI result: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you include specification of the ATOM_CHANNEL
variable in the circle.yml
file to expose this capability there?
Can this comment be suitable for the spec or any alternatives?
|
I would just do: # ... stuff
machine:
environment:
ATOM_LINT_WITH_BUNDLED_NODE: "true"
APM_TEST_PACKAGES: ""
ATOM_CHANNEL: "stable" The other configs work the same way (explicitly setting stable). |
@Arcanemagus Thanks. I did so. CircleCI result: https://circleci.com/gh/kn1kn1/language-context-free/329 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -49,8 +49,13 @@ elif [ "${CIRCLECI}" = "true" ]; then | |||
sudo dpkg --install atom-amd64.deb || true | |||
sudo apt-get update | |||
sudo apt-get --fix-broken --assume-yes --quiet install | |||
export ATOM_SCRIPT_PATH="atom" | |||
export APM_SCRIPT_PATH="apm" | |||
if [ "${ATOM_CHANNEL}" = "stable" ]; then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would invert the logic here, so that if ATOM_CHANNEL
is unset, stable is implicitly used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it's unset it defaults to stable
:
Line 3 in 9b5325f
ATOM_CHANNEL="${ATOM_CHANNEL:=stable}" |
Is there anything else for this pr to be merged? |
This is especially relevant now that CircleCI 2.0 is out of beta and you can do nice things like setup workflows where you build stable and beta in parallel (like Travis CI does). |
You'd better tell me that earlier as CircleCi 2.0 beta is out last month. |
@kn1kn1 Any reason you closed this? The fixes in here are still necessary to support beta builds! |
@Arcanemagus If you really think so, you can open another pr. |
@kn1kn1 it sounds like you've been put off by the conversation in this PR. If I have contributed to that in any way, my apologies. We do value the contribution! Merging. |
Thanks @joefitzgerald! |
This PR adds ci with atom-beta on CircleCI.
Adding environment variable
ATOM_CHANNEL: "beta"
to circle.yml enables ci with atom-beta.Example circle.yml file
https://github.com/kn1kn1/language-context-free/blob/atom-beta/circle.yml
Example CircleCI result
https://circleci.com/gh/kn1kn1/language-context-free/277
Please note: this change will not affect current circle.yml for atom stable version.