fireant-bot / fireant

Fireant is a Dependabot-like service (tailored to Apache Ant + Ivy projects) which creates pull requests to keep your dependencies secure and up-to-date.
https://github.com/fireant-bot/fireant
Apache License 2.0
1 stars 1 forks source link

Add a "Run" stage in the pipeline #56

Closed mjemnawaz closed 3 years ago

mjemnawaz commented 3 years ago

Run "docker run ... " command in Jenkins. Include environment variable in a way that does not expose the private information.

mjemnawaz commented 3 years ago

docker run currently causes pipeline failure due to the following issue:

+ docker run -e GITHUB_USERNAME=XXXXX -e GITHUB_PASSWORD=XXXXX -e GITHUB_EMAIL=XXXXX -e REQUIRES_IO_TOKEN=XXXXX fireantbot/fireant 

Traceback (most recent call last):
  File "/usr/src/app/./main.py", line 300, in <module>
    if setup_env():
  File "/usr/src/app/./main.py", line 62, in setup_env
    REPO_LINK = config.FORKED_LINK
AttributeError: module 'config' has no attribute 'FORKED_LINK'