From de0f6f0be339bc2da700fae65f66b4fac96907b7 Mon Sep 17 00:00:00 2001 From: jgrillo-grapl <64786504+jgrillo-grapl@users.noreply.github.com> Date: Thu, 21 May 2020 08:22:02 -0400 Subject: [PATCH] Internal 9 fix workflow (#83) * trigger on prereleases as well * actions/checkout@v2 should checkout the correct branch anyway? * bash * fix tagged builds * add graphql-endpoint to build scripts * fix graphql endpoint Dockerfile * docker cp * zip arguments reversed >_< * python lambda.zips are located at /home/grapl --- .github/workflows/grapl-release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/grapl-release.yml b/.github/workflows/grapl-release.yml index 41396d2331..e29fc7c202 100644 --- a/.github/workflows/grapl-release.yml +++ b/.github/workflows/grapl-release.yml @@ -91,19 +91,19 @@ jobs: rm ./analyzer-dispatcher docker create -ti --name cp-analyzer-executor grapl/grapl-analyzer-executor:$VERSION-$CHANNEL bash - docker cp cp-analyzer-executor:/lambda.zip analyzer-executor-$VERSION-$CHANNEL.zip + docker cp cp-analyzer-executor:/home/grapl/lambda.zip analyzer-executor-$VERSION-$CHANNEL.zip docker rm -f cp-analyzer-executor docker create -ti --name cp-engagement-creator grapl/grapl-engagement-creator:$VERSION-$CHANNEL bash - docker cp cp-engagement-creator:/lambda.zip engagement-creator-$VERSION-$CHANNEL.zip + docker cp cp-engagement-creator:/home/grapl/lambda.zip engagement-creator-$VERSION-$CHANNEL.zip docker rm -f cp-engagement-creator docker create -ti --name cp-engagement-edge grapl/grapl-engagement-edge:$VERSION-$CHANNEL bash - docker cp cp-engagement-edge:/lambda.zip engagement-edge-$VERSION-$CHANNEL.zip + docker cp cp-engagement-edge:/home/grapl/lambda.zip engagement-edge-$VERSION-$CHANNEL.zip docker rm -f cp-engagement-edge docker create -ti --name cp-model-plugin-deployer grapl/grapl-model-plugin-deployer:$VERSION-$CHANNEL bash - docker cp cp-model-plugin-deployer:/lambda.zip model-plugin-deployer-$VERSION-$CHANNEL.zip + docker cp cp-model-plugin-deployer:/home/grapl/lambda.zip model-plugin-deployer-$VERSION-$CHANNEL.zip docker rm -f cp-model-plugin-deployer docker create -ti --name cp-graphql-endpoint grapl/grapl-graphql-endpoint:$VERSION-$CHANNEL bash