Skip to content

Commit ae090b7

Browse files
vrutkovscgwalters
authored andcommitted
Remove bump-timestamp
This command is no longer being used in FCOS or RHCOS pipelines
1 parent 48698eb commit ae090b7

File tree

3 files changed

+1
-32
lines changed

3 files changed

+1
-32
lines changed

src/cmd-bump-timestamp

Lines changed: 0 additions & 24 deletions
This file was deleted.

src/coreos-assembler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ build_commands="init fetch build run prune clean"
3939
# commands more likely to be used in a prod pipeline only
4040
advanced_build_commands="buildprep buildupload oscontainer"
4141
buildextend_commands="qemu aws azure gcp openstack installer live vmware metal"
42-
utility_commands="tag compress bump-timestamp koji-upload kola aws-replicate"
42+
utility_commands="tag compress koji-upload kola aws-replicate"
4343
other_commands="shell"
4444
if [ -z "${cmd}" ]; then
4545
echo Usage: "coreos-assembler CMD ..."

src/prune_builds

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ DEFAULT_KEEP_LAST_N = 3
4141

4242
parser = argparse.ArgumentParser()
4343
parser.add_argument("--workdir", required=True, help="Path to workdir")
44-
parser.add_argument("--timestamp-only", help="Update timestamp on builds.json",
45-
action='store_true')
4644
parser.add_argument("--insert-only", metavar="BUILDID", action='store',
4745
help="Append a new latest build, do not prune")
4846
keep_options = parser.add_mutually_exclusive_group()
@@ -66,11 +64,6 @@ builds = Builds(args.workdir)
6664
scanned_builds = []
6765
builds_dir = os.path.join(args.workdir, "builds")
6866

69-
# handle --timestamp-only
70-
if args.timestamp_only:
71-
builds.bump_timestamp()
72-
sys.exit(0)
73-
7467
# Handle --insert-only
7568
if args.insert_only:
7669
builds.insert_build(args.insert_only)

0 commit comments

Comments
 (0)