7 Commits

Author SHA1 Message Date
Joseph Nuthalapati
05815bc992
ci: Use compatible versions of Selenium and Splinter
This is a temporary fix until Splinter addresses the breaking changes in Selenium 4.3.0

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2022-07-04 19:26:40 -04:00
Joseph Nuthalapati
77f9037219
tests: functional: Simplify GitLabCI configuration
- The GitLab CI Runner no longer directly runs AWS CLI commands
- The Runner calls two AWS Lambda functions for running or terminating the app servers
- The Lambda functions invoke AWS APIs using the Python boto3 library

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-06-30 09:32:26 -07:00
Joseph Nuthalapati
629ca17ac2
tests: functional: Add jobs for bullseye-backports
- Added an additional build job called 'build-backports'
- Added a separate stage for functional tests in order to avoid
  depending on multiple jobs
- Improved readability of long commands in YAML files
- Depending on GitLab username 'weblate' instead of a RE2 regexp (untested)
- Increased job timeout to 2h 30m

Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-06-06 10:21:00 -07:00
Joseph Nuthalapati
f86ed032a3
tests: functional: Integrate into Salsa CI
Functional tests are run in parallel on Debian testing and Debian
unstable using the latest freedombox package built in the pipeline.

Commits by Weblate are ignored.

Fixes freedombox-team/infrastructure#34
Closes freedombox-team/infrastructure!48

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
2022-05-26 12:28:17 -07:00
Joseph Nuthalapati
a5c8c90eb0
gitlabci: Update Dockerfile and script
Re-heating a server template is a bad idea in the case of Docker images
since they are composed of immutable layers. The size of the image will
keep going up with each subsequent build. Building using debian:testing
instead.

GitLab is no longer allowing docker login with the main password. A
personal access token with the permissions of "api, read_registry,
write_registry" should be used instead.

Avoided copying the massive .container directory into the Docker
container by using a .dockerignore file.

Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2020-11-16 18:41:43 -05:00
James Valleroy
14fb7f9635
ci: Allow fuse to be installed
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
2020-07-19 18:57:07 -04:00
Sunil Mohan Adapa
c69c5f8317
ci: Update link to container in Docker registry
Move Gitlab docker related files to .ci folder

Reviewed-by: Joseph Nuthalapati <njoseph@riseup.net>
2020-05-01 17:15:48 +05:30