Maamoun TK <[email protected]> writes:

>> >   only:
>> >     variables:
>> >     - $S390X_SSH_IP_ADDRESS
>> >     - $S390X_SSH_PRIVATE_KEY
>> >     - $S390X_SSH_CI_DIRECTORY
>>
>> What does this mean? Ah, it excludes the job if these variables aren't
>> set?
>>
>
> Yes, this is what it does according to gitlab ci docs
> <https://docs.gitlab.com/ee/ci/yaml/#onlyexcept-basic>. otherwise, fresh
> forks will have always-unsuccessful job.

Hmm, docs aren't quite clear, but it doesn't seem to work as is. I
accidentally set the new S390X_ACCOUNT varable to "protected", and then
the job was started but with $S390X_ACCOUNT expanding to the empty
string, and failing.. Perhaps
it needs to be written as

  - $FOO != ""

instead?

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
nettle-bugs mailing list
[email protected]
http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs

Reply via email to