Skip to content

Releases: ebarault/anyservice-awscode-docker

Improve performance of log events printing + bug fixes

15 Nov 17:53
Compare
Choose a tag to compare
  • improvement: gitlab was lagging behind codebuild when displaying logs
  • fix: ci_env_json() helper failed with env vars of type list

Fix: iterate on same token while there are no new log events

18 Feb 17:43
Compare
Choose a tag to compare
3.5.6

fix: iterate on same token while there are no new log events

bug fix

23 Sep 08:41
d5aba8a
Compare
Choose a tag to compare
3.5.5

fix extraneous single quote

bug fix

23 Sep 08:19
54aae03
Compare
Choose a tag to compare

remove extraneous single quotes on default vars

Upload Artefacts for all builds | Customize gitlab artifacts dir

22 Sep 17:08
Compare
Choose a tag to compare

bug fixes

22 Sep 09:59
ba0bbae
Compare
Choose a tag to compare
  • renamed one missing occurence of ARTIFACTS_PACKAGING > CODEBUILD_ARTIFACTS_PACKAGING
  • force creation of .codebuild_artefacts dir with mkdir -p

Fetch codebuild artifacts from S3 bucket

21 Sep 18:05
594afcd
Compare
Choose a tag to compare
Fix case with no artifacts.zip available (#3)

* get codebuild to gitlab-runner

* get codebuild to gitlab-runner

* get codebuild artifacts to runner

* python3

* wip

* wip

* wip

* wip

* README.md

* README.md

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* support ARTIFACTS_PACKAGING NONE | ZIP

* fix doc

* fix doc

* Catch error if job does not have artifact

* fix if

* fix if

* fix merge

improve fetch_logs routine

24 Nov 23:07
Compare
Choose a tag to compare

The fetch_logs routine currently iterates every 10s to fetch new logs, displaying on all logs returned by a single call to aws logs get-log-events.

If there are more logs available (+1Mb / +10,000 events) they are not fetched until the next iteration, wasting 10s each time, with the impact that the build time at gitlab-ci is longer than the real build time, and some logs are never fetched.


AWS reference:
https://docs.aws.amazon.com/cli/latest/reference/logs/get-log-events.html

  • aws logs get-log-events fetches as many log events as can fit in a response size of 1 MB, up to 10,000 log events. it returns nextForwardToken, a token for the next set of items in the forward direction. If you have reached the end of the stream, it will return the same token you passed in.