Skip to content
Snippets Groups Projects
Verified Commit e6ad5205 authored by David Hoese's avatar David Hoese
Browse files

Add initial source files and basic CI config

parents
No related branches found
No related tags found
No related merge requests found
Pipeline #11528 passed
# Define environment variables for all stages
#variables:
# # Tell docker images where the host docker daemon is
# # and how to talk to it
# DOCKER_TLS_CERTDIR: ""
# DOCKER_HOST: "tcp://docker:2375"
#
## Define a stage that always runs before all others (.pre)
#build ci:
# stage: .pre
# image: docker:19.03.1
# tags:
# - ssec_shared
# services:
# - docker:19.03.1-dind
# script:
# - docker login --username $CI_REGISTRY_USER --password $CI_REGISTRY_PASSWORD $CI_REGISTRY
# - cd ci
# - docker build --tag $CI_REGISTRY_IMAGE .
# - docker push $CI_REGISTRY_IMAGE
# rules:
# - changes:
# - ci/Dockerfile
# - ci/requirements.txt
# when: always
# - if: $BUILD_CI_IMAGE
# when: always
# Define stage that builds HTML and uploads the website
python_tests:
image: python:3.8-alpine
tags:
- ssec_shared
script:
- python my_utils.py
"""Helper methods that aren't actually that helpful.
Just an example.
"""
def print_hello():
print("Hello World")
def print_message(msg):
print(f"Message: {msg}")
if __name__ == "__main__":
import sys
sys.exit(print_hello())
#include <stdio.h>
int main() {
printf("Hello, World!");
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment