Add export APP=$theapp to all .envrc.sample files #38

Closed
opened 2020-10-28 17:27:46 +00:00 by decentral1se · 3 comments
Owner

abra requires export APP=$theapp to be present in the .envrc to read the app type when doing app lifecycle stuff. We can add them as we go and as needed. This one can track that.

`abra` requires `export APP=$theapp` to be present in the `.envrc` to read the app type when doing app lifecycle stuff. We can add them as we go and as needed. This one can track that.
decentral1se changed title from Add `export APP=$theapp` to all .envrc.sample coop-cloud/... to Add `export APP=$theapp` to all .envrc.sample files 2020-10-28 17:27:57 +00:00
Author
Owner

Apps that don't have it seem to end up with drone-docker-runner by default?

 
  DOMAIN                              APP                   SERVER
  --                                  --                    --
  foobar.autonomic.zone               drone-docker-runner   swarm.autonomic.zone
  foobar.swarm.autonomic.zone         drone-docker-runner   swarm.autonomic.zone
Apps that don't have it seem to end up with `drone-docker-runner` by default? ``` DOMAIN APP SERVER -- -- -- foobar.autonomic.zone drone-docker-runner swarm.autonomic.zone foobar.swarm.autonomic.zone drone-docker-runner swarm.autonomic.zone ```
Owner

Apps that don't have it seem to end up with drone-docker-runner by default?

Do you have $APP set in your shell? abra is meant to crash if the env doesn't have APP set, maybe it should do unset APP at the top to be safe?

> Apps that don't have it seem to end up with `drone-docker-runner` by default? Do you have `$APP` set in your shell? `abra` is meant to crash if the env doesn't have `APP` set, maybe it should do `unset APP` at the top to be safe?
Owner

I've updated all our stacks to rename SERVICE to APP. Next time, I'll remember to reference the relevant issue so the commits show up here 🤦

I've updated all our stacks to rename `SERVICE` to `APP`. Next time, I'll remember to reference the relevant issue so the commits show up here 🤦
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: coop-cloud/organising#38
No description provided.