Name: dotty-drone
Owner: Programming Methods Laboratory EPFL
Description: Docker image for testing dotty and other projects in the LAMP EPFL org
Created: 2016-11-23 09:38:10.0
Updated: 2018-05-23 12:52:28.0
Pushed: 2018-05-23 12:52:27.0
Size: 26
Language: null
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
This repo contains the necessary infrastructure for testing using Drone.
Docker version 17.06 or higher and Docker Compose must be installed.
Docker Compose is a tool for defining and running multi-container Docker applications. To learn more about Compose refer to the documentation.
The docker-compose.yml file defines the docker configuration for our Drone application. The docker-compose CLI lets you manage your application life-cycle.
h drone@lampsrv9.epfl.ch
dotty-drone/drone/
cker-compose up --force-recreate -d
force-recreate
recreates containers even if their configuration and image haven't changed.
d
runs containers in the background and prints new container names.
http://tresormon.epfl.ch/munin/epfl.ch/lampsrv9.epfl.ch/cpu.html
The Dotty repo contains a .drone.yml file that contains the necessary settings for drone to run the CI.
The repo is then activated via the UI on http://dotty-ci.epfl.ch or from the commandline using:
one repo add lampepfl/dotty
Installation instructions for the drone command.
Drone provides the ability to store sensitive information such as passwords.
Secrets are loaded as environment variables. For example the secret named sonatype_user
can be
accessed via "$SONATYPE_USER"
. Use lower case to name your secrets and upper case to access their
value.
You can add secrets to a build via the UI on http://dotty-ci.epfl.ch or from the command line using:
one secret add --repository=lampepfl/dotty --name=<name> --value=<value>
This docker image is set up in order to run the tests for Dotty. It is currently pushed to lampepfl/dotty on Docker hub.
To build the image, simply:
dotty-docker
cker build --no-cache -t lampepfl/dotty:$(date +%F) .
cker login
cker push lampepfl/dotty:$(date +%F)
The new image should now appear in https://hub.docker.com/r/lampepfl/dotty/tags/. The next step is to open a PR againts https://github.com/lampepfl/dotty to change the tag of the docker image in .drone.yml.