Commit Graph

5 Commits

Author SHA1 Message Date
Jakub Sokołowski 32e82c3f07
ci: add deploy tag to commit to avoid race conditions
When parallel builds for different environments run on the same host at
the same time then the one that finishes last overwrites the Docker
image that was built first, since the commit will be the same.

"So the last shall be first, and the first last: for many be called, but few chosen."
Matthew 20:16, King James Bible

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-18 11:03:52 +02:00
burnettk 0b29879eeb
add dir instruction to get inside the app dir when creating version json file 2023-05-15 11:40:11 -04:00
Jakub Sokołowski 62e55562d0
ci: create version_info.json file
Will be used for exporting version metrics.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-05-09 17:48:39 +02:00
Jakub Sokołowski 5813af1a17
ci: add discord notifications to at build success
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-23 23:02:58 +01:00
Jakub Sokołowski c939bb24d8
ci: add basic jenkinsfile for building Docker images
This is the first and most basic version of a Jenkinsfile we can use.

Since we can't just hardcode things like docker name, tag, or
credentials for pushing to a Docker registry it needs to be a parameter.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-02-27 20:46:15 +01:00