Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/api-js:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/api-js:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
2 changes: 1 addition & 1 deletion azure-defender-easm/add-domain-to-easm/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- "-c"
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/azure-defender-easm/add-domain-to-easm:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/azure-defender-easm/add-domain-to-easm:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: "gcr.io/cloud-builders/docker"
id: build-https-if-master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- "-c"
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/azure-defender-easm/label-known-easm-assets:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/azure-defender-easm/label-known-easm-assets:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: "gcr.io/cloud-builders/docker"
id: build-https-if-master
Expand Down
4 changes: 2 additions & 2 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ You can see it in the cloudbuild.yaml files under the name "track-compliance/ci"
To build a copy of this image:

```sh
docker build -t northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci .
docker build -t gcr.io/track-compliance/ci .
```
To push to the registry you will need to configure docker with proper credentials.

```sh
gcloud auth configure-docker
docker push northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci
docker push gcr.io/track-compliance/ci
```
4 changes: 2 additions & 2 deletions ci/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ steps:
- |
if [[ "$BRANCH_NAME" == "master" ]]
then
docker build -t northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci .
docker build -t gcr.io/track-compliance/ci .
else
exit 0
fi
Expand All @@ -23,7 +23,7 @@ steps:
- |
if [[ "$BRANCH_NAME" == "master" ]]
then
docker push northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci
docker push gcr.io/track-compliance/ci
else
exit 0
fi
8 changes: 4 additions & 4 deletions clients/python/cloudbuild.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
steps:
- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
- name: 'gcr.io/track-compliance/ci'
id: install-client-deps
dir: clients/python
entrypoint: pipenv
args: ['sync', '-d', '--bare']
env:
- PIPENV_NOSPIN=TRUE

- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
- name: 'gcr.io/track-compliance/ci'
id: lint-client
dir: clients/python
entrypoint: /bin/sh
args: ['-c', 'pipenv run black --check tracker_client/ && pipenv run bandit -r tracker_client/']

- name: 'northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/ci'
- name: 'gcr.io/track-compliance/ci'
id: test-client
dir: clients/python
entrypoint: pipenv
Expand All @@ -26,4 +26,4 @@ steps:
timeout: 1200s
options:
machineType: 'E2_HIGHCPU_8'

2 changes: 1 addition & 1 deletion frontend-maintenance/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/frontend-maintenance:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/frontend-maintenance:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
2 changes: 1 addition & 1 deletion frontend/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/frontend:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/frontend:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
spec:
containers:
- name: add-domain-to-easm
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/azure-defender-easm/add-domain-to-easm:master-5104232-1706728878 # {"$imagepolicy": "flux-system:add-domain-to-easm"}
image: gcr.io/track-compliance/azure-defender-easm/add-domain-to-easm:master-5104232-1706728878 # {"$imagepolicy": "flux-system:add-domain-to-easm"}
env:
- name: SUBSCRIBE_TO
value: domains.*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
spec:
containers:
- name: label-known-easm-assets
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/azure-defender-easm/label-known-easm-assets:master-8296e62-1706728448 # {"$imagepolicy": "flux-system:label-known-easm-assets"}
image: gcr.io/track-compliance/azure-defender-easm/label-known-easm-assets:master-8296e62-1706728448 # {"$imagepolicy": "flux-system:label-known-easm-assets"}
env:
- name: DB_PASS
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion k8s/apps/bases/frontend/maintenance-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ spec:
app: tracker-frontend-maintenance
spec:
containers:
- image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/frontend-maintenance:master-a1a1a1b-1692191661 # {"$imagepolicy": "flux-system:frontend-maintenance"}
- image: gcr.io/track-compliance/frontend-maintenance:master-a1a1a1b-1692191661 # {"$imagepolicy": "flux-system:frontend-maintenance"}
name: frontend-maintenance
resources:
limits:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: add-domain-to-easm
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/add-domain-to-easm
image: gcr.io/track-compliance/add-domain-to-easm
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: api
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/api-js
image: gcr.io/track-compliance/api-js
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: dmarc-report
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/dmarc-report
image: gcr.io/track-compliance/dmarc-report
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: dns-processor
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/dns-processor
image: gcr.io/track-compliance/dns-processor
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: dns-scanner
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/dns-scanner
image: gcr.io/track-compliance/dns-scanner
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: domain-cleanup
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/domain-cleanup
image: gcr.io/track-compliance/services/domain-cleanup
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: domain-discovery
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/domain-discovery
image: gcr.io/track-compliance/domain-discovery
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: domain-dispatcher
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/domain-dispatcher
image: gcr.io/track-compliance/domain-dispatcher
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: frontend
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/frontend
image: gcr.io/track-compliance/frontend
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: frontend-maintenance
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/frontend-maintenance
image: gcr.io/track-compliance/frontend-maintenance
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: guidance
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/guidance
image: gcr.io/track-compliance/services/guidance
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: label-known-easm-assets
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/label-known-easm-assets
image: gcr.io/track-compliance/label-known-easm-assets
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: log4shell-processor
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/log4shell-processor
image: gcr.io/track-compliance/log4shell-processor
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: log4shell-scanner
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/log4shell-scanner
image: gcr.io/track-compliance/log4shell-scanner
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: org-footprint
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/org-footprint
image: gcr.io/track-compliance/services/org-footprint
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: progress-report
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/progress-report
image: gcr.io/track-compliance/services/progress-report
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: spring4shell-scanner
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/spring4shell-scanner
image: gcr.io/track-compliance/spring4shell-scanner
interval: 1m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: summaries
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/summaries
image: gcr.io/track-compliance/services/summaries
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: super-admin
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/super-admin
image: gcr.io/track-compliance/super-admin
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: update-selectors
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/services/update-selectors
image: gcr.io/track-compliance/services/update-selectors
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: web-processor
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/web-processor
image: gcr.io/track-compliance/web-processor
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: web-scanner
namespace: flux-system
spec:
image: northamerica-northeast1-docker.pkg.dev/track-compliance/tracker/web-scanner
image: gcr.io/track-compliance/web-scanner
interval: 5m0s
---
apiVersion: image.toolkit.fluxcd.io/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion scanners/dns-processor/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/dns-processor:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/dns-processor:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-https-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/dns-scanner/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/dns-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/dns-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-dns-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/domain-discovery/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- "-c"
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/domain-discovery:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/domain-discovery:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: "gcr.io/cloud-builders/docker"
id: build-discover-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/domain-dispatcher/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/domain-dispatcher:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/domain-dispatcher:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/log4shell-processor/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/log4shell-processor:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/log4shell-processor:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/log4shell-scanner/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/log4shell-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/log4shell-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
2 changes: 1 addition & 1 deletion scanners/spring4shell/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ steps:
args:
- '-c'
- |
echo "northamerica-northeast1-docker.pkg.dev/$PROJECT_ID/tracker/spring4shell-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename
echo "gcr.io/$PROJECT_ID/spring4shell-scanner:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename

- name: 'gcr.io/cloud-builders/docker'
id: build-if-master
Expand Down
Loading