Marcus Kok
70ea703079
scripts: clean up old container in frontend build script (PROJQUAY-0000) ( #3777 )
...
* clean up old container in frontend build script
* ensure a non-zero exit code for docker rm
2025-04-11 13:38:51 -04:00
Adam Drew
43e9a5e909
Update app_sre_build_deploy_frontend.sh ( #2190 )
...
Bump the version of the build image to get the latest caddy config
2023-08-30 17:10:33 -04:00
Syed Ahmed
47141afc83
build: disable push to backup repo for quayio-frontend (PROJQUAY-5229) ( #1834 )
...
The backup ECR needs correct IAM rules for pushing. Disabling it until
we get that
2023-04-25 16:55:25 -04:00
Syed Ahmed
05e3773b74
build: Add build scripts for quay.io frontend (PROJQUAY-5229) ( #1833 )
...
Adds app-sre-build-deploy-frontend.sh script
2023-04-25 14:36:43 -04:00
Syed Ahmed
1a2bb4a4e9
ui: Remove add_analytics script from Dockerfile (PROJQUAY-4582) ( #1669 )
...
The new UI will dynamically add the analytics scripts
2022-12-09 13:06:11 -05:00
Syed Ahmed
bc5bc22b1d
ui: Add script for adobe analytics for quay.io (PROJQUAY-4582) ( #1648 )
...
Analytics will be added only when building for quay.io
2022-12-02 11:57:00 -05:00
Marcus Kok
facb4b1e5b
scripts: push to ecr backup when building quay.io (PROJQUAY-3273) ( #1578 )
...
change order to push to ecr first when deploying - fixes the problem of needing a newer build when deploying quay.io but cannot get it because quay.io itself is down
2022-11-01 15:46:21 -04:00
Sunandadadi
3035f46f56
Util: Clean up and adding make target to install pre-commit hooks(PROJQUAY-000) ( #1587 )
2022-10-25 11:51:19 -04:00
Syed Mushtaq Ahmed
04af141a49
dev: Add pre-commit script to run black (PROJQUAY-4039) ( #1432 )
...
* dev: Add pre-commit script to run black (PROJQUAY-4039)
Automatically formats python files before commit
* Add makefile target to install hook
* Update instructions for installing pre-commit hook
2022-07-06 14:46:47 -04:00
Syed Mushtaq Ahmed
8926848a9e
Dummy commit to run app-sre build-image ( #970 )
2021-11-11 12:00:04 -05:00
Syed Mushtaq Ahmed
6ff13afc7a
Dummy commit to run app-sre build-image ( #969 )
2021-11-11 10:13:28 -05:00
Syed Mushtaq Ahmed
a347d3167d
build: Update backup base image name (PROJQUAY-2372) ( #965 )
...
Use quayio-py3-backup as the name for py3 images
2021-11-09 09:18:59 -05:00
Syed Mushtaq Ahmed
c36f599c6e
Update BASE_IMAGE in post deploy script (PROJQUAY-2372) ( #964 )
...
Use quay-py3 as base image
2021-11-08 15:17:14 -05:00
Syed Mushtaq Ahmed
d2f4efd842
build: Remove the image archive in post-deploy (PROJQUAY-2372) ( #963 )
...
post-deploy is used to push the image to backup ECR. Don't remove
the image before this is run
2021-11-08 14:57:51 -05:00
Syed Mushtaq Ahmed
af2eeaa617
build: Use docker-archive for post-deploy script (PROJQUAY-2372) ( #962 )
...
Update to use `docker-archive` for skopeo as `docker-daemon` is
not supported in rhel8 build nodes
2021-11-08 13:25:19 -05:00
Syed Mushtaq Ahmed
e8cf6339c3
build: Add docker-save to push images via skopeo on rhel-8 (PROJQUAY-2372) ( #960 )
...
Fix type with `docker save`
2021-11-04 16:45:04 -04:00
Syed Mushtaq Ahmed
d8b0e94900
build: Add docker-save to push images via skopeo on rhel-8 (PROJQUAY-2372) ( #959 )
...
on RHEL-8 nodes, there is no docker-daemon so we need to run docker save
to get a tar image to upload to to quay.io
2021-11-04 13:54:47 -04:00
Syed Mushtaq Ahmed
322b32b036
Update appsre build script ( #935 )
...
* deploy: Update app-sre build script (PROJQUAY-2374)
rhel8 uses podman instead of docker
* deploy: Update app-sre build script (PROJQUAY-2374)
rhel8 nodes don't use skopeo
2021-11-04 11:08:21 -04:00
Syed Mushtaq Ahmed
5a56145ba5
deploy: Update app-sre build script (PROJQUAY-2374) ( #934 )
...
rhel8 uses podman instead of docker
2021-10-15 15:37:39 -04:00
Syed Mushtaq Ahmed
6b01bd1245
deploy: Push py3 images to a different quay repo (PROJQUAY-2374) ( #930 )
...
This is to make sure we have both py2 and py3 deployable from different
repos.
2021-10-15 09:47:06 -04:00
Kenny Lee Sin Cheong
139c9abc66
dockerfile: use separate dockerfile for production deployment ( #927 )
...
Use Dockerfile.deploy for CI/CD pipeline.
2021-10-14 16:09:16 -04:00
Maor Friedman
1cc8442bb9
fix post_depoy script backup base image ( #423 )
2020-06-05 14:43:24 -04:00
Maor Friedman
665085fcb0
use backup push creds ( #420 )
2020-06-05 14:08:45 -04:00
Jimmy Zelinskie
c06ca37322
init: github workflows
2020-04-28 18:13:40 -04:00
Christian Clauss
469428072a
Fix some flake8 undefined names ( #192 )
...
* Fix some flake8 undefined names
* Add a comma for psf/black
* import config_web
2020-02-05 14:23:13 -05:00
Kurtis Mullins
483bee960e
Fix errors on Flake8 in Python 2.7
...
- It appears that Flake8 is raising issues with the existing Python 2.7 code.
While it is possible that these could genuinely use some cleanup, it
appears some errors come from the expectation of Python 3.x syntax. It has
been temporarily commented out until we can fix it.
- Related to: https://github.com/quay/quay/pull/162
2020-01-17 10:47:21 -05:00
Christian Clauss
842305b1a5
Update scripts/ci to find Python syntax errors
2020-01-17 12:34:35 +01:00
Tom McKay
5c9b33084d
PROJQUAY-92 - fix 'black' regex error
2019-12-16 16:32:39 -05:00
Tom McKay
5d83b82b56
PROJQUAY-28 - Enable 'black' python format
2019-12-02 12:18:54 -05:00
Maor Friedman
6600dbd65a
use docker config file
2019-11-28 13:03:33 +02:00
Maor Friedman
7de083310b
Add App SRE post deploy script
2019-11-28 10:02:13 +02:00
Jimmy Zelinskie
43e2d2e547
scripts/ci: fix incorrect logs command usage
...
This script intends this command to be `docker logs` not `docker log`.
2019-11-25 14:59:29 -05:00
Tejas Parikh
26751e6d7a
fix typo
...
Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2019-11-25 10:28:47 -05:00
Tejas Parikh
5b0d4106cf
added scripts to build off both rhel7 and centos7
...
Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2019-11-25 10:25:10 -05:00
Tejas Parikh
b35986d764
Added app-sre ci pipleline scripts and Makefile targets
...
Signed-off-by: Tejas Parikh <tparikh@redhat.com>
2019-11-14 10:53:22 -05:00
Jimmy Zelinskie
9c0dd3b722
initial import for Open Source 🎉
2019-11-12 11:09:47 -05:00