Skip to content

Commit 721f300

Browse files
committed
chore(imagebuilder): change minio to storage
1 parent eaecf46 commit 721f300

4 files changed

Lines changed: 8 additions & 11 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.vscode/

Makefile

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,7 @@ PLATFORM ?= linux/amd64,linux/arm64
44

55
export GO15VENDOREXPERIMENT=1
66

7-
# Note that Minio currently uses CGO.
8-
9-
LDFLAGS := "-s -X main.version=${VERSION}"
107
IMAGE_PREFIX ?= drycc
11-
BINDIR := ./rootfs/bin
128

139
include versioning.mk
1410

rootfs/.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Dockerfile.*
1+
Dockerfile.*

rootfs/usr/local/bin/get_object

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#!/usr/bin/env bash
22

3-
mc config host add minio \
4-
"${DRYCC_MINIO_ENDPOINT}" \
5-
"${DRYCC_MINIO_ACCESSKEY}" \
6-
"${DRYCC_MINIO_SECRETKEY}" \
7-
--lookup "${DRYCC_MINIO_LOOKUP}" \
3+
mc config host add storage \
4+
"${DRYCC_STORAGE_ENDPOINT}" \
5+
"${DRYCC_STORAGE_ACCESSKEY}" \
6+
"${DRYCC_STORAGE_SECRETKEY}" \
7+
--lookup "${DRYCC_STORAGE_LOOKUP}" \
88
--api s3v4
99

1010
GET_PATH=/tmp/app.tgz
1111

12-
mc cp minio/"${DRYCC_MINIO_BUCKET}/${TAR_PATH}" "${GET_PATH}"
12+
mc cp storage/"${DRYCC_STORAGE_BUCKET}/${TAR_PATH}" "${GET_PATH}"

0 commit comments

Comments
 (0)