Unverified Commit 947ba563 authored by Luca Cinquini's avatar Luca Cinquini Committed by GitHub
Browse files

Merge pull request #98 from ESGF/issue/97/publisher-gcc-missing

Fix publisher build
parents 3eeb84b9 5c3e28d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,4 +4,4 @@ ESGF software stack as Docker images.

## Documentation

For documentation, please visit [cedadev.github.io/esgf-docker](https://cedadev.github.io/esgf-docker).
For documentation, please visit [esgf.github.io/esgf-docker](https://esgf.github.io/esgf-docker).
+2 −2
Original line number Diff line number Diff line
@@ -7,10 +7,10 @@
FROM alpine

# Install gomplate (for templating) into the bin directory
ARG GOMPLATE_VERSION=2.8.0
ARG GOMPLATE_VERSION=3.1.0
RUN apk --no-cache add curl && \
    mkdir -p /esg/bin && \
    curl -o /esg/bin/gomplate -fsSL https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_linux-amd64-slim && \
    curl -o /esg/bin/gomplate -fsSL https://github.com/hairyhenderson/gomplate/releases/download/v${GOMPLATE_VERSION}/gomplate_linux-amd64-slim && \
    chmod 755 /esg/bin/gomplate
# Copy the scripts into the bin directory
COPY ./scripts  /esg/bin
+1 −3
Original line number Diff line number Diff line
@@ -52,15 +52,13 @@ fetch-certificate
### Generate map files

```sh
esgprep mapfile --project test /esg/data/test
ls -l mapfiles
esgmapfile --project test /esg/data/test
```

### Publish to the PostgreSQL database

```sh
esgpublish --project test --map mapfiles/test.test.map --service fileservice
esglist_datasets test
```

### Publish to the TDS
+1 −1
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ The following procedure can be used to manually test an ESGF node installation u
		* username=rootAdmin
		* password=<value from cat $ESGF_CONFIG/secrets/rootadmin-password>

* Test publishing a test dataset following the instructions at [Data Publishing](/usage/publishing/)
* Test publishing a test dataset following the instructions at [Data Publishing](../publishing/)

### Automatic Testing

+1 −1
Original line number Diff line number Diff line
@@ -127,7 +127,7 @@ $ kubectl exec -it "$PUBLISHER_POD" /usr/local/bin/docker-entrypoint.sh bash
# Fetch a certificate
[publisher] $ fetch-certificate
# Publish the data
[publisher] $ esgprep mapfile --project test /esg/data/test
[publisher] $ esgmapfile --project test /esg/data/test
[publisher] $ esgpublish --project test --map mapfiles/test.test.map --service fileservice
[publisher] $ esgpublish --project test --map mapfiles/test.test.map --service fileservice --noscan --thredds
[publisher] $ esgpublish --project test --map mapfiles/test.test.map --service fileservice --noscan --publish
Loading