cyberark / summon

CLI that provides on-demand secrets access for common DevOps tools
https://cyberark.github.io/summon
MIT License
705 stars 63 forks source link

Fix CI failures #228

Closed rpothier closed 2 years ago

rpothier commented 2 years ago

CI is failing due to a new feature with GoReleaser.

GoReleaser 2715 added an artifacts.json file to the artifacts, but this file has user read permissions only and is written by root and the other processes cannot read this file. It is set to 0x600 here

total 11364
-rw------- 1 root root    5887 Dec 23 10:57 artifacts.json
-rw-r--r-- 1 root root    4789 Dec 23 10:57 config.yaml
-rw-r--r-- 1 root root     781 Dec 23 10:57 SHA256SUMS.txt
-rw-r--r-- 1 root root 1442717 Dec 23 10:57 summon_0.9.0-SNAPSHOT-daaf95d_amd64.apk
-rw-r--r-- 1 root root 1442894 Dec 23 10:57 summon_0.9.0-SNAPSHOT-daaf95d_amd64.deb
-rw-r--r-- 1 root root 1441378 Dec 23 10:57 summon_0.9.0-SNAPSHOT-daaf95d_amd64.rpm
drwxr-xr-x 2 root root    4096 Dec 23 10:57 summon-arm_darwin_arm64
drwxr-xr-x 2 root root    4096 Dec 23 10:57 summon_darwin_amd64
-rw-r--r-- 1 root root 1464315 Dec 23 10:57 summon-darwin-amd64.tar.gz
-rw-r--r-- 1 root root 1445187 Dec 23 10:57 summon-darwin-arm64.tar.gz
-rw-r--r-- 1 root root 1439695 Dec 23 10:57 summon-linux-amd64.tar.gz
drwxr-xr-x 2 root root    4096 Dec 23 10:57 summon-linux_linux_amd64
-rw-r--r-- 1 root root    1246 Dec 23 10:57 summon.rb
drwxr-xr-x 2 root root    4096 Dec 23 10:57 summon_solaris_amd64
-rw-r--r-- 1 root root 1417291 Dec 23 10:57 summon-solaris-amd64.tar.gz
drwxr-xr-x 2 root root    4096 Dec 23 10:57 summon_windows_amd64
-rw-r--r-- 1 root root 1480462 Dec 23 10:57 summon-windows-amd64.zip

Desired Outcome

CI should run

Implemented Changes

Ignoring this new artifact.json file

Connected Issue/Story

Resolves #[]

CyberArk internal issue link: [insert issue ID]()

Definition of Done

At least 1 todo must be completed in the sections below for the PR to be merged.

Changelog

Test coverage

Documentation

Behavior

Security