Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit dda92a8

Browse files
committed
removed date from script.
1 parent e0a9e87 commit dda92a8

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

gcip/addons/container/jobs/crane.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ def copy(
3636

3737
job = Job(
3838
script=[
39-
"date",
4039
f"crane validate --remote {src}",
4140
f"crane copy {src} {dst}",
4241
],

tests/unit/comparison_files/test_addons_container_crane_test_advanced_crane_job.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ push-container-image-with-authentication:
99
- 'echo "{\"auths\": {\"index.docker.io\": {\"username\": \"$REGISTRY_USERNAME\",
1010
\"password\": \"$REGISTRY_PASSWORD\"}}, \"credHelpers\": {\"0132456789.dkr.eu-central-1.amazonaws.com\":
1111
\"ecr-login\"}}" > $HOME/.docker/config.json'
12-
- date
1312
- crane validate --remote index.docker.io/alpine:3
1413
- crane copy index.docker.io/alpine:3 0132456789.dkr.eu-central-1.amazonaws.com/namespace/alpine:3

tests/unit/comparison_files/test_addons_container_crane_test_default_crane_job.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ push-container-image-default:
55
name: gcr.io/go-containerregistry/crane:latest
66
stage: push_container_image
77
script:
8-
- date
98
- crane validate --remote index.docker.io/alpine:3
109
- crane copy index.docker.io/alpine:3 index.docker.io/user/alpine:3
1110
push-container-image-custom-image:
1211
image:
1312
name: index.docker.io/user/crane:latest
1413
stage: push_container_image
1514
script:
16-
- date
1715
- crane validate --remote quay.io/wagoodman/dive:0.10.0
1816
- crane copy quay.io/wagoodman/dive:0.10.0 index.docker.io/user/dive:latest

0 commit comments

Comments
 (0)