Skip to content

Commit 71131c3

Browse files
committed
prep for org switch
1 parent 71591ae commit 71131c3

File tree

696 files changed

+284
-322207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

696 files changed

+284
-322207
lines changed

.circleci/config.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '2'
22
jobs:
33
build:
4-
working_directory: /go/src/github.com/archivers-space/api
4+
working_directory: /go/src/github.com/datatogether/api
55
docker:
66
- image: circleci/cci-demo-go-primary:0.0.2
77
environment:
@@ -29,18 +29,18 @@ jobs:
2929
echo Failed waiting for Postgres && exit 1
3030
- run:
3131
name: Make test results directory
32-
command: mkdir -p /tmp/test-reports/archivers-space
32+
command: mkdir -p /tmp/test-reports/datatogether
3333
- run:
3434
name: Install dependencies
3535
command: go-wrapper download && go-wrapper install && go get -v github.com/jstemmer/go-junit-report
3636
- run:
3737
name: Run tests
38-
command: go test -v -race ./... | tee /tmp/test-reports/archivers-space/original.txt ; test ${PIPESTATUS[0]} -eq 0
38+
command: go test -v -race ./... | tee /tmp/test-reports/datatogether/original.txt ; test ${PIPESTATUS[0]} -eq 0
3939
- run:
4040
name: Convert test output to junit-style xml
41-
command: cat /tmp/test-reports/archivers-space/original.txt | go-junit-report > /tmp/test-reports/archivers-space/junit.xml
41+
command: cat /tmp/test-reports/datatogether/original.txt | go-junit-report > /tmp/test-reports/datatogether/junit.xml
4242
- store_test_results:
43-
path: /tmp/test-reports/archivers-space/junit.xml
43+
path: /tmp/test-reports/datatogether/junit.xml
4444
- setup_remote_docker
4545
- run:
4646
name: Install Docker client
@@ -57,8 +57,8 @@ jobs:
5757
command: |
5858
if [ $CIRCLE_BRANCH = 'master' ]; then
5959
TAG=0.1.$CIRCLE_BUILD_NUM
60-
docker build -t archivers/api:latest -t archivers/api:$TAG .
60+
docker build -t datatogether/api:latest -t datatogether/api:$TAG .
6161
docker login -u $DOCKER_USER -p $DOCKER_PASS
62-
docker push archivers/api:$TAG
63-
docker push archivers/api:latest
62+
docker push datatogether/api:$TAG
63+
docker push datatogether/api:latest
6464
fi

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ EXPOSE 3000
77
# RUN go-wrapper install github.com/codegangsta/gin
88

99
# Copy the local package files to the container’s workspace.
10-
ADD . /go/src/github.com/archivers-space/api
11-
# WORKDIR /go/src/github.com/archivers-space/api
10+
ADD . /go/src/github.com/datatogether/api
11+
# WORKDIR /go/src/github.com/datatogether/api
1212
# CMD ["gin", "-i"]
1313

1414
# Install api binary globally within container
15-
RUN go install github.com/archivers-space/api
15+
RUN go install github.com/datatogether/api
1616
# Set binary as entrypoint
1717
ENTRYPOINT /go/bin/api

0 commit comments

Comments
 (0)