GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docker-java/circle.sh at main · docker-java/docker-java

Expand file tree

/

circle.sh

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
executable file
·
45 lines (36 loc) · 1.41 KB
/

circle.sh

Copy path

File metadata and controls

executable file
·
45 lines (36 loc) · 1.41 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#!/bin/bash -ex
case "$1" in
pre_machine)
# copy certificates to default directory ~/.docker
mkdir .docker
cp $CIRCLE_PROJECT_REPONAME/etc/certs/* .docker
# configure docker daemon to use SSL and provide the path to the certificates
docker_opts='DOCKER_OPTS="$DOCKER_OPTS -H tcp://127.0.0.1:2376 --tlsverify --tlscacert='$HOME'/.docker/ca.pem --tlscert='$HOME'/.docker/server-cert.pem --tlskey='$HOME'/.docker/server-key.pem"'
sudo sh -c "echo '$docker_opts' >> /etc/default/docker"
# debug output
cat /etc/default/docker
ls -la $HOME/.docker
;;
post_machine)
# fix permissions on docker.log so it can be collected as an artifact
sudo chown ubuntu:ubuntu /var/log/upstart/docker.log
# validate that docker is working
docker version
;;
dependencies)
mvn clean install -T 2 -Dmaven.javadoc.skip=true -DskipTests=true -B -V
;;
test)
mvn clean verify
;;
collect_artifacts)
# collect artifacts into the artifacts dir
cp target/*.jar $CIRCLE_ARTIFACTS
;;
collect_test_reports)
mkdir -p $CIRCLE_TEST_REPORTS/surefire
mkdir -p $CIRCLE_TEST_REPORTS/failsafe
cp target/surefire-reports/TEST-*.xml $CIRCLE_TEST_REPORTS/surefire
cp target/failsafe-reports/TEST-*.xml $CIRCLE_TEST_REPORTS/failsafe
;;
esac
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.