Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

Install and configure Jenkins #10

Closed
israelboudoux opened this issue May 31, 2022 · 6 comments
Closed

Install and configure Jenkins #10

israelboudoux opened this issue May 31, 2022 · 6 comments
Assignees
Labels
Not SDK This issue belongs to another repo

Comments

@israelboudoux
Copy link

israelboudoux commented May 31, 2022

Install and configure Jenkins on AWS and create a job for the current Nightfall repositories.
Installation/configuration steps:

  • Install the app;
  • Install/configure plugins;
  • Enable Jenkins data backup;
  • Create admin credentials;
  • Add system admin e-mail ([email protected]);
  • Configure a proper domain for access Jenkins (e.g. jenkins.nightfall.com) only via VPN (Internal);
  • Install/Configure github Jenkins credentials;
  • Configure HTTPS:
    • Create selfsigned certificate;
    • Disable HTTP.
  • Create team credentials via Github webhook (for the moment only @druiz0992 and I have full access);
  • Configure job for nightfall3 repository.
@israelboudoux israelboudoux self-assigned this May 31, 2022
@israelboudoux israelboudoux changed the title Compare/Discuss/Define a CI/CD tools to use for NF Compare/Discuss/Define a CI/CD tool to use for NF Jun 1, 2022
@israelboudoux israelboudoux changed the title Compare/Discuss/Define a CI/CD tool to use for NF Install and configure Jenkins Jun 3, 2022
@israelboudoux
Copy link
Author

israelboudoux commented Jun 6, 2022

Jenkins is now installed, it can be accessed through the URL http://10.48.1.56:8080
One should be connected to the VPN (Internal) to be successful.

The details about the instance running on EC2 can be seen here: https://us-east-2.console.aws.amazon.com/ec2/v2/home?region=us-east-2#InstanceDetails:instanceId=i-0944438bb6b1d3220

@israelboudoux
Copy link
Author

The S3 Bucket is now created for accommodate the Jenkins data backup: nightfall-cicd-backup
The Jenkins plugin Periodic Backup will manage the backup. Following the current configuration for the periodic backup, only the last 7 days will be kept on the bucket and the backup will happen everyday about 00:00.

Screenshot from 2022-06-07 15-14-03.png

The backup was tested successfully!
Screenshot from 2022-06-07 15-07-41.png

@israelboudoux
Copy link
Author

Jenkins is now accessible via the following URL:
http://jenkins.polygon-nightfall.technology:8080

I still need to manage to do it accessible only via HTTPS.

@israelboudoux
Copy link
Author

Jenkins is now accessible via HTTPS
https://jenkins.polygon-nightfall.technology:8443/

@israelboudoux
Copy link
Author

Jenkins is now available to the team members and the authentication is being done via Github.

@israelboudoux
Copy link
Author

Jenkins is now configured with a job for Nightfall3, but it is still unable to build it, since it needs a Jenkinsfile properly configured with the current Nightfall actions that are done on Github Actions.

@imagobea imagobea added the Not SDK This issue belongs to another repo label Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Not SDK This issue belongs to another repo
Projects
None yet
Development

No branches or pull requests

2 participants