Skip to content
Snippets Groups Projects
.gitlab-ci.yml 525 B
Newer Older
  • Learn to ignore specific revisions
  • ale's avatar
    ale committed
    include: "https://git.autistici.org/pipelines/containers/raw/master/common.yml"
    
    ale's avatar
    ale committed
    
    # test the newly built container before releasing it.
    test:
    
    ale's avatar
    ale committed
      stage: container-test
    
      image: registry.git.autistici.org/pipelines/images/test/float-podman-runner:master
      tags: [podman]
    
    ale's avatar
    ale committed
      variables:
        APACHE_PORT: 8080
    
        SITE_URL: "http://localhost:8080"
      before_script:
        - echo -n "$CI_JOB_TOKEN" | podman login -u gitlab-ci-token --password-stdin $CI_REGISTRY
    
    ale's avatar
    ale committed
      script:
    
        - with-container --expose=8080 $IMAGE_TAG ./docker/test.sh