Skip to content

Commit 720e865

Browse files
authored
Auto commit from dk-cicd bot (#177)
Co-authored-by: dk-cicd[bot] <127988915+dk-cicd[bot]@users.noreply.github.com>
1 parent 7e69c99 commit 720e865

File tree

2 files changed

+36
-44
lines changed

2 files changed

+36
-44
lines changed

.drone.yml

+16-44
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,25 @@
11
kind: pipeline
22
type: kubernetes
33
name: Deployment Stable
4-
54
steps:
6-
- name: docker-build
7-
image: docker
8-
pull: if-not-exists
9-
environment:
10-
DOCKER_REGISTRY: 558830342743.dkr.ecr.us-east-1.amazonaws.com
11-
commands:
12-
- docker build --network=host -t $$DOCKER_REGISTRY/healthcheck/webtests/checkout:latest -f ./dockerfiles/stable/Dockerfile .
13-
volumes:
14-
- name: dockersock
15-
path: /var/run
16-
- name: publish
17-
image: 053131491888.dkr.ecr.us-east-1.amazonaws.com/vtex/drone-builder:latest
18-
pull: always
19-
when:
20-
ref:
21-
include:
22-
- refs/tags/**
23-
exclude:
24-
- refs/tags/*-*
25-
environment:
26-
AWS_DEFAULT_REGION: us-east-1
27-
AWS_ACCESS_KEY_ID:
28-
from_secret: 558830342743_AWS_ACCESS_KEY_ID
29-
AWS_SECRET_ACCESS_KEY:
30-
from_secret: 558830342743_AWS_SECRET_ACCESS_KEY
31-
GIT_TOKEN:
32-
from_secret: GIT_TOKEN
33-
GIT_USER_NAME: ${DRONE_COMMIT_AUTHOR}
34-
GIT_USER_EMAIL: ${DRONE_COMMIT_AUTHOR_EMAIL}
35-
DOCKER_REGISTRY: 558830342743.dkr.ecr.us-east-1.amazonaws.com
36-
ENVIRONMENT: stable
37-
CICD_FORCE_NO_BUMP: true
38-
CICD_K8S_CLUSTER: EKS-Robots
39-
commands:
40-
- python3 /app/toolbelt/main.py
41-
volumes:
42-
- name: dockersock
43-
path: /var/run
44-
5+
- name: docker-build
6+
image: docker
7+
pull: if-not-exists
8+
environment:
9+
DOCKER_REGISTRY: 558830342743.dkr.ecr.us-east-1.amazonaws.com
10+
commands:
11+
- >-
12+
docker build --network=host -t
13+
$$DOCKER_REGISTRY/healthcheck/webtests/checkout:latest -f
14+
./dockerfiles/stable/Dockerfile .
15+
volumes:
16+
- name: dockersock
17+
path: /var/run
4518
trigger:
4619
event:
4720
- push
4821
- tag
49-
5022
volumes:
51-
- name: dockersock
52-
host:
53-
path: /var/run/
23+
- name: dockersock
24+
host:
25+
path: /var/run/

.vtex/deployment.yaml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
- acronym: checkout-ui-tests
2+
build:
3+
pipelines:
4+
- name: drone-builder-v1
5+
parameters:
6+
awsAccountId: "558830342743"
7+
awsRegion: us-east-1
8+
cicdForceNoBump: "true"
9+
cicdK8sCluster: EKS-Robots
10+
environment: stable
11+
runtime:
12+
architecture: amd64
13+
when:
14+
- event: push
15+
source: branch
16+
- event: push
17+
source: tag
18+
provider: dkcicd
19+
description: Deploy with drone-builder
20+
name: checkout-ui-tests

0 commit comments

Comments
 (0)