Skip to content

Commit

Permalink
Updates resulting for code review.
Browse files Browse the repository at this point in the history
  • Loading branch information
dalenewby committed Sep 14, 2023
1 parent ca70e41 commit ab3757d
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.aex
*.aes
codeship-services.yml
codeship-steps.yml
dockercfg
11 changes: 0 additions & 11 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
# environment files typically containing secrets
*.env
!example.env

# directories created by developer tools
.idea/

# dependency directories
node_modules/
vendor/
.terraform/

*.env
*.aes
dockercfg
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM alpine:3

# Variables set with ARG can be overridden at image build time with
# "--build-arg var=value". They are not available in the running container.
ARG B2_VERSION=v3.10.0

# Install b2, curl, perl, jq
RUN cd /tmp \
&& wget -O /usr/local/bin/b2 \
https://github.com/Backblaze/B2_Command_Line_Tool/releases/latest/download/b2-linux \
https://github.com/Backblaze/B2_Command_Line_Tool/releases/download/${B2_VERSION}/b2-linux \
&& chmod +x /usr/local/bin/b2 \
&& apk update \
&& apk add --no-cache curl perl jq \
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ it in a Backblaze B2 bucket.
1. In the left navigation area, click `Buckets`.
1. Click `Create a Bucket`.
* Bucket Unique Name: _supply a name_
* File in Bucket are: `Private`
* Files in Bucket are: `Private`
* Default Encryption: `Enable`
* Object Lock: `Disable`
1. Click `Create a Bucket`.
Expand All @@ -46,7 +46,7 @@ it in a Backblaze B2 bucket.
1. Set and export the environment variable `B2_APPLICATION_KEY_ID` with the Backblaze access token ID as its value.
1. Set and export the environment variable `B2_APPLICATION_KEY` with the Backblaze access token secret as its value.
1. To perform a YouTrack Cloud database backup:
`youtrack-backup.pl --baseurl=`_yt-url_` --bucket=`_b2-bucket-name_
youtrack-backup.pl --baseurl _yt-url_ --bucket _b2-bucket-name_

## Example use with Docker and Backblaze

Expand Down
4 changes: 2 additions & 2 deletions dockercfg.encrypted
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
codeship:v2
RcEzjbKUss+E6GAZ2P07g7gi9gepAGbsv3AJSzQpu1VTsBSJ1onWxxi0koS1/gsfPlM3C5oxLCFj4r2eas5WzFMBAe5JTQwlTthievGUizMf2DWA3KvK6+tHAtdmCiROk4ZIw89I4AwUpCUWQHAN3+H1XxkHSWj0Ufddfz+Sw7kuvupI7w2NJzRADuOSDXyY2OtDfMV1W6QWw2/R/ISWAQ+qG6ziVMCRvcZCKmBivbuDi9kVVoRf26MSRG6IvFbDCad8LrH91X129szpjNvkuKma8Ur0MV58YC0dQUmtXZ9A8mYSEOhWviZ89vCf+Ylli3ATIKfdN+nasoDPpS0RoXaaN9MPU++x5q9j3tPDHcCPMud4HV48jKTsLbGGvM32I3ALCrsFFoSFV8HuKKa8Zh5bOV/f2l5D+FA64E/CTNGMjWnhk2/TBA==
cloudbees:v1
6WHygVcP8ORz7T9mPPH62qxW0lVq4L3qq2czf4be7DMDln8K+Rv/iBCL0ZrtFPFBVcPM8QTIOHjby/EMiWVbFUQ2X/kwird1Uw7u6Tau91KqqALic2CLavmBXCKWG4NY4aPHl4SufxjSZhwMx6taGsnNNWsVPEQeGU3IX6Bs7xMWrhshCIfIQUWzrp1j9HMjNX5sAheAOpJfdX5SCNJ5lZBJiz8qog8FhC9z7qgrYN3MURx8NEtPE6XPO0R8NOGjzqcN5O37qXjQZlpN45ifuxFdyQHU6nYStkfjfS9txJ/hCcFVvhR01SPvv4tffIdbz5pR3A/JoF6RA9wCGXOl2gJtZqsbDcWIgamoouxkH9YVKazU8NJK2YnEu/ijjYw/acA5pfiCLy8Qp3OVWjFbkoOaLJKOZfl7s0fW9kwRe3RSVWJBf3tQUQ==

0 comments on commit ab3757d

Please sign in to comment.