From 5662bce754f78fcb81898cbc4eb76c589533361e Mon Sep 17 00:00:00 2001 From: James Swineson Date: Fri, 17 Apr 2020 04:31:28 -0700 Subject: [PATCH] do not upload softlink --- README.md | 15 ++++++++++++++- azure-pipelines.yaml | 4 +++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 582a954..0e6c92b 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,26 @@ This is the [RIPE Atlas software probe](https://atlas.ripe.net/docs/software-pro ## Running +First we start the container: + ```shell -docker run \ +docker run -d \ --restart=unless-stopped \ --memory=256m \ --cap-add=SYS_ADMIN --cap-add=CAP_NET_RAW --cap-add=CAP_CHOWN \ --mount type=tmpfs,destination=/var/atlasdata \ --mount type=bind,src=/var/atlas-probe/etc,dst=/var/atlas-probe/etc \ --mount type=bind,src=/var/atlas-probe/status,dst=/var/atlas-probe/status \ + --name ripe-atlas \ jamesits/ripe-atlas:latest ``` + +Then we fetch the generated public key: + +``` +cat /var/atlas-probe/etc/probe_key.pub +``` + +[Register](https://atlas.ripe.net/apply/swprobe/) the probe with your public key. + + diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 8011bad..91c4fab 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -47,6 +47,8 @@ jobs: docker images --digests ripe-atlas BUILDER_IMAGE_ID=$(docker ps -a --format="{{.ID}}" --filter="label=image=ripe-atlas-builder" --filter="status=exited" --latest) docker cp "$BUILDER_IMAGE_ID":/root /tmp + rm -rf /tmp/root/atlasswprobe-*-work + rm -rf /tmp/root/atlasswprobe-*/var/atlas-probe/data cp -r /tmp/root/atlasswprobe* ${BUILD_ARTIFACTSTAGINGDIRECTORY} displayName: "Build image" @@ -55,7 +57,7 @@ jobs: pathtoPublish: '$(Build.ArtifactStagingDirectory)' artifactName: 'deb' parallel: true - parallelCount: 10 + parallelCount: 20 - task: Docker@1 displayName: "Docker login"