Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ steps:
filename: unit-tests-cache-ubuntu-20.tar

- name: unit-tests
# see: docker/dockerfiles/Dockerfile
# see: docker/continuous-integration/Dockerfile
# TODO: switch to codedotorg/cdo-ci
image: codedotorg/code-dot-org:1.10.0
pull: always
volumes:
Expand Down Expand Up @@ -188,7 +189,8 @@ steps:
filename: ui-tests-cache-ubuntu-20.tar

- name: ui-tests
# see: docker/dockerfiles/Dockerfile
# see: docker/continuous-integration/Dockerfile
# TODO: switch to codedotorg/cdo-ci
image: codedotorg/code-dot-org:1.10.0
pull: always
volumes:
Expand Down Expand Up @@ -287,6 +289,6 @@ trigger:
- push
---
kind: signature
hmac: 952c3f87b96b6a57cfbb52f6c9e9b0adb88bc5ec0c775e79b2791349d80b0daa
hmac: 8551f3e768d263e92bb0c8060de2b6bfd8cf939aa31c52047621485746726d16

...
14 changes: 9 additions & 5 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,12 @@
# infrastructure #
##################

/.github/ @code-dot-org/infrastructure
/aws/ @code-dot-org/infrastructure
/cookbooks/ @code-dot-org/infrastructure
.drone.yml @code-dot-org/infrastructure
.ruby-version @code-dot-org/infrastructure
# Must approve changes to:
/.github/ @code-dot-org/infrastructure
/aws/ @code-dot-org/infrastructure
/cookbooks/ @code-dot-org/infrastructure
/docker/continuous-integration/ @code-dot-org/infrastructure
.ruby-version @code-dot-org/infrastructure

# May have feedback on:
.drone.yml @code-dot-org/infrastructure
6 changes: 5 additions & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ The Docker Compose files use a bind-mount to make the entire code-dot-org source
Make sure everything works locally using the instructions above.

```
cd docker/dockerfiles
cd docker/continuous-integration
```

Sign in to Docker Hub through the command line; when prompted, enter the password found under "access token for docker cli authentication" in the lastpass docker hub notes field
Expand All @@ -85,14 +85,18 @@ Build a full image to your local machine
docker build .
```

**Note:** We are moving to a new naming convention in order to use different docker images for different purposes. What was the `code-dot-org` image will become the `cdo-ci` image. For now, these docs advise publishing both names.

Tag the new image with an incremented version number. You can get the image id from the end of the build log or from `docker image list`.

```
docker tag <image_id> codedotorg/code-dot-org:<version>
docker tag <image_id> codedotorg/cdo-ci:<version>
```

Upload the image to docker hub (supply the version used in the previous step)

```
docker push codedotorg/code-dot-org:<version>
docker push codedotorg/cdo-ci:<version>
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Pushed to Docker Hub at codedotorg/code-dot-org:<version>
# TODO: Switch to pushing this to codedotorg/cdo-ci:<version> and update .drone.yml
#
# This Dockerfile builds the image used on DroneCI
# and is referenced by version in .drone.yml
# It could likely be used in other CI environments
# with minor modifications.


#########################################################
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion docker/setup-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
version: "3"
services:
site:
image: codedotorg/code-dot-org:1.9.4
# TODO: switch to codedotorg/cdo-ci or other new image
image: codedotorg/code-dot-org:1.10.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
volumes:
- ../:/home/circleci/code-dot-org:delegated
Expand Down
3 changes: 2 additions & 1 deletion docker/site-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
version: "3"
services:
site:
image: codedotorg/code-dot-org:1.9.4
# TODO: switch to codedotorg/cdo-ci or other new image
image: codedotorg/code-dot-org:1.10.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
volumes:
- ../:/home/circleci/code-dot-org:delegated
Expand Down
3 changes: 2 additions & 1 deletion docker/ui-tests-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
version: "3"
services:
site:
image: codedotorg/code-dot-org:1.9.4
# TODO: switch to codedotorg/cdo-ci or other new image
image: codedotorg/code-dot-org:1.10.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
volumes:
- ../:/home/circleci/code-dot-org:delegated
Expand Down
3 changes: 2 additions & 1 deletion docker/unit-tests-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
version: "3"
services:
site:
image: codedotorg/code-dot-org:1.9.4
# TODO: switch to codedotorg/cdo-ci or other new image
image: codedotorg/code-dot-org:1.10.0
user: ${FIXUID:-1000}:${FIXGID:-1000}
volumes:
- ../:/home/circleci/code-dot-org:delegated
Expand Down