Skip to content

Commit

Permalink
testing docker action
Browse files Browse the repository at this point in the history
  • Loading branch information
Uroš Marolt committed Jan 9, 2024
1 parent 17a0313 commit 5a4aedf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/actions/node/builder/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26195,13 +26195,13 @@ const getDeployIUputs = () => {
}
const eksClusterName = process.env.CROWD_CLUSTER;
if (!eksClusterName) {
core.error('No EKS_CLUSTER_NAME environment variable found!');
throw new Error('No EKS_CLUSTER_NAME environment variable found!');
core.error('No CROWD_CLUSTER environment variable found!');
throw new Error('No CROWD_CLUSTER environment variable found!');
}
const awsRoleArn = process.env.AWS_ROLE_ARN;
const awsRoleArn = process.env.CROWD_ROLE_ARN;
if (!awsRoleArn) {
core.error('No AWS_ROLE_ARN environment variable found!');
throw new Error('No AWS_ROLE_ARN environment variable found!');
core.error('No CROWD_ROLE_ARN environment variable found!');
throw new Error('No CROWD_ROLE_ARN environment variable found!');
}
const awsAccessKeyId = process.env.AWS_ACCESS_KEY_ID;
if (!awsAccessKeyId) {
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/node/src/inputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ const getDeployIUputs = (): IDeployInput => {

const eksClusterName = process.env.CROWD_CLUSTER
if (!eksClusterName) {
core.error('No EKS_CLUSTER_NAME environment variable found!')
throw new Error('No EKS_CLUSTER_NAME environment variable found!')
core.error('No CROWD_CLUSTER environment variable found!')
throw new Error('No CROWD_CLUSTER environment variable found!')
}

const awsRoleArn = process.env.AWS_ROLE_ARN
const awsRoleArn = process.env.CROWD_ROLE_ARN
if (!awsRoleArn) {
core.error('No AWS_ROLE_ARN environment variable found!')
throw new Error('No AWS_ROLE_ARN environment variable found!')
core.error('No CROWD_ROLE_ARN environment variable found!')
throw new Error('No CROWD_ROLE_ARN environment variable found!')
}

const awsAccessKeyId = process.env.AWS_ACCESS_KEY_ID
Expand Down

0 comments on commit 5a4aedf

Please sign in to comment.