From f1736d44aa6d7705cdf6a36ff7f7a9ec596ea70f Mon Sep 17 00:00:00 2001 From: Matt Vaughn Date: Wed, 7 Aug 2019 19:24:21 -0500 Subject: [PATCH] Added support for actor "token" property The 'abaco init', 'abaco create', 'abaco update', and 'abaco deploy' commands now support the 'token' property for Actors, which governs whether an actor's executions are populated with Tapis access tokens. The registration-time and project default behaviors can be tweaked via combinations of the 'REACTOR_TOKENS' config variable and the '-A' command line flag. This resolves issue #13 --- tests/project/reactor.rc | 5 ++++- tests/project/secrets.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/project/reactor.rc b/tests/project/reactor.rc index f7b8973..17975af 100644 --- a/tests/project/reactor.rc +++ b/tests/project/reactor.rc @@ -2,10 +2,13 @@ REACTOR_NAME=sleep-counter REACTOR_DESCRIPTION="Sleeps for a defined number and length of iterations" REACTOR_ALIAS=sleep-counter +REACTOR_TOKENS=1 +REACTOR_PRIVILEGED= +REACTOR_USE_UID= REACTOR_STATEFUL= # Docker image DOCKER_HUB_ORG=tacc DOCKER_IMAGE_TAG=sleep-counter -DOCKER_IMAGE_VERSION=1.0.0 +DOCKER_IMAGE_VERSION=1.0.1 # DOCKER_USE_COMMIT_HASH=1 diff --git a/tests/project/secrets.json b/tests/project/secrets.json index e69de29..0967ef4 100644 --- a/tests/project/secrets.json +++ b/tests/project/secrets.json @@ -0,0 +1 @@ +{}