Readme
parent
5516e10221
commit
4b319e3f40
|
@ -0,0 +1,27 @@
|
||||||
|
# java release updater
|
||||||
|
|
||||||
|
## Description
|
||||||
|
|
||||||
|
* Update Java version status from Adoptium API + store in PostgreSQL database
|
||||||
|
|
||||||
|
### Todo
|
||||||
|
|
||||||
|
* Download release
|
||||||
|
* Package release to Artifactory
|
||||||
|
* Trigger Docker image build
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
* Create PostgreSQL database with associated script
|
||||||
|
|
||||||
|
* Install Python3 dependencies
|
||||||
|
```bash
|
||||||
|
/usr/bin/python3 -m pip install -r requirements.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
* Launch
|
||||||
|
```bash
|
||||||
|
/usr/bin/python3 main.py
|
||||||
|
```
|
|
@ -1,5 +1,5 @@
|
||||||
create database jru;
|
create database jru;
|
||||||
create user jru_user with encrypted password 'nixxamere';
|
create user jru_user with encrypted password 'testpasswd';
|
||||||
grant all privileges on database jru to jru_user;
|
grant all privileges on database jru to jru_user;
|
||||||
|
|
||||||
CREATE TABLE jru.java_versions (
|
CREATE TABLE jru.java_versions (
|
||||||
|
|
Loading…
Reference in New Issue