gitlab-ci: include flags to make reproducible builds

* https://github.com/golang/go/issues/33772
This commit is contained in:
Hans-Christoph Steiner 2020-07-16 20:09:20 +02:00
parent 1318b6a9ec
commit 51f2c026fd
No known key found for this signature in database
GPG key ID: 3E177817BA1B9BFA
2 changed files with 10 additions and 7 deletions

3
Vagrantfile vendored
View file

@ -7,7 +7,8 @@ configfile = YAML.load_file(File.join(srvpath, "/.gitlab-ci.yml"))
remote_url = 'https://git.torproject.org/pluggable-transports/snowflake.git'
# set up essential environment variables
env = configfile['android']['variables']
env = configfile['variables']
env = env.merge(configfile['android']['variables'])
env['CI_PROJECT_DIR'] = '/builds/tpo/anti-censorship/pluggable-transports/snowflake'
env_file = Tempfile.new('env')
File.chmod(0644, env_file.path)